You are not logged in.
Hello guys. Does somebody know how to solve my issue:
[hduser@evghost ~]$ start-dfs.sh
Starting namenodes on [evghost]
Error: Please specify one of --hosts or --hostnames options and not both.
evghost: starting datanode, logging to /usr/lib/hadoop-2.7.1/logs/hadoop-hduser-datanode-evghost.out
Starting secondary namenodes [0.0.0.0]
Error: Please specify one of --hosts or --hostnames options and not both.As you can see here is the specific thing with host and hostname.
I dont know how to fix it. I just asked a lot of people and forums. Mb here i can get a right answer.
Last edited by me-evgnc (2015-10-24 00:51:36)
Offline
is it rly very hard problem?
Offline
any help?
Offline
Stop bumping.
These are very active forums with some very experienced people. Apparently this is a rare problem. I've never heard of this, so I cannot help.
If someone else had worked with this, I know they would chime in.
Perhaps if you were to tell us more about the problem, and what you have learned and tried since your first post rather to increase rather than decrease the signal to noise.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It's issue with DNS server. If you have a hostname not like 'localhost' you'll not to be able to deploy a pseudo mode for dfs because DNS won't give you ip address from your request domain name. Here i had a hostname evghost, lets look:
[main@evghost ~]$ host evghost
Host evghost not found: 3(NXDOMAIN)DNS didn't get answer to you. Noway to deal with it, but you can set up your own dns server in your PC. Much pain, but i think it can works.
Solution is to post
localhost
in /etc/hostname and NOT another!
Last edited by me-evgnc (2015-10-24 00:55:17)
Offline