Do you have HADOOP_HOME and HADOOP_CONF_DIR exported pointing to your
installation of hadoop?

On Mon, Jun 8, 2015 at 4:54 AM, Karl Beecher <k...@endocode.com> wrote:

> Hi,
>
> I have set up Hadoop on a remote machine and have been trying to get my
> local instance of Pig to contact it, largely following the instructions
> here:
>
>
> https://netezzaadmin.wordpress.com/2013/09/24/configuring-pig-to-work-with-a-remote-hadoop-cluster/
>
> My Hadoop version is 2.7.0 and Pig is 0.14.0.
>
> When I run `pig` I get this error:
>
> org.apache.hadoop.ipc.RemoteException: Server IPC version 9 cannot
> communicate with client version 4
>
> I'm guessing that my Pig instance in this case is using the default
> embedded Hadoop client which is too old for my remote Hadoop.
>
> Is there some way to instruct Pig which Hadoop version to use?
>
> Many thanks,
> Karl
>

Reply via email to