Windows must be aware of the Kerberos Key Distribution Center (KDC). If the KDC (aka Kerberos ticketing server) is not the Active Directory server used by the Windows workstation where Amp is installed, users must run Ksetup to inform Windows of how to obtain a ticket for connecting to a Kerberized cluster.
This can be accomplished by opening the command line (Start >> cmd) and running the following commands ...
> ksetup /AddKdc <realm> <the host name or IP of Kerberos KDC> > ksetup /AddHostToRealmMap <host name of HiveServer2> <realm> > ksetup /setrealmflags <realm> ncsupported delegate TcpSupported RC4
After running these commands, be sure to reboot Windows in order for the setup to take effect.
*If Metastore is on a different host, repeat /AddHostToRealmMap for that host.
Workbench for Hadoop