這裏是你的錯誤,意思是:
對於SLF4J
:
SLF4J: **Failed to load class** "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
正如你所知道的,你沒有相應的類(* 無法加載類*)爲SLF4J
工作所以它默認爲不記錄((NOP)記錄器實現)。繼建議link你可以看到這種情況的解決辦法是:
Placing one (and only one) of slf4j-nop.jar
, slf4j-simple.jar
, slf4j-log4j12.jar
, slf4j-jdk14.jar
or logback-classic.jar
on the class path should solve the problem
Hadoop的:
15/09/18 07:31:10 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
這只是意味着本機庫不能被發現,但一般不影響道路Hadoop功能。至於本機庫:
The native library just contains implementations of certain components for performance reasons and for non-availability of Java implementations. These components are available in a single, dynamically-linked native library called the native hadoop library. On the *nix platforms the library is named libhadoop.so.
無論如何,如果你真的想擺脫的警告,您可以按照提供here的衆多解決方案之一。