You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by haosdent <ha...@gmail.com> on 2014/03/11 05:56:15 UTC
why "hadoop.security.token.service.use_ip" is false
I notice that "hadoop.security.token.service.use_ip" is false in
"/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/src/test/resources/core-site.xml"
since hadoop_2.3.0. This make SecurityUtil.java#buildTokenService could get
an CanonicalServiceName.
For example, getCanonicalServiceName of "hdfs://localhost:8020" would
return "localhost:8020" while getCanonicalServiceName of "hdfs://
127.0.0.1:8020" would return "127.0.0.1:8020".
I want to know why it is false in core-site.xml. If I miss something, help
me to find the reason of this please. Thank you in advance.
--
Best Regards,
Haosdent Huang