gpt4 book ai didi

windows - Cygwin中的Apache pig

转载 作者:行者123 更新时间:2023-12-02 21:48:23 25 4
gpt4 key购买 nike

是否有任何可用于在Cygwin中运行Apache的资源。使用最新的Hadoop版本,我能够在Windows计算机中成功设置hadoop集群,但是我无法使PIG在cygwin终端中运行。尝试调用 pig 咕unt声时返回以下错误。

 $ pig -x local

cygwin warning:

MS-DOS style path detected: c:\pig/conf/pig.properties

Preferred POSIX equivalent is: /cygdrive/c/pig/conf/pig.properties

CYGWIN environment variable option "nodosfilewarning" turns off this warning.

Consult the user's guide for more details about POSIX paths:

http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cygpath: cannot create short name of C:\pig\logs
Cannot locate pig-withouthadoop.jar. do 'ant jar-withouthadoop', and try again.

任何帮助,将不胜感激。

谢谢

最佳答案

要解决上述错误,我已按照下面的链接中所述为hadoop-2.2.0重建了Pig,并且能够摆脱该异常。

http://javatute.com/javatute/faces/post/hadoop/2014/installing-pig-11-for-hadoop-2-on-ubuntu-12-lts.xhtml

关于windows - Cygwin中的Apache pig ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23241279/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com