giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Singh <mohit1...@gmail.com>
Subject Input expected for RandomWalkWithRestartComputation
Date Fri, 22 Aug 2014 22:46:34 GMT
Hi,
  What is the input expected for giraph
example RandomWalkWithRestartComputation

I am specifying vif as LongDoubleDoubleTextInputFormat (from the examples
only)
Here is the full string:
hadoop jar giraph-examples-1.1.0-for-hadoop-2.2.0-jar-with-dependencies.jar
 org.apache.giraph.GiraphRunner -Dgiraph.zkList=<host>:port -libjars
giraph-examples-1.1.0-for-hadoop-2.2.0-jar-with-dependencies.jar
 org.apache.giraph.examples.RandomWalkWithRestartComputation -mc
org.apache.giraph.examples.RandomWalkVertexMasterCompute -wc
org.apache.giraph.examples.RandomWalkWorkerContext -vof
org.apache.giraph.examples.VertexWithDoubleValueDoubleEdgeTextOutputFormat
-vif org.apache.giraph.examples.LongDoubleDoubleTextInputFormat  -vip
giraph_algorithms/personalized_pr/input -op
giraph_algorithms/personalized_pr/out1 -w 1


But the job fails..

Error: java.lang.IllegalStateException: run: Caught an unrecoverable
exception For input string: "PK �u E META-INF/�� PK PK �u E
META-INF/MANIFEST.MF�M��LK-.�" at
org.apache.giraph.graph.GraphMapper.run(GraphMapper.java:101) at
org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764) at
org.apache.hadoop.mapred.MapTask.run(MapTask.java:340) at
org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167) at
java.security.AccessController.doPrivileged(Native Method) at
javax.security.auth.Subject.doAs(Subject.java:415) at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1554)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162) Caused by:
java.lang.NumberFormatException: For input string: "PK �u E META-INF/�� PK
PK �u E META-INF/MANIFEST.MF�M��LK-.�" at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:441) at
java.lang.Long.parseLong(Long.java:483) at
org.rdio.graphAnalytics.RandomWalkWorkerContext.initializeSources(RandomWalkWorkerContext.java:131)
at
org.rdio.graphAnalytics.RandomWalkWorkerContext.setStaticVars(RandomWalkWorkerContext.java:160)
at
org.rdio.graphAnalytics.RandomWalkWorkerContext.preApplication(RandomWalkWorkerContext.java:146)
at
org.apache.giraph.graph.GraphTaskManager.workerContextPreApp(GraphTaskManager.java:815)
at
org.apache.giraph.graph.GraphTaskManager.prepareGraphStateAndWorkerContext(GraphTaskManager.java:451)
at
org.apache.giraph.graph.GraphTaskManager.execute(GraphTaskManager.java:266)
at org.apache.giraph.graph.GraphMapper.run(GraphMapper.java:91) ... 7 more

My input is :
12 34 56
34 78
56 34 78
78 34
-- 
Mohit

"When you want success as badly as you want the air, then you will get it.
There is no other secret of success."
-Socrates

Mime
View raw message