Re: hdfs2.7.3 kerberos can not startup

2016-09-20 Thread Wei-Chiu Chuang
You need to run kinit command to authenticate before running hdfs dfs -ls command. Wei-Chiu Chuang > On Sep 20, 2016, at 6:59 PM, kevin wrote: > > Thank you Brahma Reddy Battula. > It's because of my problerm of the hdfs-site config file and https ca > configuration.

Re: hdfs2.7.3 kerberos can not startup

2016-09-20 Thread kevin
Thank you Brahma Reddy Battula. It's because of my problerm of the hdfs-site config file and https ca configuration. now I can startup namenode and I can see the datanodes from the web. but When I try hdfs dfs -ls /: *[hadoop@dmp1 hadoop-2.7.3]$ hdfs dfs -ls /* *16/09/20 07:56:48 WARN ipc.Client:

RE: hdfs2.7.3 kerberos can not startup

2016-09-20 Thread Brahma Reddy Battula
Seems to be property problem.. it should be principal ( ā€œlā€ is missed). dfs.secondary.namenode.kerberos.principa hadoop/_h...@example.com For namenode httpserver start fail, please check rakesh comments.. This is probably due to some missing configuration. Could

Re: hdfs2.7.3 kerberos can not startup

2016-09-20 Thread kevin
thanks, but my issue is name node could *Login successful,but second namenode couldn't. and name node got a **HttpServer.start() threw a non Bind IOException:* hdfs-site.xml: ** *dfs.webhdfs.enabled* *true* ** ** * dfs.block.access.token.enable* * true* ** ** ** *

Re: hdfs2.7.3 kerberos can not startup

2016-09-20 Thread Rakesh Radhakrishnan
>>Caused by: javax.security.auth.login.LoginException: Unable to obtain password from user Could you please check kerberos principal name is specified correctly in "hdfs-site.xml", which is used to authenticate against Kerberos. If keytab file defined in "hdfs-site.xml" and doesn't exists or