You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Manal Helal <ma...@gmail.com> on 2013/07/06 22:39:36 UTC
hadoop & mahout
Hi,
I installed hadoop 1.1.2 on 4 nodes (one is CentOS and the rest are ubuntu)
and I successfully did the word count example.
Then I installed mahout and compiled it and defined the environment
vatiable MAHOUT_HOME
then the hadoop in practice repository (
git://github.com/alexholmes/hadoop-book.git)
everything in the monitors look normal, but I can not run any example: such
as
$bin/run.sh com.manning.hip.ch1.InvertedIndexMapReduce \
/tmp/file1.txt /tmp/file2.txt output
and $ bin/run.sh com.manning.hip.ch9.Synthetic2DClusteringPrep
test-data/ch9/synthetic.txt syn-seq
or all commands throw this exception,
Exception in thread "main" org.apache.hadoop.ipc.RPC$VersionMismatch:
Protocol org.apache.hadoop.hdfs.protocol.ClientProtocol version mismatch.
(client = 63, server = 61)
all nodes use java 1.6.0-27, the centos node was 1.6.0-24 I guess but I
removed it now,
I have found thread talking about hdfs version mismatch but I used the same
hadoop version on all nodes nothing specific about hdfs, and these
applications on one node only, and removed the only difference in java
version I have found,
I appreciate your help very much,
thanks in advance
--
Kind Regards,
Manal Helal
Re: hadoop & mahout
Posted by Suneel Marthi <su...@yahoo.com>.
I would start with looking at the DFSClient.jar version in ur installation.
________________________________
From: Manal Helal <ma...@gmail.com>
To: user@mahout.apache.org
Sent: Saturday, July 6, 2013 4:39 PM
Subject: hadoop & mahout
Hi,
I installed hadoop 1.1.2 on 4 nodes (one is CentOS and the rest are ubuntu)
and I successfully did the word count example.
Then I installed mahout and compiled it and defined the environment
vatiable MAHOUT_HOME
then the hadoop in practice repository (
git://github.com/alexholmes/hadoop-book.git)
everything in the monitors look normal, but I can not run any example: such
as
$bin/run.sh com.manning.hip.ch1.InvertedIndexMapReduce \
/tmp/file1.txt /tmp/file2.txt output
and $ bin/run.sh com.manning.hip.ch9.Synthetic2DClusteringPrep
test-data/ch9/synthetic.txt syn-seq
or all commands throw this exception,
Exception in thread "main" org.apache.hadoop.ipc.RPC$VersionMismatch:
Protocol org.apache.hadoop.hdfs.protocol.ClientProtocol version mismatch.
(client = 63, server = 61)
all nodes use java 1.6.0-27, the centos node was 1.6.0-24 I guess but I
removed it now,
I have found thread talking about hdfs version mismatch but I used the same
hadoop version on all nodes nothing specific about hdfs, and these
applications on one node only, and removed the only difference in java
version I have found,
I appreciate your help very much,
thanks in advance
--
Kind Regards,
Manal Helal