Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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