Hi Debabrata,

Unfortunately the java -cp command give me back the following "Error: Could not find or load main class org.python.util.jython"

    I've checked the jar files and they do are the same :

    md5sum /usr/local/hadoop/share/hadoop/tools/lib/joda-time-2.5.jar
c18e34f88c183cb21bbb693b3505e7d2 /usr/local/hadoop/share/hadoop/tools/lib/joda-time-2.5.jar

    md5sum /usr/local/pig/pig-0.15.0/lib/joda-time-2.5.jar
c18e34f88c183cb21bbb693b3505e7d2 /usr/local/pig/pig-0.15.0/lib/joda-time-2.5.jar

Thanks for your help.

Le 14/07/2015 19:36, Debabrata Pani a écrit :
Hi Antoine,

I don't completely know the answer to your questions.

But does this following command give a jython prompt to you ?

java -cp `hadoop classpath` org.python.util.jython

If it does, can you type the following and see what is the output ?

from org.joda.time import DateTime
x = DateTime()
x.getClass().getProtectionDomain()
The above is important to know where is the joda jar coming in your
classpath.
If the above does not work, may be we can study the output of the following:

from java.lang import System
System.getProperties()
Regards,
Debabrata Pani

Reply via email to