Could not resolve com.twitter.ambrose.pig.EmbeddedAmbrosePigProgressNotificationListener #68

Open
centerqi opened this Issue Apr 23, 2013 · 4 comments

Comments

Projects
None yet
2 participants

pig version 0.11.1
hadoop 0.20.205
PIG_CLASSPATH
PIG_CLASSPATH=/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/ambrose-common-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/slf4j-simple-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/guava-12.0.1.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/ambrose-pig-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/jetty-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/jetty-util-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/servlet-api-2.5-20081211.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/slf4j-api-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/pig-0.11.1.jar:

pig classpath
/usr/local/webserver/pig/bin/../conf:/usr/local/webserver/jdk/lib/tools.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/ambrose-common-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/slf4j-simple-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/guava-12.0.1.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/ambrose-pig-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/jetty-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/jetty-util-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/servlet-api-2.5-20081211.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/slf4j-api-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/pig-0.11.1.jar:.:/usr/local/webserver/hadoop/conf:/usr/local/webserver/hbase/conf

Contributor

billonahill commented Apr 23, 2013

The 4th entry in PIG_CLASSPATH is /data/hadoop/loganalyze/huqizhong/proxy/project/ambrose/pig/target/ambrose-pig-0.1.1-SNAPSHOT-bin/ambrose-pig-0.1.1-SNAPSHOT/lib/ambrose-pig-0.1.1-SNAPSHOT.jar. Does this file exist and contain EmbeddedAmbrosePigProgressNotificationListener?

2013/4/23 Bill Graham notifications@github.com

EmbeddedAmbrosePigProgressNotificationListener

Yes, It contain EmbeddedAmbrosePigProgressNotificationListener

centerqi@gmail.com|齐忠

Contributor

billonahill commented Apr 23, 2013

Can you start ambrose with -secretDebugCmd passed as an argument and paste the results. This will cause Pig to dump the environment settings that it's being invoked with.

2013/4/24 Bill Graham notifications@github.com

-secretDebugCmd

this dump result

PIG_CLASSPATH=/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/ambrose-common-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/slf4j-simple-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/guava-12.0.1.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/ambrose-pig-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/jetty-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/jetty-util-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/servlet-api-2.5-20081211.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/slf4j-api-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/pig-0.11.0.jar:.
PIG_OPTS=-Dpig.notification.listener=com.twitter.ambrose.pig.EmbeddedAmbrosePigProgressNotificationListener
-Dpig.additional.jars=/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/guava-12.0.1.jar
-Dambrose.port=8080 -Dambrose.post.script.sleep.seconds=600
Find hadoop at /usr/local/webserver/hadoop/bin/hadoop
dry run:
HADOOP_CLASSPATH:
/usr/local/webserver/hbase/conf:/usr/local/webserver/pig/bin/../conf:/usr/local/webserver/jdk/lib/tools.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/ambrose-common-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/slf4j-simple-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/guava-12.0.1.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/ambrose-pig-0.1.1-SNAPSHOT.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/jetty-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/jetty-util-6.1.25.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/servlet-api-2.5-20081211.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/slf4j-api-1.6.4.jar:/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/pig-0.11.0.jar:.:/usr/local/webserver/hadoop/conf:/usr/local/webserver/hbase/conf:/usr/local/webserver/hadoop/conf:/usr/local/webserver/pig/bin/../lib/jython-standalone-2.5.3.jar:/usr/local/webserver/hbase/hbase-0.90.6.jar:/usr/local/webserver/hbase/hbase-0.90.6-tests.jar:/usr/local/webserver/pig/bin/../pig-0.11.1-withouthadoop.jar:
HADOOP_OPTS: -Xmx1000m
-Dpig.notification.listener=com.twitter.ambrose.pig.EmbeddedAmbrosePigProgressNotificationListener
-Dpig.additional.jars=/data/hadoop/loganalyze/huqizhong/proxy/project/ambrosepig/ambrose/lib/guava-12.0.1.jar
-Dambrose.port=8080 -Dambrose.post.script.sleep.seconds=600
-Dpig.log.dir=/usr/local/webserver/pig/bin/../logs -Dpig.log.file=pig.log
-Dpig.home.dir=/usr/local/webserver/pig/bin/..
/usr/local/webserver/hadoop/bin/hadoop jar
/usr/local/webserver/pig/bin/../pig-0.11.1-withouthadoop.jar -f
/data/hadoop/loganalyze/huqizhong/proxy/project/search/pig/anasearch.pig

centerqi@gmail.com|齐忠

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment