hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lei liu <liulei...@gmail.com>
Subject NullPointerException when start datanode
Date Mon, 30 Sep 2013 08:00:38 GMT
I use CDH-4.3.1, When  I start datanode, there are below error:

2013-09-26 17:57:07,803 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Opened info server at
0.0.0.0:40075
2013-09-26 17:57:07,814 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: dfs.webhdfs.enabled = false
2013-09-26 17:57:07,814 INFO org.apache.hadoop.http.HttpServer: Jetty bound
to port 40075
2013-09-26 17:57:07,814 INFO org.mortbay.log: jetty-6.1.26.cloudera.2
2013-09-26 17:57:08,129 INFO org.mortbay.log: Started
SelectChannelConnector@0.0.0.0:40075
2013-09-26 17:57:08,643 INFO org.apache.hadoop.ipc.Server: Starting Socket
Reader #1 for port 40020
2013-09-26 17:57:08,698 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Opened IPC server at /
0.0.0.0:40020
2013-09-26 17:57:08,710 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Refresh request received
for nameservices: haosong-hadoop
2013-09-26 17:57:08,748 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Starting BPOfferServices
for nameservices: haosong-hadoop
2013-09-26 17:57:08,784 WARN org.apache.hadoop.hdfs.server.common.Util:
Path /home/haosong.hhs/develop/soft/hadoop-2.0.0-cdh4.3.1/data should be
specified as a URI in configuration files. Please update hdfs configuration.
2013-09-26 17:57:08,785 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Block pool <registering>
(storage id unknown) service to /10.232.98.30:7000 starting to offer service
2013-09-26 17:57:08,785 WARN org.apache.hadoop.hdfs.server.common.Util:
Path /home/haosong.hhs/develop/soft/hadoop-2.0.0-cdh4.3.1/data should be
specified as a URI in configuration files. Please update hdfs configuration.
2013-09-26 17:57:08,786 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Block pool <registering>
(storage id unknown) service to /10.232.98.33:7000 starting to offer service
2013-09-26 17:57:08,896 INFO org.apache.hadoop.ipc.Server: IPC Server
Responder: starting
2013-09-26 17:57:08,898 INFO org.apache.hadoop.ipc.Server: IPC Server
listener on 40020: starting
2013-09-26 17:57:09,239 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Receiving
BP-78625276-10.232.98.30-1376034343336:blk_-2874307426466435275_16431304
src: /10.232.98.33:42654 dest: /10.232.98.33:40010
2013-09-26 17:57:09,239 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Receiving
BP-78625276-10.232.98.30-1376034343336:blk_5332252262254683952_16431307
src: /10.232.98.30:47301 dest: /10.232.98.33:40010
2013-09-26 17:57:09,239 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Receiving
BP-78625276-10.232.98.30-1376034343336:blk_-7540820026406349432_16431305
src: /10.232.98.30:47300 dest: /10.232.98.33:40010
2013-09-26 17:57:09,239 INFO
org.apache.hadoop.hdfs.server.datanode.DataNode: Receiving
BP-78625276-10.232.98.30-1376034343336:blk_-5489298128750533734_16431306
src: /10.232.98.33:42655 dest: /10.232.98.33:40010
2013-09-26 17:57:09,247 INFO org.apache.hadoop.hdfs.server.common.Storage:
Lock on /disk6/haosong-cdh4/data/in_use.lock acquired by nodename
24785@dw33.kgb.sqa.cm4
2013-09-26 17:57:09,271 ERROR
org.apache.hadoop.hdfs.server.datanode.DataNode:
dw33.kgb.sqa.cm4:40010:DataXceiver error processing WRITE_BLOCK operation
src: /10.232.98.33:42655 dest: /10.232.98.33:40010
java.lang.NullPointerException
        at
org.apache.hadoop.hdfs.server.datanode.BlockReceiver.<init>(BlockReceiver.java:159)
        at
org.apache.hadoop.hdfs.server.datanode.DataXceiver.writeBlock(DataXceiver.java:452)
        at
org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opWriteBlock(Receiver.java:103)
        at
org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:67)
        at
org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:222)
        at java.lang.Thread.run(Thread.java:662)
2013-09-26 17:57:09,271 ERROR
org.apache.hadoop.hdfs.server.datanode.DataNode:
dw33.kgb.sqa.cm4:40010:DataXceiver error processing WRITE_BLOCK operation
src: /10.232.98.33:42654 dest: /10.232.98.33:40010
java.lang.NullPointerException
        at
org.apache.hadoop.hdfs.server.datanode.BlockReceiver.<init>(BlockReceiver.java:159)
        at
org.apache.hadoop.hdfs.server.datanode.DataXceiver.writeBlock(DataXceiver.java:452)
        at
org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opWriteBlock(Receiver.java:103)
        at
org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:67)
        at
org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:222)
        at java.lang.Thread.run(Thread.java:662)
2013-09-26 17:57:09,271 ERROR
org.apache.hadoop.hdfs.server.datanode.DataNode:
dw33.kgb.sqa.cm4:40010:DataXceiver error processing WRITE_BLOCK operation
src: /10.232.98.30:47300 dest: /10.232.98.33:40010
java.lang.NullPointerException
        at
org.apache.hadoop.hdfs.server.datanode.BlockReceiver.<init>(BlockReceiver.java:159)
        at
org.apache.hadoop.hdfs.server.datanode.DataXceiver.writeBlock(DataXceiver.java:452)
        at
org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opWriteBlock(Receiver.java:103)
        at
org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:67)
        at
org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:222)
        at java.lang.Thread.run(Thread.java:662)



Why is there this error?

Thanks,

LiuLei

Mime
View raw message