我剛剛啟動了一個 aws emr 6.5 集群,以 hadoop 用戶身份登錄到主節點,并希望這個命令能夠作業并向我展示 hdfs 中的內容。相反,我得到:
[hadoop@ip-172-31-2-2 ~]$ hdfs dfs -ls
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/aws/emr/emrfs/lib/slf4j-log4j12-1.7.12.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]
我究竟做錯了什么?我如何解決它?
uj5u.com熱心網友回復:
這只是一個警告。沒有什么真正需要修復的。
/home/hadoop如果您的默認檔案系統在(當前用戶的目錄)為空,則不會有輸出
嘗試改為hdfs dfs -ls /home,例如,或-put某個檔案,然后-ls
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/490042.html
