Ad Widget

Collapse

Kerberos

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lolodu13
    Junior Member
    • Aug 2018
    • 8

    #1

    Kerberos

    Hi guys,

    I need your help

    I have this command working well in shell with user zabbix but not with system.run

    [zabbix@redshirt~] kinit -kt /etc/zabbix/zabbix.keytab xxx-monitoring | hdfs dfs -cat /user/xxx-monitoring/catfile.txt
    1

    and then on zabbix:


    system.run[kinit -kt /etc/zabbix/zabbix.keytab xxx-monitoring | hdfs dfs -cat /user/xxx-monitoring/catfile.txt]


    error:

    kinit: Key table file '/etc/zabbix/zabbix.keytab' not found while getting initial credentials
    18/10/03 15:13:58 WARN security.UserGroupInformation: PriviledgedActionException as:zabbix (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    18/10/03 15:13:58 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    18/10/03 15:13:58 WARN security.UserGroupInformation: PriviledgedActionException as:zabbix (auth:KERBEROS) cause:java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    18/10/03 15:13:58 WARN security.UserGroupInformation: PriviledgedActionException as:zabbix (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    18/10/03 15:13:58 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    18/10/03 15:13:58 WARN security.UserGroupInformation: PriviledgedActionException as:zabbix (auth:KERBEROS) cause:java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
    18/10/03 15:13:58 INFO retry.RetryInvocationHandler: Exception while invoking getFileInfo of class ClientNamenodeProtocolTranslatorPB over hosntame.com/10.231.26.226:8020 after 1 fail over attempts. Trying to fail over immediately.
    java.io.IOException: Failed on local exception: java


    thanks for your help.
    Last edited by lolodu13; 03-10-2018, 15:30.
Working...