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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development