daipeng1104 commented on issue #4809:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/4809#issuecomment-785531614


   > @daipeng1104
   > Check that YARN IP (192.168.1.55,192.168.1.56) is valid
   > 
   > Application by accessing http://192.168.1.55:8088/ws/v1/cluster/info and 
http://192.168.1.56:8088/ws/v1/cluster/info to detect the state determine the 
survival of the ResourceManager
   > Look through you provide log, 192.168.1.55, 192.168.1.56 invalid IP, to 
active the ResourceManager
   
   I found the reason in the source code. In Ha mode,  
YarnHAAdminUtils.getAcitveRMName  called to detect the active RM  .     but  
when kerberos http authentication enabled  (core-site.xml),  the method will 
always return null . The reason is because the HttpUtils.get(url) can not get 
result when kerberos http authentication enabled .    
   
   in the dev branch, the KerberosHttpClient can solve the problem.  but  
YarnHAAdminUtils.getRMState methods need to be modified to adapt  kerberos http 
authentication by call KerberosHttpClient.get() .


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to