mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sharath jagannath <sharathjagann...@gmail.com>
Subject Re: Connect to hadoop: failure
Date Wed, 02 Feb 2011 18:07:52 GMT
I am running hadoop in a pseudo-distributed mode:

jps o/p:
2164 JobTracker
2238 TaskTracker
2115 SecondaryNameNode
2015 DataNode
4619 Jps


Thanks,
Sharath

On Wed, Feb 2, 2011 at 10:05 AM, Lokendra Singh <lsingh.969@gmail.com>wrote:

> Hi,
>
> Seems something is wrong with hdfs on your hadoop cluster.
> Can you try running 'jps' on master and slave nodes to check the 'datanode'
> running on slaves and 'namenode', 'secondarynamenode' running on master
>  nodes. You can also check the logs inside $HADOOP_HOME/logs/ for any
> problems with cluster
>
> Regards
> Lokendra
>
>
> On Wed, Feb 2, 2011 at 11:25 PM, sharath jagannath <
> sharathjagannath@gmail.com> wrote:
>
> > Hey All,
> >
> > I am trying the clustering quick-start tutorial but I am not able to
> > connect
> > to the hadoop.
> > Stack trace:
> >
> > HADOOP_CONF_DIR=/Users/sjagannath/hadoop/conf
> > 11/02/02 09:20:13 WARN driver.MahoutDriver: No
> > org.apache.mahout.clustering.syntheticcontrol.canopy.Job.props found on
> > classpath, will use command-line arguments only
> > 11/02/02 09:20:13 INFO canopy.Job: Running with default arguments
> > 11/02/02 09:20:14 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 0 time(s).
> > 11/02/02 09:20:15 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 1 time(s).
> > 11/02/02 09:20:16 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 2 time(s).
> > 11/02/02 09:20:17 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 3 time(s).
> > 11/02/02 09:20:18 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 4 time(s).
> > 11/02/02 09:20:19 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 5 time(s).
> > 11/02/02 09:20:20 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 6 time(s).
> > 11/02/02 09:20:21 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 7 time(s).
> > 11/02/02 09:20:22 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 8 time(s).
> > 11/02/02 09:20:23 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:9002. Already tried 9 time(s).
> > Exception in thread "main" java.net.ConnectException: Call to localhost/
> > 127.0.0.1:9002 failed on connection exception:
> java.net.ConnectException:
> > Connection refused
> > at org.apache.hadoop.ipc.Client.wrapException(Client.java:767)
> > at org.apache.hadoop.ipc.Client.call(Client.java:743)
> > at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
> > at $Proxy0.getProtocolVersion(Unknown Source)
> > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
> > at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106)
> > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207)
> > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170)
> > at
> >
> >
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
> > at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378)
> > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
> > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
> > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
> > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
> > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:180)
> > at
> org.apache.mahout.common.HadoopUtil.overwriteOutput(HadoopUtil.java:38)
> > at
> >
> org.apache.mahout.clustering.syntheticcontrol.canopy.Job.main(Job.java:53)
> > 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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
> > at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
> > at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:184)
> > 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:156)
> > 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
> >
> >
> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
> > at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
> > at
> org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:304)
> > at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176)
> > at org.apache.hadoop.ipc.Client.getConnection(Client.java:860)
> > at org.apache.hadoop.ipc.Client.call(Client.java:720)
> > ... 27 more
> >
> >
> > Any idea how I should resolve it.
> > --
> > Thanks,
> > Sharath
> >
>



-- 
Thanks,
Sharath Jagannath

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message