hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9649) HFilePrettyPrinter should not throw a NPE if FirstKey or LastKey is null.
Date Tue, 24 Sep 2013 18:46:06 GMT
Jean-Marc Spaggiari created HBASE-9649:
------------------------------------------

             Summary: 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
            Reporter: Jean-Marc Spaggiari
            Assignee: Jean-Marc Spaggiari


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

Mime
View raw message