hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-4573) NNThroughputBenchmark throws NPE if fs.default.name is not set
Date Fri, 22 May 2009 00:47:45 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Philip Zeyliger resolved HADOOP-4573.
-------------------------------------

    Resolution: Duplicate
      Assignee: Philip Zeyliger

Fixed by HADOOP-5687.

> 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
>            Assignee: Philip Zeyliger
>
> 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