You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Wasim Mohammad <wa...@gmail.com> on 2013/03/14 15:03:29 UTC
Re: Shortest path Error
> Hi,
> I have just started with apache giraph. While trying to run shortest
> path example.
>
>
> hadoop jar
> giraph-0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar
> org.apache.giraph.GiraphRunner
> org.apache.giraph.examples.ConnectedComponentsVertex -if
> org.apache.giraph.io.JsonBase64VertexOutputFormat -ip
> /user/bageera/shortestPathsInputGraph/ -of
> org.apache.giraph.io.JsonBase64VertexOutputFormat -op SPOG13 0 -w 3
>
>
> I am getting the following error at master node.
>
> java.lang.Throwable: Child Error
> at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271)
> Caused by: java.io.IOException: Task process exit with nonzero status of 1.
> at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258)
>
>
>
> *syslog logs*
>
> askTracker/bageera/jobcache/job_201303141821_0004/attempt_201303141821_0004_m_000000_0/work
> 2013-03-14 18:40:49,926 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=Nintendo:22181 sessionTimeout=60000 watcher=org.apache.giraph.graph.BspServiceMaster@1a0fba0
> 2013-03-14 18:40:49,935 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server Nintendo/10.129.30.126:22181
> 2013-03-14 18:40:49,936 INFO org.apache.zookeeper.ClientCnxn: Socket connection established to Nintendo/10.129.30.126:22181, initiating session
> 2013-03-14 18:40:50,001 INFO org.apache.zookeeper.ClientCnxn: Session establishment complete on server Nintendo/10.129.30.126:22181, sessionid = 0x13d690633dc0000, negotiated timeout = 600000
> 2013-03-14 18:40:50,003 INFO org.apache.giraph.graph.BspService: process: Asynchronous connection complete.
> 2013-03-14 18:40:50,007 INFO org.apache.giraph.graph.GraphMapper: map: No need to do anything when not a worker
> 2013-03-14 18:40:50,007 INFO org.apache.giraph.graph.GraphMapper: cleanup: Starting for MASTER_ZOOKEEPER_ONLY
> 2013-03-14 18:40:50,106 INFO org.apache.giraph.graph.BspServiceMaster: becomeMaster: First child is '/_hadoopBsp/job_201303141821_0004/_masterElectionDir/Nintendo_00000000000' and my bid is '/_hadoopBsp/job_201303141821_0004/_masterElectionDir/Nintendo_00000000000'
> 2013-03-14 18:40:50,163 INFO org.apache.giraph.comm.netty.NettyServer: NettyServer: Using execution handler with 8 threads after requestFrameDecoder.
> 2013-03-14 18:40:50,169 INFO org.apache.giraph.graph.BspService: process: applicationAttemptChanged signaled
> 2013-03-14 18:40:50,187 INFO org.apache.giraph.comm.netty.NettyServer: start: Started server communication server: Nintendo/10.129.30.126:30000 with up to 16 threads on bind attempt 0 with sendBufferSize = 32768 receiveBufferSize = 524288 backlog = 2
> 2013-03-14 18:40:50,190 INFO org.apache.giraph.comm.netty.NettyClient: NettyClient: Using execution handler with 8 threads after requestEncoder.
> 2013-03-14 18:40:50,193 INFO org.apache.giraph.graph.BspServiceMaster: becomeMaster: I am now the master!
> 2013-03-14 18:40:50,218 INFO org.apache.giraph.graph.BspService: getApplicationAttempt: Node /_hadoopBsp/job_201303141821_0004/_applicationAttemptsDir already exists!
> 2013-03-14 18:40:50,251 WARN org.apache.giraph.graph.BspService: process: Unknown and unprocessed event (path=/_hadoopBsp/job_201303141821_0004/_applicationAttemptsDir/0/_superstepDir, type=NodeChildrenChanged, state=SyncConnected)
> 2013-03-14 18:40:52,936 FATAL org.apache.giraph.graph.GraphMapper: uncaughtException: OverrideExceptionHandler on thread org.apache.giraph.graph.MasterThread, msg = generateVertexInputSplits: Got IOException, exiting...
> java.lang.IllegalStateException: generateVertexInputSplits: Got IOException
> at org.apache.giraph.graph.BspServiceMaster.generateInputSplits(BspServiceMaster.java:268)
> at org.apache.giraph.graph.BspServiceMaster.createInputSplits(BspServiceMaster.java:568)
> at org.apache.giraph.graph.BspServiceMaster.createVertexInputSplits(BspServiceMaster.java:633)
> at org.apache.giraph.graph.MasterThread.run(MasterThread.java:102)
> Caused by: java.io.IOException: No input paths specified in job
> at org.apache.giraph.io.GiraphFileInputFormat.listStatus(GiraphFileInputFormat.java:191)
> at org.apache.giraph.io.GiraphFileInputFormat.listVertexStatus(GiraphFileInputFormat.java:251)
> at org.apache.giraph.io.GiraphFileInputFormat.getVertexSplits(GiraphFileInputFormat.java:322)
> at org.apache.giraph.io.TextVertexInputFormat.getSplits(TextVertexInputFormat.java:61)
> at org.apache.giraph.graph.BspServiceMaster.generateInputSplits(BspServiceMaster.java:266)
> ... 3 more
> 2013-03-14 18:40:52,937 INFO org.apache.giraph.zk.ZooKeeperManager: run: Shutdown hook started.
> 2013-03-14 18:40:52,937 WARN org.apache.giraph.zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown hook kill of the ZooKeeper process.
> 2013-03-14 18:40:53,255 INFO org.apache.giraph.zk.ZooKeeperManager: onlineZooKeeperServers: ZooKeeper process exited with 143 (note that 143 typically means killed)
>
>
>
> This is the most common error people are getting but I am unable to find
> the solution.
> Plz help.
>
> Thanks,
> M.Vasimuddin
>
>
>
Re: Shortest path Error
Posted by Eli Reisman <ap...@gmail.com>.
use -vip or -eip for Vertex or Edge in formats, not -if anymore. Enjoy!
On Thu, Mar 14, 2013 at 7:03 AM, Wasim Mohammad <wa...@gmail.com> wrote:
>
> Hi,
>> I have just started with apache giraph. While trying to run shortest
>> path example.
>>
>>
>> hadoop jar
>> giraph-0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar
>> org.apache.giraph.GiraphRunner
>> org.apache.giraph.examples.ConnectedComponentsVertex -if
>> org.apache.giraph.io.JsonBase64VertexOutputFormat -ip
>> /user/bageera/shortestPathsInputGraph/ -of
>> org.apache.giraph.io.JsonBase64VertexOutputFormat -op SPOG13 0 -w 3
>>
>>
>> I am getting the following error at master node.
>>
>> java.lang.Throwable: Child Error
>> at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271)
>> Caused by: java.io.IOException: Task process exit with nonzero status of 1.
>> at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258)
>>
>>
>>
>> *syslog logs*
>>
>> askTracker/bageera/jobcache/job_201303141821_0004/attempt_201303141821_0004_m_000000_0/work
>> 2013-03-14 18:40:49,926 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=Nintendo:22181 sessionTimeout=60000 watcher=org.apache.giraph.graph.BspServiceMaster@1a0fba0
>> 2013-03-14 18:40:49,935 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server Nintendo/10.129.30.126:22181
>> 2013-03-14 18:40:49,936 INFO org.apache.zookeeper.ClientCnxn: Socket connection established to Nintendo/10.129.30.126:22181, initiating session
>> 2013-03-14 18:40:50,001 INFO org.apache.zookeeper.ClientCnxn: Session establishment complete on server Nintendo/10.129.30.126:22181, sessionid = 0x13d690633dc0000, negotiated timeout = 600000
>> 2013-03-14 18:40:50,003 INFO org.apache.giraph.graph.BspService: process: Asynchronous connection complete.
>> 2013-03-14 18:40:50,007 INFO org.apache.giraph.graph.GraphMapper: map: No need to do anything when not a worker
>> 2013-03-14 18:40:50,007 INFO org.apache.giraph.graph.GraphMapper: cleanup: Starting for MASTER_ZOOKEEPER_ONLY
>> 2013-03-14 18:40:50,106 INFO org.apache.giraph.graph.BspServiceMaster: becomeMaster: First child is '/_hadoopBsp/job_201303141821_0004/_masterElectionDir/Nintendo_00000000000' and my bid is '/_hadoopBsp/job_201303141821_0004/_masterElectionDir/Nintendo_00000000000'
>> 2013-03-14 18:40:50,163 INFO org.apache.giraph.comm.netty.NettyServer: NettyServer: Using execution handler with 8 threads after requestFrameDecoder.
>> 2013-03-14 18:40:50,169 INFO org.apache.giraph.graph.BspService: process: applicationAttemptChanged signaled
>> 2013-03-14 18:40:50,187 INFO org.apache.giraph.comm.netty.NettyServer: start: Started server communication server: Nintendo/10.129.30.126:30000 with up to 16 threads on bind attempt 0 with sendBufferSize = 32768 receiveBufferSize = 524288 backlog = 2
>> 2013-03-14 18:40:50,190 INFO org.apache.giraph.comm.netty.NettyClient: NettyClient: Using execution handler with 8 threads after requestEncoder.
>> 2013-03-14 18:40:50,193 INFO org.apache.giraph.graph.BspServiceMaster: becomeMaster: I am now the master!
>> 2013-03-14 18:40:50,218 INFO org.apache.giraph.graph.BspService: getApplicationAttempt: Node /_hadoopBsp/job_201303141821_0004/_applicationAttemptsDir already exists!
>> 2013-03-14 18:40:50,251 WARN org.apache.giraph.graph.BspService: process: Unknown and unprocessed event (path=/_hadoopBsp/job_201303141821_0004/_applicationAttemptsDir/0/_superstepDir, type=NodeChildrenChanged, state=SyncConnected)
>> 2013-03-14 18:40:52,936 FATAL org.apache.giraph.graph.GraphMapper: uncaughtException: OverrideExceptionHandler on thread org.apache.giraph.graph.MasterThread, msg = generateVertexInputSplits: Got IOException, exiting...
>> java.lang.IllegalStateException: generateVertexInputSplits: Got IOException
>> at org.apache.giraph.graph.BspServiceMaster.generateInputSplits(BspServiceMaster.java:268)
>> at org.apache.giraph.graph.BspServiceMaster.createInputSplits(BspServiceMaster.java:568)
>> at org.apache.giraph.graph.BspServiceMaster.createVertexInputSplits(BspServiceMaster.java:633)
>> at org.apache.giraph.graph.MasterThread.run(MasterThread.java:102)
>> Caused by: java.io.IOException: No input paths specified in job
>> at org.apache.giraph.io.GiraphFileInputFormat.listStatus(GiraphFileInputFormat.java:191)
>> at org.apache.giraph.io.GiraphFileInputFormat.listVertexStatus(GiraphFileInputFormat.java:251)
>> at org.apache.giraph.io.GiraphFileInputFormat.getVertexSplits(GiraphFileInputFormat.java:322)
>> at org.apache.giraph.io.TextVertexInputFormat.getSplits(TextVertexInputFormat.java:61)
>> at org.apache.giraph.graph.BspServiceMaster.generateInputSplits(BspServiceMaster.java:266)
>> ... 3 more
>> 2013-03-14 18:40:52,937 INFO org.apache.giraph.zk.ZooKeeperManager: run: Shutdown hook started.
>> 2013-03-14 18:40:52,937 WARN org.apache.giraph.zk.ZooKeeperManager: onlineZooKeeperServers: Forced a shutdown hook kill of the ZooKeeper process.
>> 2013-03-14 18:40:53,255 INFO org.apache.giraph.zk.ZooKeeperManager: onlineZooKeeperServers: ZooKeeper process exited with 143 (note that 143 typically means killed)
>>
>>
>>
>> This is the most common error people are getting but I am unable to find
>> the solution.
>> Plz help.
>>
>> Thanks,
>> M.Vasimuddin
>>
>>
>>
>