Hello,

You need to remove the 0.19.0 jars and copy your cluster version,
Hadoop/Hbase-0.19.x jars in {$HAMA_HOME}/lib folder. And, You also
need to rebuild the Hama.

AFAIK, there is no release of Hadoop 0.19.3. So I tested using the
Hadoop 0.19.2 and Hbase 0.19.3.

[edw...@udanax hbase-0.19.3]# cp hbase-0.19.3**.jar
/usr/workspace/hama-trunk/lib/
[edw...@udanax hbase-0.19.3]# cp ../hadoop-0.19.2/hadoop-0.19.2-**.jar
/usr/workspace/hama-trunk/lib/
[edw...@udanax hama-trunk]# rm -rf lib/h**-0.19.0**.jar
[edw...@udanax hama-trunk]# ant clean package
[edw...@udanax hama-trunk]# bin/hama shell
Hama > a = Matrix.Random 10 10;
it is a RandMatrix operation, [rows=10], [columns=10].
09/09/09 16:36:38 INFO hama.AbstractMatrix: Initializing the matrix storage.
09/09/09 16:36:44 INFO hama.AbstractMatrix: Create Matrix DenseMatrix_randwoast
09/09/09 16:36:44 INFO hama.AbstractMatrix: Create the 10 * 10 random
matrix : DenseMatrix_randwoast
a =
org.apache.hama.densemat...@fe748f
Hama >

Thanks.

On Wed, Sep 9, 2009 at 3:50 PM, Zohar, Nir<[email protected]> wrote:
> Hi,
>
> I'm new to Hama and try to run some basic command from the shell as
> written in the getting started.
> I'm using both HBase and Hadoop version 19.3.x.
> The error attached below.
>
> Can you assist?
>
> Thanks,
> Nir.
>
> #####################
>
> Hama > a = matrix.random 10 10;
> it is a RandMatrix operation, [rows=10], [columns=10].
> 09/09/08 13:21:14 INFO client.HConnectionManager$TableServers: getMaster
> attempt 0 of 10 failed; retrying after sleep of 2000
> org.apache.hadoop.hbase.ipc.HBaseRPC$VersionMismatch: Protocol
> org.apache.hadoop.hbase.ipc.HMasterInterface version mismatch. (client =
> 15, server = 16)
>        at
> org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:472)
>        at
> org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:443)
>        at
> org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:491)
>        at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster
> (HConnectionManager.java:204)
>        at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72)
>        at
> org.apache.hama.AbstractMatrix.setConfiguration(AbstractMatrix.java:101)
>        at org.apache.hama.DenseMatrix.<init>(DenseMatrix.java:90)
>        at org.apache.hama.DenseMatrix.random(DenseMatrix.java:208)
>        at
> org.apache.hama.shell.execution.RandMatrixOperation.operate(RandMatrixOp
> eration.java:52)
>        at
> org.apache.hama.shell.execution.EvalExpression.execute(EvalExpression.ja
> va:48)
>        at
> org.apache.hama.shell.HamaShellParser.processScript(HamaShellParser.java
> :85)
>        at
> org.apache.hama.shell.parser.script.HamaScriptParser.parse(HamaScriptPar
> ser.java:37)
>        at
> org.apache.hama.shell.HamaShellParser.parseContOnError(HamaShellParser.j
> ava:169)
>        at org.apache.hama.shell.HamaShell.run(HamaShell.java:67)
>        at org.apache.hama.shell.HamaShell.main(HamaShell.java:89)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.hadoop.util.RunJar.main(RunJar.java:165)
>        at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>        at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
>
>



-- 
Best Regards, Edward J. Yoon @ NHN, corp.
[email protected]
http://blog.udanax.org

Reply via email to