I\'m currently configuring hadoop on a server running CentOs. When I run start-dfs.sh or stop-dfs.sh, I get the following error:
start-dfs.sh
stop-dfs.sh
I had the same problem with JDK6,I changed the JDK to JDK8,the problem solved. Try to use JDK8!!!