[ https://issues.apache.org/jira/browse/HBASE-9649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777269#comment-13777269 ]
Hudson commented on HBASE-9649: ------------------------------- SUCCESS: Integrated in hbase-0.96 #91 (See [https://builds.apache.org/job/hbase-0.96/91/]) HBASE-9649 HFilePrettyPrinter should not throw a NPE if FirstKey or LastKey is null (Jean-Marc Spaggiari) (jmhsieh: rev 1526112) * /hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java * /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java > HFilePrettyPrinter should not throw a NPE if FirstKey or LastKey is null. > ------------------------------------------------------------------------- > > Key: HBASE-9649 > URL: https://issues.apache.org/jira/browse/HBASE-9649 > Project: HBase > Issue Type: Bug > Components: util > Affects Versions: 0.95.2 > Reporter: Jean-Marc Spaggiari > Assignee: Jean-Marc Spaggiari > Fix For: 0.98.0, 0.96.0 > > Attachments: HBASE-9649-v0-trunk.patch, HBASE-9649-v1-trunk.patch > > > Should instead "simply" display "null"... > {code} > /usr/lib/hbase/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -m -s -v -f > /hbase/compound3/5ab5fdfcf2aff2633e1d6d5089c96aa2/d/fca0882dc7624342a8f4fce4b89420ff > 13/09/24 12:33:40 INFO util.ChecksumType: Checksum using > org.apache.hadoop.util.PureJavaCrc32 > Scanning -> > /hbase/compound3/5ab5fdfcf2aff2633e1d6d5089c96aa2/d/fca0882dc7624342a8f4fce4b89420ff > 13/09/24 12:33:41 INFO hfile.CacheConfig: Allocating LruBlockCache with > maximum size 2.9g > 13/09/24 12:33:41 ERROR metrics.SchemaMetrics: Inconsistent configuration. > Previous configuration for using table name in metrics: true, new > configuration: false > 13/09/24 12:33:41 WARN snappy.LoadSnappy: Snappy native library is available > 13/09/24 12:33:41 INFO util.NativeCodeLoader: Loaded the native-hadoop > library > 13/09/24 12:33:41 INFO snappy.LoadSnappy: Snappy native library loaded > 13/09/24 12:33:41 INFO compress.CodecPool: Got brand-new decompressor > Block index size as per heapsize: 336 > Exception in thread "main" java.lang.NullPointerException > at org.apache.hadoop.hbase.KeyValue.keyToString(KeyValue.java:716) > at > org.apache.hadoop.hbase.io.hfile.AbstractHFileReader.toStringFirstKey(AbstractHFileReader.java:138) > at > org.apache.hadoop.hbase.io.hfile.AbstractHFileReader.toString(AbstractHFileReader.java:149) > at > org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.printMeta(HFilePrettyPrinter.java:318) > at > org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.processFile(HFilePrettyPrinter.java:234) > at > org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:189) > at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:756) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira