Got it

Hive Authentication Failed on a Shell Client

Latest reply: Jun 8, 2018 06:36:39 1017 3 2 0 0
 

"authentication failed" Displayed on a Shell Client

 

Symptom

In a cluster of the secure edition, HiveServer is normal. However, after the beeline command is run on a Shell client, the login fails, and authentication failed is displayed. The detailed information is as follows:

 

Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false 
Acquire TGT from Cache 
Credentials are no longer valid 
Principal is null 
null credentials from Ticket Cache 
[Krb5LoginModule] authentication failed
No password provided
 

Possible Causes

  • Kerberos authentication for the account is not performed.
  • Kerberos authentication account expires.

 

Troubleshooting Methods

  1. Perform Kerberos authentication again for the client user.
  2. Log in to the client again after the authentication.
  3. It takes about 1 minutes to rectify the fault.

 

Procedures

  1. Use the PuTTY to log in to the node where the Hive client is installed as user root.
  2. Run the following command to enter the client installation directory, for example, /opt/client.

    cd /opt/client

  3. Run the source bigdata_env command to configure the environment variables.
  4. Run the following command:

    kinit component service user

    **NOTE: The component service user can be created by the system administrator as required. Change the password of the component service user at the first login.
  5. Run the beeline command to log in to the Hive client.

 

 

Very nice!Hive Authentication Failed on a Shell Client-2680031-1
View more
  • x
  • convention:

thank for sharing Hive Authentication Failed on a Shell Client-2680037-1
View more
  • x
  • convention:

very usfule
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.