flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] flink issue #2275: FLINK-3929 Support for Kerberos Authentication with Keyta...
Date Fri, 02 Sep 2016 12:12:14 GMT
Github user mxm commented on the issue:

    https://github.com/apache/flink/pull/2275
  
    Yarn tests still not passing:
    
    ```
    2016-09-02 11:35:04,244 ERROR org.apache.flink.yarn.YarnApplicationMasterRunner      
      - YARN Application Master initialization failed
    java.lang.IllegalArgumentException: Can't get Kerberos realm
    	at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:65)
    	at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:275)
    	at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:311)
    	at org.apache.flink.runtime.security.SecurityContext.install(SecurityContext.java:87)
    	at org.apache.flink.yarn.YarnApplicationMasterRunner.run(YarnApplicationMasterRunner.java:167)
    	at org.apache.flink.yarn.YarnApplicationMasterRunner.main(YarnApplicationMasterRunner.java:112)
    Caused by: java.lang.reflect.InvocationTargetException
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:483)
    	at org.apache.hadoop.security.authentication.util.KerberosUtil.getDefaultRealm(KerberosUtil.java:84)
    	at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:63)
    	... 5 more
    Caused by: KrbException: Cannot locate default realm
    	at sun.security.krb5.Config.getDefaultRealm(Config.java:1006)
    	... 11 more
    Caused by: KrbException: Generic error (description in e-text) (60) - Unable to locate
Kerberos realm
    	at sun.security.krb5.Config.getRealmFromDNS(Config.java:1102)
    	at sun.security.krb5.Config.getDefaultRealm(Config.java:987)
    	... 11 more
    ```
    
    
    ```
    2016-09-02 11:34:00,491 ERROR org.apache.flink.shaded.org.apache.curator.ConnectionState
   - Authentication failed
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message