Affects Version/s: 3.1.1
Fix Version/s: None
Let me explain the environment for a description.
We configured the secure clusters and federated them.
- NameNode1 : nn/_HOST@TEST1.COM
- NameNode2 : nn/_HOST@TEST2.COM
- DataNodes : dn/_HOST@TEST2.COM
But DataNodes could not connect to NameNode1 with below error.
We have avoided the error with attached patch.
The patch checks only using username and hostname except realm.
I think there is no problem. Because if realms are different and no cross-realm setting, they cannot communication each other. If you are worried about this, please let me know.
In the long run, it would be better if I could set multiple realms for authorize. Like this;