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.
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.