Pig 0.13.0 Installation on windows 8

試著忘記壹切 提交于 2019-12-25 14:41:24

问题


I could get into the grunt shell in pig 0.13.0 version on windows. When trying to load a simple file from hdfs and dump it. The following error occurs.

2014-10-13 17:29:45,167 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 29
98: Unhandled internal error. org.apache.hadoop.mapreduce.JobContext
Details at logfile: C:\hadoop-2.5.1\logs\pig_1413201361692.log

Do anyone faced this error ever? I need a solution to solve this.


回答1:


I have solved this issue by Build the pig using ant from the cygwin home. Then it works fine. The command to build pig in the cygwin terminal is ant clean jar-withouthadoop -Dhadoopversion=23



来源:https://stackoverflow.com/questions/26340092/pig-0-13-0-installation-on-windows-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!