Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How to restart hive-server2

avatar
New Member

While I was having issue setting up the RHive package in HDP 2.4, I was advised to restart hive-server2 after I made some changes in the hive-site.xml file. According to the hortonworks doc, I can do that on the Ambari UI with the "Service Actions" dropdown menu, but I could not find it anywhere on the UI. I've attached a screenshot of my Ambari page as well as a screenshot from the doc.

5851-my-ambari-ui.png

5852-screenshot-from-doc.png

Any idea what's going on here? Or ways to restart hive-server2 with command line? Thanks in advance!

1 ACCEPTED SOLUTION

avatar
Super Guru

can you try login with admin user.

View solution in original post

7 REPLIES 7

avatar
Super Guru

can you try login with admin user.

avatar
New Member

I wasn't able to log in as admin with the same username and password that I used to log into sandbox as root...

avatar
Super Guru

@jj

@JJ Yang after ssh into the box you can set the password for admin by running this command

ambari-admin-password-reset

avatar
New Member

It worked! Even though did not resolve my problem, but I was able to restart Hive. Thank you for the help!

avatar

@JJ Yang

maria_dev has only read_only access for Ambari. Either log in as admin/admin or follow the link and 2.2 SETUP AMBARI ADMIN PASSWORD MANUALLY

avatar
New Member

Hi @JJ Yang

On the Ambari UI, when you select hive component, go to summary tab. You will see services like the ones below:

5853-screen-shot-2016-07-18-at-125149-pm.png

Then click on Hiverserver2 , it will take you to the following :

5854-screen-shot-2016-07-18-at-125303-pm.png

You can restart the service from here.

Hope this helps.

avatar
Master Guru