Shivam Panicker
Shivam Panicker

Reputation: 117

Hortonworks Data Platform HDP 2.1 start Namenode Error

I have installed HDP 2.1.1.0 in SUSE11 VM. I am receiving the following error when trying to start the namenode for the first time after formatting:

/usr/lib/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or directory

/usr/lib/hadoop-hdfs/bin/hdfs: line 206: exec: : not found

Please suggest some resolution for the same.

FYI: I have updated libexec path details in .bashrc file as well. Still getting the same issue.

Upvotes: 0

Views: 368

Answers (1)

Shivam Panicker
Shivam Panicker

Reputation: 117

Well I found that while installing Hadoop rpm from HDP 2.1 repository, the libexec folder was not copied in Hadoop-HDFS folder in usr/lib/hadoop-hdfs

So I exported the Path of libexec, which was residing in /usr/lib/hadoop/libexec in my .bashrc file and it works fine now.

Upvotes: 1

Related Questions