Mac環境中搭建Hadoop相關問題及處理辦法

sunshine185發表於2017-02-16

環境資訊:

        


JDK 環境資訊: 

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

問題及處理辦法:

問題. 執行 start-dfs.sh 指令碼出現如下資訊:  

yyj-Mac ~$ start-dfs.sh 
2017-02-15 16:32:51.451 java[60671:1189818] Unable to load realm info from SCDynamicStore
17/02/15 16:32:52 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [localhost]
localhost: namenode running as process 60340. Stop it first.
localhost: datanode running as process 60423. Stop it first.
Starting secondary namenodes [0.0.0.0]
0.0.0.0: secondarynamenode running as process 60532. Stop it first.
2017-02-15 16:32:58.143 java[60888:1190153] Unable to load realm info from SCDynamicStore
17/02/15 16:32:58 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
       

處理辦法:

   升級JDK版本至7u80及以上版本

參考連結

相關文章