错误:
ERROR: Could not find mahout-examples-*.job in /home/grid/mahout-distribution-0.8 or /home/grid/mahout-distribution-0.8/examples/target, please run 'mvn install' to create the .job file


问题分析:
          是因为下载了源码包,其examples/target目录下面未包含example的jar包;其实其错误也提示了,可以通过mvn install打出jar包;


解决办法:
         首先安装maven工具,配置maven环境变量,这个可以参考网上的教程;


         然后进入/home/grid/mahout-distribution-0.6/examples 目录,运行mvn命令:
命令如下所示:
               mvn clean install -Dmaven.test.skip=true


    -Dmaven.test.skip=true 参数是不执行测试代码,如果不带此参数,还是打不出包的,会报错;


至此,此问题就算解决了。

相关文章:

  • 2021-08-15
  • 2021-04-27
  • 2021-10-14
  • 2021-07-16
  • 2021-10-14
  • 2022-12-23
  • 2021-10-02
猜你喜欢
  • 2021-08-22
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案