Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Unable to complete the HDFS installation and/or start the daemon

$
0
0

Hi there,
I’ve just completed the installation following the instructions at the following URL ( http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.1/bk_installing_manually_book/content/rpm-chap4-1.html ) but after finishing the installation, I can’t connect to the hadoop service / daemon because there is no one… I can’t find it using “ps”, “chkconfig” or anything else, so I suppose there is something wrong with the installation…

The 1st part…
/usr/lib/hadoop/bin/hadoop namenode -format
… end with:


2015-05-21 06:12:32,157 INFO  [main] namenode.NNStorageRetentionManager (NNStorageRetentionManager.java:getImag
eTxIdToRetain(177)) - Going to retain 1 images with txid >= 0
2015-05-21 06:12:32,161 INFO  [main] util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting with status 0
2015-05-21 06:12:32,163 INFO  [Thread-1] namenode.NameNode (StringUtils.java:run(627)) - SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at hadoop-carlo.test.com/192.168.99.128
************************************************************/
[hdfs@hadoop-carlo ~]$ 

Since the “exiting status” is 0, I think that this was fine…

While the 2nd part (which I think should start the demon)
/usr/lib/hadoop/sbin/hadoop-daemon.sh --config $HADOOP_CONF_DIR start namenode
ends earlier at…


STARTUP_MSG:   build = git@github.com:hortonworks/hadoop.git -r 02ad68f19849a0a986dac36b705491f6791f9179; compi
led by 'jenkins' on 2014-01-21T00:56Z
STARTUP_MSG:   java = 1.7.0_79
************************************************************/
[hdfs@hadoop-carlo ~]$

Is that right or is there something wrong? Any idea?
Right now I can’t connect to the hadoop namenode service (which is the laptop I’m using right now and whom I’m trying to connect)… I’ve already deactivated iptables and ip6tables and try to verify if I was able to connect with telnet, but it refuses the connection (or, more easily, there is simple no-one to reply)… The ping works perfectly with any datanode in my LAN (they can ping my FQDN hadoop-carlo.test.com and I can too from the same laptop), so I think there is a problem concerning the JDK or the JVM (I had to set manually the $JAVA_HOME in my .bashrc) or the start of the daemon.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>