bin/hbase org.apache.hadoop.io.hfile.HFile -m -f <filename> doesn't have to scan the KVs in the file
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)
I just committed this. Thanks Prakash.
Somehow the RB integration is borked. Patch looks good, committing since this is trivial.
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.
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?