Hive錯誤:Unable to load native-hadoop library for your platform

獵手家園發表於2016-05-02

WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /opt/hadoop-2.6.0/lib/native/libhadoop.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.


這是因為hadoop預設編譯好的native庫是32bit的,所以要重新編譯hadoop2.6的原始碼,獲取64位native庫,將其複製到原來安裝的hadoop的native目錄中替代原來的類庫,然後重新執行即可。

百度搜尋下載native-x64.rar

相關文章