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

2012-07-30 Thread Aaron T. Myers
t; > 发件人: Arpit Gupta [mailto:ar...@hortonworks.com] > > 发送时间: 2012年7月27日 10:03 > > 收件人: common-dev@hadoop.apache.org > > 主题: Re: regarding _HOST token replacement in security hadoop > > > > you need to use HTTP/_h...@site.com as that is the principal needed by &g

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

2012-07-27 Thread Arpit Gupta
a [mailto:ar...@hortonworks.com] > 发送时间: 2012年7月27日 10:03 > 收件人: common-dev@hadoop.apache.org > 主题: Re: regarding _HOST token replacement in security hadoop > > you need to use HTTP/_h...@site.com as that is the principal needed by > spnego. So you would need create the HTTP/_H

答复: regarding _HOST token replacement in security hadoop

2012-07-26 Thread Wangwenli
getCanonicalHostName() to get _HOST Meanwhile I will check what you said. Thank you~ -邮件原件- 发件人: Arpit Gupta [mailto:ar...@hortonworks.com] 发送时间: 2012年7月27日 10:03 收件人: common-dev@hadoop.apache.org 主题: Re: regarding _HOST token replacement in security hadoop you need to use HTTP/_h

Re: regarding _HOST token replacement in security hadoop

2012-07-26 Thread Arpit Gupta
ver.KerberosAuthenticationHandler: > Initialized, principal [nn/167-52-0-56.site@site] from keytab > [/home/hdfs/keytab/nn.service.keytab] > > > -邮件原件- > 发件人: Arpit Gupta [mailto:ar...@hortonworks.com] > 发送时间: 2012年7月27日 9:22 > 收件人: common-dev@hadoop.apache.org >

答复: regarding _HOST token replacement in security hadoop

2012-07-26 Thread Wangwenli
-56.site@site] from keytab [/home/hdfs/keytab/nn.service.keytab] -邮件原件- 发件人: Arpit Gupta [mailto:ar...@hortonworks.com] 发送时间: 2012年7月27日 9:22 收件人: common-dev@hadoop.apache.org 主题: Re: regarding _HOST token replacement in security hadoop what version of hadoop are you using? also

Re: regarding _HOST token replacement in security hadoop

2012-07-26 Thread Arpit Gupta
what version of hadoop are you using? also dfs.web.authentication.kerberos.principal should be set to HTTP/_h...@site.com -- Arpit Gupta Hortonworks Inc. http://hortonworks.com/ On Jul 26, 2012, at 6:11 PM, Wangwenli wrote: > Hi all, > > I configured like below in hdfs-site.xml: > > > d

regarding _HOST token replacement in security hadoop

2012-07-26 Thread Wangwenli
Hi all, I configured like below in hdfs-site.xml: dfs.namenode.kerberos.principal nn/_HOST@site dfs.web.authentication.kerberos.principal nn/_HOST@site When start up namenode, I found, namenode will use principal : nn/167-52-0-56@site to login, but the http server will