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

Reply via email to