20newsgroup示例Mahout本地没有摘要&混淆矩阵,由于log4j警告?

时间:2015-02-16 14:40:34

标签: log4j classification mahout

遵循教程here 一切似乎工作正常,除了最后一个测试步骤没有显示任何摘要或混淆矩阵,而在文件夹中我可以看到它有生成文件:._SUCCESS.crc,.part-m-00000.crc,_SUCCESS&部分-M-00000。

我收到类似帖子here的错误但没有答案。很高兴知道是否是由于log4g警告?如果是(看起来很可能),任何有关如何解决此问题的详细解决方案?在哪里准确添加这个属性文件,它应该是什么样子等?

我是一位新的Mahout用户,详细信息非常受欢迎。提前致谢。

    $ bin/mahout testnb -i /tmp/mahout-work/20news-test-vectors -m /tmp/mahout-work/model -l /tmp/mahout-work/labelindex -ow -o /tmp/mahout-work/20news-testing-result -c

    MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
    hadoop binary is not in PATH,HADOOP_HOME/bin,HADOOP_PREFIX/bin, running locally
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in [jar:file:/D:/mahout_src/examples/target/mahout-examples-1.0-SNAPSHOT-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in [jar:file:/D:/mahout_src/examples/target/dependency/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
    SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
    log4j:WARN No appenders could be found for logger (org.apache.mahout.driver.MahoutDriver).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

0 个答案:

没有答案