java.io.IOException: Couldn't Setup Connection for user@REALM

Problem

The following exception is observed when configuring Datameer or attempting to run jobs: 

javax.servlet.ServletException: java.io.IOException: Failed on local exception: java.io.IOException: Couldn't setup connection for datameer@DATAMEER.COM to myhost.datameer.com/192.168.1.123:8020; Host Details : local host is: "myhost.datameer.com/192.168.1.123"; destination host is: "my-namenode.datameer.com":8020;

Caused by: java.io.IOException: Failed on local exception: java.io.IOException: Couldn't setup connection for datameer@DATAMEER.COM to myhost.datameer.com/192.168.1.123:8020; Host Details : local host is: "myhost.datameer.com/192.168.1.123"; destination host is: "my-namenode.datameer.com":8020;

Caused by: java.io.IOException: Couldn't setup connection for datameer@DATAMEER.COM to ausplcdhmn04.us.dell.com/192.168.225.204:8020 
at org.apache.hadoop.ipc.Client$Connection$1.run(Client.java:680) 
at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) 
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1783) 
at org.apache.hadoop.ipc.Client$Connection.handleSaslConnectionFailure(Client.java:651) 
at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:739) 
at org.apache.hadoop.ipc.Client$Connection.access$2900(Client.java:376) at org.apache.hadoop.ipc.Client.getConnection(Client.java:1525) at org.apache.hadoop.ipc.Client.call(Client.java:1448) ... 165 more 

Caused by: javax.security.sasl.SaslException: No common protection layer between client and server 
at com.sun.security.sasl.gsskerb.GssKrb5Client.doFinalHandshake(GssKrb5Client.java:251)
 at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:186)

Cause

This is a configuration inconsistency between the Datameer Server and the Hadoop environment. In some cases, this is directly related to the dfs.data.transfer.protection property.

Solution

Ensure that the connection properties within the Hadoop environment are populated into the Datameer settings. 

In one example environment, setting dfs.data.transfer.protection=privacy