Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured
<p>I am trying to install Hadoop-2.6.0 on ec2-instance.</p>

<p>I downloaded and installed Hadoop. i also set the environment variables. When trying to start the hdfs services I get following error.</p>

<p>[ec2-user@ip-10-177-1-69 sbin]$ ./start-dfs.sh
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on []
Error: Cannot find configuration directory: /home/ec2-user/hadoop2.6.0/etc/hadoop
Error: Cannot find configuration directory: /home/ec2-user/hadoop2.6.0/etc/hadoop
Starting secondary namenodes [0.0.0.0]
Error: Cannot find configuration directory: /home/ec2-user/hadoop2.6.0/etc/hadoop</p>