java - Hadoop enable simple authentication -


i tried steps listed here how disable hadoop kerberos datanode wouldn't start because of exception

java.lang.illegalargumentexception: not contain valid host:port authority: 50010         @ org.apache.hadoop.net.netutils.createsocketaddr(netutils.java:212)         @ org.apache.hadoop.net.netutils.createsocketaddr(netutils.java:164)         @ org.apache.hadoop.net.netutils.createsocketaddr(netutils.java:153) 

i have apache hadoop 2.6 installed on centos vm. started hadoop start-dfs.sh , start-yarn.sh. i'm trying connect hadoop java client hdfs protocol getting below exception.

caused by: org.apache.hadoop.ipc.remoteexception(org.apache.hadoop.security.accesscontrolexception): simple authentication not enabled.  available:[token]     @ org.apache.hadoop.ipc.client.call(client.java:1468)     @ org.apache.hadoop.ipc.client.call(client.java:1399)     @ org.apache.hadoop.ipc.protobufrpcengine$invoker.invoke(protobufrpcengine.java:232) 

i've seen similar exception posted few times other people ends in [token, kerberos]. need enable kerberos authentication or token else? ideally use simple authentication. if can't use simple authentication installing cdh4 satisfy token authentication?

the problem was sending request node address port got localhost:8088 , not port 8020 or whatever port specified in fs.defaultfs in core-site.xml.


Comments