Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Problems with tutorial - HDFS-Version mismatch


Copy link to this message
-
Re: Problems with tutorial - HDFS-Version mismatch
Thejas M Nair 2010-08-16, 20:10
Pig 0.7 is compatible with hadoop 0.20.x, so I am not sure why you are
seeing this error.

You can try creating a pig jar without hadoop and specify the hadoop jar
used for your cluster in classpath -

svn co http://svn.apache.org/repos/asf/hadoop/pig/branches/branch-0.7
cd branch-0.7
ant jar-withouthadoop
ls pig-withouthadoop.jar #use this jar
Please let us know if this fixed your problem.

-Thejas

On 8/16/10 1:52 AM, "Rico Bergmann" <[EMAIL PROTECTED]>
wrote:

> Hello!
>
> I try to get the tutorial of pig0.7.0 running in mapreduce mode. But I
> always get IOExceptions. Looking into the HDFS-Logfiles I found a
> message "Incorrect header or version mismatch from ... got version2
> expected version 3". I don't know what to do. Is it a bug in the tutorial?
>
> For completness: I'm running Hadoop Version 0.20.2 in a clustered setup.
>
> Thanks, Rico.
>
>