public int getRecordNum() {
		try {
			RandomAccessFile f = new RandomAccessFile(path, "r");
			while (f.readLine() != null) {
				length++;
			}
			recordNum = (int) (length / job.conf.RECORD_SIZE + 1);
			f.close();
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return this.recordNum;
	}