Member since
09-06-2018
1
Post
0
Kudos Received
0
Solutions
09-06-2018
11:51 PM
Hello Guys, i facing same proble too. I am able to list down the file from hdfs [s_hadoop@inggnvcdera1 ~]$ hadoop fs -ls / Found 5 items drwxr-xr-x - hdfs supergroup 0 2018-08-20 13:40 /externaltableslocation drwx------ - hbase hbase 0 2018-09-05 14:54 /hbase drwxrwxr-x - solr solr 0 2018-06-21 22:06 /solr drwxrwxrwt - hdfs supergroup 0 2018-08-09 16:44 /tmp drwxr-xr-x - hdfs supergroup 0 2018-08-20 16:45 /user but when i try to delete the i am getting error as below [root@inggnvcdera1 etc]# sudo -u hdfs hadoop fs -rm /externaltableslocation/servicenow_proactivesla_extb/part-m-00000 18/09/07 12:16:56 WARN security.UserGroupInformation: PriviledgedActionException as:hdfs (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/09/07 12:16:56 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/09/07 12:16:56 WARN security.UserGroupInformation: PriviledgedActionException as:hdfs (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)] rm: Failed on local exception: 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)]; Host Details : local host is: "inggnvcdera1.******.com/10.202.42.106"; destination host is: "inggnvcdera1.******.com":8020; Kindly guide me where i am doning mistake i am not able to find default_cache_** in my krb5.conf file that can i comment root@inggnvcdera1 etc]# cat /etc/krb5.conf [libdefaults] default_realm = GLOBAL.******.NET dns_lookup_kdc = false dns_lookup_realm = false ticket_lifetime = 86400 renew_lifetime = 604800 forwardable = true default_tgs_enctypes = rc4-hmac default_tkt_enctypes = rc4-hmac permitted_enctypes = rc4-hmac udp_preference_limit = 1 kdc_timeout = 3000 [realms] GLOBAL.******.NET = { kdc = inggnvcdera1.******.com admin_server = inggnvcdera1.******.com } [domain_realm] any help will really appreciated.
... View more