bin/hbase org.apache.hadoop.io.hfile.HFile -m -f <filename> doesn't have to scan the KVs in the file
I agree, this is an oversight. We should add an extra check and skip the scan if not needed. Do you want to submit a patch or do you want me to fix it?
I had put up this diff https://review.cloudera.org/r/1489/ . I am not sure why it didn’t get propagated to the JIRA.
Please feel free to put your own patch and close this issue.
Somehow the RB integration is borked. Patch looks good, committing since this is trivial.
I just committed this. Thanks Prakash.
Integrated in HBase-TRUNK #1721 (See https://hudson.apache.org/hudson/job/HBase-TRUNK/1721/)
HBASE-3476 HFile -m option need not scan key values (Prakash Khemani via Lars George)
This issue was closed as part of a bulk closing operation on 2015-11-20. All issues that have been resolved and where all fixVersions have been released have been closed (following discussions on the mailing list).