hadoop - Hortonworks Data node install: Exception in secureMain -
am trying install hortonworks hadoop single node cluster. able start namenode , secondary namenode, datanode failed following error. how solve issue?
2014-04-04 18:22:49,975 fatal datanode.datanode (datanode.java:securemain(1841)) - exception in securemain java.lang.runtimeexception: although unix domain socket path configured /var/lib/hadoop-hdfs/dn_socket, cannot start localdataxceiverserver because libhadoop cannot loaded."
see native libraries guide. make sure libhadoop.so available in $hadoop_home\bin. logs message:
info util.nativecodeloader - loaded native-hadoop library
if instead find
info util.nativecodeloader - unable load native-hadoop library platform... using builtin-java classes applicable
then means libhadoop.so not available, , you'll have investigate why. alternatively can turn off hdfs shortcircuit if wish, or enable legacy short-circuit instead using dfs.client.use.legacy.blockreader.local
, remove libhadoop dependency. reckon better find out what's problem library.
make sure read , understand articles linked before asking further questions.
Comments
Post a Comment