hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon" <edwardy...@apache.org>
Subject YarnSerializePrinting
Date Tue, 13 Nov 2012 10:52:18 GMT
This is my first attempt w/ CDH4. What should be returned from
BSPJobClient.getClusterStatus() method?

edward@udanax:~/workspace/hama-trunk$ yarn jar
yarn/target/hama-yarn-0.6.0-SNAPSHOT.jar
org.apache.hama.bsp.YarnSerializePrinting
12/11/13 19:19:28 INFO bsp.YARNBSPJob: Connecting to ResourceManager
at /0.0.0.0:8032
12/11/13 19:19:29 INFO bsp.YARNBSPJob: Starting job...
Exception in thread "main" java.lang.NullPointerException
	at org.apache.hama.bsp.BSPJobClient.getClusterStatus(BSPJobClient.java:773)
	at org.apache.hama.bsp.BSPJobClient.submitJobInternal(BSPJobClient.java:307)
	at org.apache.hama.bsp.YARNBSPJob.submit(YARNBSPJob.java:80)
	at org.apache.hama.bsp.YARNBSPJob.waitForCompletion(YARNBSPJob.java:95)
	at org.apache.hama.bsp.YarnSerializePrinting.main(YarnSerializePrinting.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
edward@udanax:~/workspace/hama-trunk$ vi
yarn/src/main/java/org/apache/hama/bsp/YarnSerializePrinting.java
edward@udanax:~/workspace/hama-trunk$ hadoop version
Hadoop 2.0.0-cdh4.1.2
Subversion file:///var/lib/jenkins/workspace/generic-package-ubuntu64-12-04/CDH4.1.2-Packaging-Hadoop-2012-11-01_17-01-07/hadoop-2.0.0+552-1.cdh4.1.2.p0.27~precise/src/hadoop-common-project/hadoop-common
-r f0b53c81cbf56f5955e403b49fcd27afd5f082de
Compiled by jenkins on Thu Nov  1 17:31:39 PDT 2012
>From source with checksum c5d56e606a3aa6dd5399cee3b2b8054f


-- 
Best Regards, Edward J. Yoon
@eddieyoon

Mime
View raw message