-Re: How can pig work with hadoop-append version?
yonghu 2012-01-18, 12:32
If I rebuild the pig using ant jar-withouthadoop, the output of pig
-secretDebugCmd is following:
as you see, there is no hadoop information.
On Wed, Jan 18, 2012 at 1:05 PM, Dmitriy Ryaboy <[EMAIL PROTECTED]> wrote:
> You need to make sure the hadoop jar being used at runtime is the exact
> same version as the version of hadoop you are using.
> What is the output of "pig -secretDebugCmd"? Does the hadoop jar in that
> classpath match that you use to start hadoop?
> On Wed, Jan 18, 2012 at 2:03 AM, yonghu <[EMAIL PROTECTED]> wrote:
>> My pig version is 0.8.1. I have got some information of the mailing list.
>> I rebuilt the pig using:
>> ant jar-withouthadoop
>> and replace the hadoop jar file in /pig_home/build/ivy/lib/pig with
>> the hadoop-append jar. At last, I export HADOOP_HOME and PIG_HOME.
>> But when I started the pig, I always got the information that the hdfs
>> version of pig and hadoop are not compatible.
>> Can anyone tell me how to solve this problem?