删除HDFS目录报错
来源:5-9 -Java版本wordcount功能重构
hwbaker
2018-03-02
objc[83630]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin/java (0x1062c24c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1072ed4e0). One of the two will be used. Which one is undefined.
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:19000/output/wc, expected: file:///
1回答
-
Michael_PK
2018-03-02
看最后一句:你希望操作的是HDFS,但是实际是本地文件。你提供的信息看不到你干了啥
032018-03-02
相似问题