java.io.IOException: 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: "ip-172-31-40-120.us <http://ip-172-31-40-120.us/>-west-2.co <http://west-2.co/>mpute.internal/172.31.40.120 <http://172.31.40.120/>"; destination host is: "ip-172-31-37-123.us <http://ip-172-31-37-123.us/>-west-2.co <http://west-2.co/>mpute.internal":8020; at org.apache.hadoop.net <http://org.apache.hadoop.net/>.NetUtils.wrapException(NetUtils.java:772)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 1 year ago
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: "ip-172
via hadoop-common-user by Aaron Kimball, 6 months ago
Call to /192.168.1.55:9000 failed on local exception: No route to host
via Google Groups by Chen Song, 1 year ago
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: "<worker node>/<ip>"; destination host is: "<namenode>":8020; at org.apache.hadoop.net.NetUtils .wrapException(NetUtils.java:772)
via apache.org by Unknown author, 2 years ago
Call to localhost/127.0.0.1:8012 failed on local exception: java.net.ConnectException: Connection refused
via Google Groups by Zhitao Yan, 2 years ago
Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: callId, status; Host Details : local host is: "lxdatanode02/ 10.10.0.144"; destination host is: "lxjournalnode":8032;   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:761)
via hadoop-common-user by Alvaro Cabrerizo, 6 months ago
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)]

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.