Return-Path: X-Original-To: apmail-incubator-hama-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36AAF291C for ; Thu, 21 Apr 2011 13:35:28 +0000 (UTC) Received: (qmail 87380 invoked by uid 500); 21 Apr 2011 13:35:28 -0000 Delivered-To: apmail-incubator-hama-user-archive@incubator.apache.org Received: (qmail 87330 invoked by uid 500); 21 Apr 2011 13:35:27 -0000 Mailing-List: contact hama-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-user@incubator.apache.org Delivered-To: mailing list hama-user@incubator.apache.org Received: (qmail 87322 invoked by uid 99); 21 Apr 2011 13:35:27 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 13:35:27 +0000 Received: from localhost (HELO mail-iw0-f175.google.com) (127.0.0.1) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 13:35:27 +0000 Received: by iwn10 with SMTP id 10so1596524iwn.6 for ; Thu, 21 Apr 2011 06:35:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.123.1 with SMTP id n1mr6936752ibr.67.1303392926267; Thu, 21 Apr 2011 06:35:26 -0700 (PDT) Received: by 10.231.19.3 with HTTP; Thu, 21 Apr 2011 06:35:26 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Apr 2011 22:35:26 +0900 Message-ID: Subject: Re: hama run From: "Edward J. Yoon" To: hama-user@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Is there a reason why do you want to use hama 0.1 branch? 2011/4/20 Egor Androsov : > Hello. I can not run > > Hama > a =3D matrix.random 10 10; > > > Logs folder, and there can not be found. No magazine! You can not configu= re. > Do not see the error! > Established: > hadoop-0.20.2-CDH3B4 > hbase-0.90.1-CDH3B4 > apache-hama-19514f9 (hama-0.1.0-dev.jar) > > HBase works... > > egor@AEV:~/hbase$ jps > > 4422 SecondaryNameNode > > 4083 NameNode > > 6889 HQuorumPeer > > 4250 DataNode > > 4656 TaskTracker > > 4493 JobTracker > > 6957 HMaster > > 7152 HRegionServer > > 12151 Jps > > egor@AEV:~/hbase$ netstat -apn |grep 60000 > > (=D0=9D=D0=B5 =D0=B2=D1=81=D0=B5 =D0=BF=D1=80=D0=BE=D1=86=D0=B5=D1=81=D1= =81=D1=8B =D0=B1=D1=8B=D0=BB=D0=B8 =D0=B8=D0=B4=D0=B5=D0=BD=D1=82=D0=B8=D1= =84=D0=B8=D1=86=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D1=8B, =D0=B8=D0=BD=D1= =84=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D1=8F =D0=BE =D0=BF=D1=80=D0=BE=D1= =86=D0=B5=D1=81=D1=81=D0=B0=D1=85 =D0=B1=D0=B5=D0=B7 =D0=B2=D0=BB=D0=B0=D0= =B4=D0=B5=D0=BB=D1=8C=D1=86=D0=B0 > > =D0=BD=D0=B5 =D0=B1=D1=83=D0=B4=D0=B5=D1=82 =D0=BE=D1=82=D0=BE=D0=B1=D1= =80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B0, =D0=B2=D0=B0=D0=BC =D0=BD=D1=83=D0=B6=D0= =BD=D1=8B =D0=BF=D1=80=D0=B0=D0=B2=D0=B0 =D1=81=D1=83=D0=BF=D0=B5=D1=80=D0= =BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F (root= ), =D1=87=D1=82=D0=BE=D0=B1=D1=8B =D1=83=D0=B2=D0=B8=D0=B4=D0=B5=D1=82=D1= =8C >> =D0=B2=D1=81=D1=8E =D0=B8=D0=BD=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0= =B8=D1=8E.) > > tcp 0 0 127.0.1.1:60000 0.0.0.0:* LISTEN 6957/java > > tcp 0 0 127.0.1.1:50416 127.0.1.1:60000 ESTABLISHED 7152/java > > tcp 0 0 127.0.1.1:60000 127.0.1.1:50416 ESTABLISHED 6957/java > > egor@AEV:~/hbase$ > > > Help start example in shell, please! > > Hama > a =3D matrix.random 10 10; > > it is a RandMatrix operation, [rows=3D10], [columns=3D10]. > > 11/04/20 13:22:24 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 0 time(s). > > 11/04/20 13:22:25 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 1 time(s). > > 11/04/20 13:22:26 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 2 time(s). > > 11/04/20 13:22:27 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 3 time(s). > > 11/04/20 13:22:28 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 4 time(s). > > 11/04/20 13:22:29 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 5 time(s). > > 11/04/20 13:22:30 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 6 time(s). > > 11/04/20 13:22:31 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 7 time(s). > > 11/04/20 13:22:32 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 8 time(s). > > 11/04/20 13:22:33 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 9 time(s). > > 11/04/20 13:22:33 INFO client.HConnectionManager$TableServers: getMaster >> attempt 0 of 10 failed; retrying after sleep of 2000 > > java.net.ConnectException: Call to localhost/127.0.0.1:60000 failed on >> connection exception: java.net.ConnectException: Connection refused > > at >> org.apache.hadoop.hbase.ipc.HBaseClient.wrapException(HBaseClient.java:7= 28) > > at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:704) > > at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:321) > > at $Proxy0.getProtocolVersion(Unknown Source) > > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:467) > > 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.(HBaseAdmin.java:72) > > at org.apache.hama.AbstractMatrix.setConfiguration(AbstractMatrix.java:10= 1) > > at org.apache.hama.DenseMatrix.(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) > > Caused by: java.net.ConnectException: Connection refused > > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > > at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) > > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:100) > > at >> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseC= lient.java:304) > > at >> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.access$1700(HBaseClie= nt.java:181) > > at >> org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:8= 05) > > at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:690) > > ... 26 more > > 11/04/20 13:22:36 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 0 time(s). > > 11/04/20 13:22:37 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 1 time(s). > > 11/04/20 13:22:38 INFO ipc.HBaseClass: Retrying connect to server: >> localhost/127.0.0.1:60000. Already tried 2 time(s). > > ^Cegor@AEV:~/hama$ ^C > > egor@AEV:~/hama$ > --=20 Best Regards, Edward J. Yoon http://blog.udanax.org http://twitter.com/eddieyoon