答复: regarding _HOST token replacement in security hadoop

2012-07-26 Thread Wangwenli
Thank yours response. I am using hadoop-2.0.0-alpha from apache site. In which version it should configure with HTTP/_h...@site.com? I think not in hadoop-2.0.0-alpha. Because I login successful with other principal, pls refer below log: 2012-07-23 22:48:17,303 INFO org.apache.hadoop.security

答复: regarding _HOST token replacement in security hadoop

2012-07-26 Thread Wangwenli
Could you spent one minute to check whether below code will cause issue or not? In org.apache.hadoop.hdfs.server.namenode.NameNode.loginAsNameNodeUser(), it use socAddr.getHostName() to get _HOST, But in org.apache.hadoop.security.SecurityUtil.replacePattern(), in getLocalHostName(), it use get

Re: 答复: regarding _HOST token replacement in security hadoop

2012-07-27 Thread Arpit Gupta
That does seem to be valid issue. Could you log a jira for it. Thanks On Thu, Jul 26, 2012 at 7:32 PM, Wangwenli wrote: > Could you spent one minute to check whether below code will cause issue or > not? > > In org.apache.hadoop.hdfs.server.namenode.NameNode.loginAsNameNodeUser(), > it use soc

Re: 答复: regarding _HOST token replacement in security hadoop

2012-07-30 Thread Aaron T. Myers
What do you have set as the fs.defaultFS in your configuration? Make sure that that is a fully-qualified domain name. -- Aaron T. Myers Software Engineer, Cloudera On Fri, Jul 27, 2012 at 1:57 PM, Arpit Gupta wrote: > That does seem to be valid issue. Could you log a jira for it. > > Thanks >