hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-4573) NNThroughputBenchmark throws NPE if fs.default.name is not set
Date Sat, 01 Nov 2008 00:59:44 GMT
NNThroughputBenchmark throws NPE if fs.default.name is not set
--------------------------------------------------------------

                 Key: HADOOP-4573
                 URL: https://issues.apache.org/jira/browse/HADOOP-4573
             Project: Hadoop Core
          Issue Type: Bug
          Components: benchmarks, dfs
            Reporter: Tsz Wo (Nicholas), SZE


Don't specify fs.default.name in hadoop-site.xml, then run NNThroughputBenchmark:
{noformat}
$ ./bin/hadoop org.apache.hadoop.hdfs.NNThroughputBenchmark -op create -threads 10 -files
10000 -filesPerDir 10 -close
08/11/01 00:46:57 ERROR hdfs.NNThroughputBenchmark: java.lang.NullPointerException
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:130)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:150)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
        at org.apache.hadoop.hdfs.NNThroughputBenchmark.<init>(NNThroughputBenchmark.java:107)
        at org.apache.hadoop.hdfs.NNThroughputBenchmark.runBenchmark(NNThroughputBenchmark.java:1122)
        at org.apache.hadoop.hdfs.NNThroughputBenchmark.main(NNThroughputBenchmark.java:1174)

Exception in thread "main" java.lang.NullPointerException
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:130)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:150)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
        at org.apache.hadoop.hdfs.NNThroughputBenchmark.<init>(NNThroughputBenchmark.java:107)
        at org.apache.hadoop.hdfs.NNThroughputBenchmark.runBenchmark(NNThroughputBenchmark.java:1122)
        at org.apache.hadoop.hdfs.NNThroughputBenchmark.main(NNThroughputBenchmark.java:1174)
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message