Hi, Is there a reason why do you want to use hama 0.1 branch?
2011/4/20 Egor Androsov <[email protected]>: > Hello. I can not run > > Hama > a = matrix.random 10 10; > > > Logs folder, and there can not be found. No magazine! You can not configure. > 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 > > (Не все процессы были идентифицированы, информация о процессах без владельца > > не будет отображена, вам нужны права суперпользователя (root), чтобы увидеть >> всю информацию.) > > 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 = matrix.random 10 10; > > it is a RandMatrix operation, [rows=10], [columns=10]. > > 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:728) > > 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.<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(RandMatrixOperation.java:52) > > at >> org.apache.hama.shell.execution.EvalExpression.execute(EvalExpression.java:48) > > at >> org.apache.hama.shell.HamaShellParser.processScript(HamaShellParser.java:85) > > at >> org.apache.hama.shell.parser.script.HamaScriptParser.parse(HamaScriptParser.java:37) > > at >> org.apache.hama.shell.HamaShellParser.parseContOnError(HamaShellParser.java: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.java:39) > > at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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(HBaseClient.java:304) > > at >> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.access$1700(HBaseClient.java:181) > > at >> org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:805) > > 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$ > -- Best Regards, Edward J. Yoon http://blog.udanax.org http://twitter.com/eddieyoon
