Please help me to understand why I have problem with datanode connection below:
WARN server.AuthenticationFilter (AuthenticationFilter.java:doFilter(588)) - Authentication exception: org.apache.hadoop.security.authentication.client.AuthenticationException: GSS Exception: Failure unspecified at GSS-API level (Mechanism level: Checksum failed) WARN datanode.DataNode (BPServiceActor.java:retrieveNamespaceInfo(227)) - Problem connecting to server: s--t-..ru/10.243..*:8020
I have kerberized cluster and everything works fine but I need to add new datanode and I have connection problem only with new datanode. On namenode I have next messages:
INFO ipc.Server (Server.java:authorizeConnection(2235)) - Connection from 10.243.218.16:33435 for protocol org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol is unauthorized for user dn/s--t-..ru@.RU (auth:PROXY) via $J4LB00-3PQ0LQ7EGVSG@.RU (auth:KERBEROS) 2020-02-05 09:37:20,172 INFO ipc.Server (Server.java:doRead(1006)) - Socket Reader #1 for port 8020: readAndProcess from client 10.243.218.16 threw exception [org.apache.hadoop.security.authorize.AuthorizationException: User: $J4LB00-3PQ0LQ7EGVSG@.RU is not allowed to impersonate dn/s--t-..ru@.RU]
So what the most interesting things it is a User: $J4LB00-3PQ0LQ7EGVSG@.RU it the same dn/s--t-..ru user but pre-win 2000 logon name
Is it right things? What else interesting i don't have problem with other elder datanode only with this one.
hadoop.proxyuser.hdfs.groupsandhadoop.proxyuser.hdfs.hostsare both*? - mazaneichahadoop.security.auth_to_localand/Lto lowercase the name? - mazaneichaHTTP/host@Realm-- herednstands for DataNode) ; you must create a dummy account, then "attach" a SPN to it. And a single SPN otherwise Java fails to manage the connection later. I guess your AD admin messed up the account creation or keytab retrieval, that stuff should be automated via Cloudera Manager or Ambari. - Samson Scharfrichter