我正在尝试运行以下语句:代码:
/usr/local/lib/mahout/bin$ mahout seqwiki -i /user/wiki/enwiki-articles.xml -o /user/wiki/kmeansseqfiles
错误:
MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
MAHOUT_LOCAL is set, running locally
Error: Could not find or load main class org.apache.mahout.driver.MahoutDriver
我遵循了这个页面上的最高投票指示
然而,我仍然得到同样的错误。
所有pom.xml文件都在哪里
./mahout/hdfs/pom.xml
./mahout/trunk/integration/pom.xml
./mahout/trunk/math-scala/pom.xml
./mahout/trunk/buildtools/pom.xml
./mahout/trunk/examples/pom.xml
./mahout/trunk/math/pom.xml
./mahout/trunk/distribution/pom.xml
./mahout/trunk/pom.xml
./mahout/trunk/spark/pom.xml
./mahout/trunk/mrlegacy/pom.xml
./mahout/trunk/spark-shell/pom.xml
./mahout/integration/pom.xml
./mahout/math-scala/pom.xml
./mahout/buildtools/pom.xml
./mahout/examples/pom.xml
./mahout/flink/pom.xml
./mahout/math/pom.xml
./mahout/distribution/pom.xml
./mahout/mr/pom.xml
./mahout/pom.xml
./mahout/spark/pom.xml
./mahout/spark-shell/pom.xml
./mahout/h2o/pom.xml
当我做一个干净的安装
hadoop@ip-:/usr/local/lib/mahout$ mvn -DskipTests -X clean install
错误:
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/lib/apache-maven-3.3.9
Java version: 1.7.0_111, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-91-generic", arch: "amd64", family: "unix"
[INFO] Mahout Build Tools ................................. FAILURE [ 1.140 s]
[INFO] Apache Mahout ...................................... SKIPPED
[INFO] Mahout Math ........................................ SKIPPED
[INFO] Mahout HDFS ........................................ SKIPPED
[INFO] Mahout Map-Reduce .................................. SKIPPED
[INFO] Mahout Integration ................................. SKIPPED
[INFO] Mahout Examples .................................... SKIPPED
[INFO] Mahout Math Scala bindings ......................... SKIPPED
[INFO] Mahout Spark bindings .............................. SKIPPED
[INFO] Mahout Flink bindings .............................. SKIPPED
[INFO] Mahout Spark bindings shell ........................ SKIPPED
[INFO] Mahout Release Package ............................. SKIPPED
[INFO] Mahout H2O backend ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
长征-长征
total 160
drwxr-xr-x 2 root root 4096 Oct 24 02:51 bin
drwxr-xr-x 3 root root 4096 Oct 24 02:51 buildtools
-rw-r--r-- 1 root root 17916 Oct 24 02:51 CHANGELOG
drwxr-xr-x 3 root root 4096 Oct 24 02:51 distribution
-rw-r--r-- 1 root root 2313 Oct 24 02:51 doap_Mahout.rdf
drwxr-xr-x 4 root root 4096 Oct 24 02:51 examples
drwxr-xr-x 5 root root 4096 Oct 24 02:51 integration
-rw-r--r-- 1 root root 39588 Oct 24 02:51 LICENSE.txt
drwxr-xr-x 3 root root 4096 Oct 24 02:51 math
drwxr-xr-x 3 root root 4096 Oct 24 02:51 math-scala
drwxr-xr-x 3 root root 4096 Oct 24 02:51 mrlegacy
-rw-r--r-- 1 root root 1888 Oct 24 02:51 NOTICE.txt
-rw-r--r-- 1 root root 43921 Oct 24 02:51 pom.xml
-rw-r--r-- 1 root root 479 Oct 24 02:51 README.txt
drwxr-xr-x 3 root root 4096 Oct 24 02:51 spark
drwxr-xr-x 3 root root 4096 Oct 24 02:51 spark-shell
drwxr-xr-x 4 root root 4096 Oct 24 02:51 src
暂无答案!
目前还没有任何答案,快来回答吧!