cygwin中的apache pig

tvz2xvvm  于 2021-06-03  发布在  Hadoop
关注(0)|答案(1)|浏览(327)

在cygwin中运行apache有什么可用的源代码吗。使用最新的hadoop版本,我能够在windows机器上成功地安装hadoop集群,但是我不能让pig在cygwin终端上运行。尝试调用pig grunt时返回以下错误。

$ 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.

任何帮助都将不胜感激。
谢谢

pgx2nnw8

pgx2nnw81#

为了解决上面的错误,我已经为hadoop-2.2.0重建了pig,如下链接所述,并且能够消除异常。
http://javatute.com/javatute/faces/post/hadoop/2014/installing-pig-11-for-hadoop-2-on-ubuntu-12-lts.xhtml

相关问题