Skip to content

Commit c81f82e

Browse files
authored
HADOOP-12665. Document hadoop.security.token.service.use_ip. (#3187)
Reviewed-by: Masatake Iwasaki <iwasakims@apache.org> Reviewed-by: Chris Nauroth <cnauroth@apache.org>
1 parent fef53aa commit c81f82e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

hadoop-common-project/hadoop-common/src/main/resources/core-default.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,27 @@
701701
</description>
702702
</property>
703703

704+
<property>
705+
<name>hadoop.security.token.service.use_ip</name>
706+
<value>true</value>
707+
<description>
708+
Controls whether tokens always use IP addresses.
709+
DNS changes will not be detected if this option is enabled.
710+
Existing client connections that break will always reconnect
711+
to the IP of the original host. New clients will connect
712+
to the host's new IP but fail to locate a token.
713+
Disabling this option will allow existing and new clients
714+
to detect an IP change and continue to locate the new host's token.
715+
716+
In secure multi-homed environments, this parameter will need to
717+
be set to false on both cluster servers and clients (see HADOOP-7733).
718+
If it is not set correctly, the symptom will be inability to
719+
submit an application to YARN from an external client
720+
(with error "client host not a member of the Hadoop cluster"),
721+
or even from an in-cluster client if server failover occurs.
722+
</description>
723+
</property>
724+
704725
<property>
705726
<name>hadoop.workaround.non.threadsafe.getpwuid</name>
706727
<value>true</value>

0 commit comments

Comments
 (0)