Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - Hadoop-1.1.1 namenode and datanode version mismatch


+
Mark Grover 2012-12-13, 06:33
Copy link to this message
-
Re: Hadoop-1.1.1 namenode and datanode version mismatch
Harsh J 2012-12-13, 06:54
Hi,

Did you run a build on the tarball before using it, by any chance?

On Thu, Dec 13, 2012 at 12:03 PM, Mark Grover
<[EMAIL PROTECTED]> wrote:
> Hi all,
> I downloaded Hadoop-1.1.1 tar ball from one of the mirrors and
> configured it in psuedo-distributed mode.
>
> Namenode starts fine but datanode fails to start because of version mismatch.
>
> The value of hadoop.relaxed.worker.version.check property (related to
> https://issues.apache.org/jira/browse/HADOOP-8209) doesn't help in
> this case since the major+minor versions don't match. Sounds like a
> bug to me, we seem to have missed changing the datanode version before
> the release. Can someone please confirm?
>
> Here is the error:
> 2012-12-12 22:17:42,251 ERROR
> org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException:
> Incompatible versions: namenode version 1.1.1 revision 1411108
> datanode version 1.1.2-SNAPSHOT revision  and
> hadoop.relaxed.worker.version.check is enabled
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.handshake(DataNode.java:632)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:376)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:309)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1651)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1590)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1608)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1734)
>         at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1751)
>
>
>
>
> Thanks,
> Mark

--
Harsh J
+
Mark Grover 2012-12-13, 20:15
+
Harsh J 2012-12-14, 00:44
+
Mark Grover 2012-12-14, 01:11
+
Zizon Qiu 2012-12-13, 06:53