Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-442

dfsthroughput in test.jar throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.1
    • 0.23.1
    • test
    • None
    • 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)
      

      Attachments

        1. HDFS-442.patch
          0.9 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            rramya Ramya Sunil
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: