hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 林坚 <linjiansu...@gmail.com>
Subject HDFS RAID with NullPointerException
Date Mon, 17 Oct 2011 11:15:34 GMT
Dear Hadoopers,

I am trying to setup a hdfs(0.21.0) with RAID in my cluster. But I
receive the following error message in my raid log again and again. It
seems that the error is related to the wrong setting of
"destPath"(PolicyInfo.java:198). But I don't know how to make it
correct (I have tried to add an additional property call destPath in
raid.xml, but it doesn't work).
Does anyone have a idea about this?

2011-10-17 09:24:11,814 ERROR org.apache.hadoop.raid.RaidNode:
java.lang.       NullPointerException
   at org.apache.hadoop.io.Text.encode(Text.java:396)
   at org.apache.hadoop.io.Text.encode(Text.java:377)
   at org.apache.hadoop.io.Text.writeString(Text.java:417)
   at org.apache.hadoop.raid.protocol.PolicyInfo.write(PolicyInfo.java:198)
   at org.apache.hadoop.io.serializer.WritableSerialization$WritableSerializer.serialize(WritableSerialization.java:100)
   at org.apache.hadoop.io.serializer.WritableSerialization$WritableSerializer.serialize(WritableSerialization.java:84)
   at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:1019)
   at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:990)
   at org.apache.hadoop.raid.DistRaid.setup(DistRaid.java:328)
   at org.apache.hadoop.raid.DistRaid.doDistRaid(DistRaid.java:281)
   at org.apache.hadoop.raid.RaidNode$TriggerMonitor.doProcess(RaidNode.java:
 432)
   at org.apache.hadoop.raid.RaidNode$TriggerMonitor.run(RaidNode.java:314)
   at java.lang.Thread.run(Thread.java:662)

Thanks in advanced.
-- 
Regards,

LIN, Jian

Mime
View raw message