If its windows machine you need to install:
1. Spark ODBC.
2. MIT kerberos client.
3. Configure MIT client (you need to add environment variables for KRB5_CONFIG -> path to krb5.conf file, KRB5CCNAME -> path to cache file).
Then you will be able to connect kerberizec cluster