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

PerformanceEvaluation should provide user friendly hint when client threads argument is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      I tried to run this command:

      hbase pe --rows=10000 --nomapred --valueSize=2000000 sequentialWrite

      java.util.NoSuchElementException
      	at java.util.LinkedList.removeFirst(LinkedList.java:270)
      	at java.util.LinkedList.remove(LinkedList.java:685)
      	at org.apache.hadoop.hbase.PerformanceEvaluation.parseOpts(PerformanceEvaluation.java:2077)
      	at org.apache.hadoop.hbase.PerformanceEvaluation.run(PerformanceEvaluation.java:2122)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
      	at org.apache.hadoop.hbase.PerformanceEvaluation.main(PerformanceEvaluation.java:2159)
      

      Number of client threads argument was missing.
      PerformanceEvaluation should print user friendly message informing user of the missing argument.

      Attachments

        1. HBASE-16122-v2.master.patch
          4 kB
          Konstantin Ryakhovskiy

        Activity

          People

            ryakhovskiy.k Konstantin Ryakhovskiy
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: