Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-442

dfsthroughput in test.jar throws NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.23.1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      On running hadoop jar hadoop-test.jar dfsthroughput OR hadoop org.apache.hadoop.hdfs.BenchmarkThroughput, we get NullPointerException. Below is the stacktrace:

      Exception in thread "main" java.lang.NullPointerException
              at java.util.Hashtable.put(Hashtable.java:394)
              at java.util.Properties.setProperty(Properties.java:143)
              at java.lang.System.setProperty(System.java:731)
              at org.apache.hadoop.hdfs.BenchmarkThroughput.run(BenchmarkThroughput.java:198)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
              at org.apache.hadoop.hdfs.BenchmarkThroughput.main(BenchmarkThroughput.java:229)
      

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Harsh J made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Target Version/s 0.23.1, 0.24.0 [ 12318885, 12317653 ]
        Fix Version/s 0.23.1 [ 12318885 ]
        Resolution Fixed [ 1 ]
        Harsh J made changes -
        Fix Version/s 0.24.0 [ 12317653 ]
        Target Version/s 0.24.0, 0.23.1 [ 12317653, 12318885 ]
        Harsh J made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Harsh J made changes -
        Attachment HDFS-442.patch [ 12504392 ]
        Harsh J made changes -
        Assignee Harsh J [ qwertymaniac ]
        Chris Douglas made changes -
        Fix Version/s 0.20.2 [ 12314204 ]
        Owen O'Malley made changes -
        Field Original Value New Value
        Fix Version/s 0.20.2 [ 12314204 ]
        Fix Version/s 0.20.1 [ 12314048 ]
        Ramya Sunil created issue -

          People

          • Assignee:
            Harsh J
            Reporter:
            Ramya Sunil
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development