Grokbase Groups Pig user May 2009
FAQ
The way I run it on eclipse is like,
1) Create a project and under it have idhadoop.java
2) use Build Path/Configure BuildPath/Add External Jar/($PIGDIR )
3) Run Configurations/ under "Main": Main Class: idhadoop

Then I get the error message as described.
Please help If you see anything wrong or lack in this process, thank you.

George

2009/5/30 George Pang <p0941p@gmail.com>
Dear users,

I compiled and ran the pig-embedded Java code from the "pig quick start"
example on Eclipse. I got the following error:

INFO executionengine.HExecutionEngine: Connecting to hadoop file system at:
file:///
INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker,
sessionId=

Obviously it can't find the HDFS or Hadoop. But I have set the
PIG_CLASSPATH as
/usr/share/cloudera/apps/pig-0.1.1/pig-0.1.1-core.jar:/usr/share/cloudera/apps/hadoop-0.18.3-patched/conf
and other environments under Run Configurations / Environment
Is there anything I forgot to do? Any idea is much appreciated!

Pig: 0.1.1
Hadoop: 0.18.3
Eclipse: 3.4.2

George

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 9 of 13 | next ›
Discussion Overview
groupuser @
categoriespig, hadoop
postedMay 31, '09 at 2:44a
activeJun 11, '09 at 12:56a
posts13
users4
websitepig.apache.org

People

Translate

site design / logo © 2021 Grokbase