You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Zaenal Akhmad Rifai <za...@detik.com> on 2015/09/25 06:35:12 UTC
Pig Error when execute script
Hello guys,
i get some error while execute pig script on hue, it said
"{error:File hdfs:///hdp/apps/2.2.8.0-3150/pig/pig.tar.gz does not exist.}
(error 500)"
So, i put file pig.tar.gz to hdp file system
sudo -u hdfs hdfs dfs -put /usr/hdp/2.2.8.0-3150/pig/pig.tar.gz
But after upload that file, the error still same, it still said
"{error:File hdfs:///hdp/apps/2.2.8.0-3150/pig/pig.tar.gz does not exist.}
(error 500)"
So whats wrong with my move ?
--
Regards,
Zaenal Akhmad Rifai
Re: Pig Error when execute script
Posted by Zaenal Akhmad Rifai <za...@detik.com>.
Sorry guys, i miss some step
just do sudo -u hdfs hdfs dfs -put /usr/hdp/2.2.8.0-3150/pig/pig.tar.gz
/hdp/apps/2.2.8.0-3150/pig
and it will work well again.
Thanks guys
:D
On Fri, Sep 25, 2015 at 11:35 AM, Zaenal Akhmad Rifai <za...@detik.com>
wrote:
> Hello guys,
>
> i get some error while execute pig script on hue, it said
>
> "{error:File hdfs:///hdp/apps/2.2.8.0-3150/pig/pig.tar.gz does not exist.}
> (error 500)"
>
> So, i put file pig.tar.gz to hdp file system
>
> sudo -u hdfs hdfs dfs -put /usr/hdp/2.2.8.0-3150/pig/pig.tar.gz
>
> But after upload that file, the error still same, it still said
>
> "{error:File hdfs:///hdp/apps/2.2.8.0-3150/pig/pig.tar.gz does not exist.}
> (error 500)"
>
> So whats wrong with my move ?
>
> --
> Regards,
> Zaenal Akhmad Rifai
>
--
Regards,
Zaenal Akhmad Rifai