我对 hadoop 中的dfs有疑问。有人知道如何解决我的问题吗?
[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.
如您所见,这里有主机和主机名。我不知道在这里做什么大约 2 天...我在互联网上没有找到任何解决此问题的方法,请帮助我。