Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

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.

Clients issue in Ambari

avatar
Expert Contributor

All the services are up and running, but all these clients are down. How to bring these up manually?

HBase Client,HCat Client,HDFS Client,Hive Client,MapReduce2 Client,Pig,Spark Client,Sqoop,Tez Client,YARN Client,ZooKeeper Client

1 ACCEPTED SOLUTION

avatar

your command should be similar to like below:

curl -u admin:admin -i -H "X-Requested-By: ambari" -X PUT -d '{"HostRoles" : {"state" : "INSTALLED"}}' http://localhost:8080/api/v1/clusters/<Cluster Name>/hosts/<hostName where you have any issue>/host_components/< MAPREDUCE2_CLIENT>

View solution in original post

13 REPLIES 13

avatar

your command should be similar to like below:

curl -u admin:admin -i -H "X-Requested-By: ambari" -X PUT -d '{"HostRoles" : {"state" : "INSTALLED"}}' http://localhost:8080/api/v1/clusters/<Cluster Name>/hosts/<hostName where you have any issue>/host_components/< MAPREDUCE2_CLIENT>

avatar

please provide below details:

Ambari Host Name

Your Cluster Name

Host Name where you client Issue

Ambari User ID

avatar
Expert Contributor

I see the state as installed

HostRoles" : {

    "cluster_name" : "*******",
    "component_name" : "MAPREDUCE2_CLIENT",
    "desired_stack_id" : "HDP-2.3",
    "desired_state" : "INSTALLED",
    "hdp_version" : "HDP-2.3.0.0-2557",
    "host_name" : "***.mark.com",
    "maintenance_state" : "OFF",
    "service_name" : "MAPREDUCE2",
    "stack_id" : "HDP-2.3",
    "stale_configs" : false,
    "state" : "INSTALLED",
    "upgrade_state" : "NONE",
    "actual_configs" : {
      "admin-properties" : {
        "default" : "version1456520259583"

avatar
Expert Contributor

Thank you Divakar