Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17357

PerformanceEvaluation parameters parsing triggers NPE.

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      When using wrong parameters, PE triggers an NPE. Should not

      @hbasetest1:~# hbase pe --nomapred
      16/12/21 16:38:50 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
      java.lang.NullPointerException
      	at java.util.TreeMap.getEntry(TreeMap.java:342)
      	at java.util.TreeMap.get(TreeMap.java:273)
      	at org.apache.hadoop.hbase.PerformanceEvaluation.determineCommandClass(PerformanceEvaluation.java:2145)
      	at org.apache.hadoop.hbase.PerformanceEvaluation.run(PerformanceEvaluation.java:2127)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
      	at org.apache.hadoop.hbase.PerformanceEvaluation.main(PerformanceEvaluation.java:2150)
      

        Attachments

        1. HBASE-17357.patch
          1 kB
          Dave Navarro
        2. HBASE-17357-1.patch
          1 kB
          Dave Navarro

          Activity

            People

            • Assignee:
              dnavarro Dave Navarro
              Reporter:
              jmspaggi Jean-Marc Spaggiari
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: