在 Windows 8 上安装 Pig 0.13.0 [英] Pig 0.13.0 Installation on windows 8

查看:31
本文介绍了在 Windows 8 上安装 Pig 0.13.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在 Windows 上的 pig 0.13.0 版本中进入 grunt shell.当试图从 hdfs 加载一个简单的文件并转储它时.发生以下错误.

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.

推荐答案

我已经通过使用 cygwin 家中的 ant 构建小猪解决了这个问题.然后它工作正常.在cygwin终端中构建pig的命令是ant clean jar-withouthadoop -Dhadoopversion=23

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

这篇关于在 Windows 8 上安装 Pig 0.13.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆