One weird thing which I have observed is when I execute below curl command, in
few return responses I get this weird line in between of the response JSON
"serial8250: too much work for irq4"
How to generate this error:
Execute below command for more than 5-6 times and you will get this line
returned in one of the responses.
Sample Output response:-
...
{
"href" : "https://<amabri-server>/api/v1/clusters/CLUSTER/services/YARN",
"ServiceInfo" : {
"cluster_name" : "CLUSTER",
"service_name" : "YARN",
"state" : "STARTED"
}
},
serial8250: too much work for irq4
{
"href" :
"https://<ambari-server>/api/v1/clusters/CLUSTER/services/ZOOKEEPER",
"ServiceInfo" : {
"cluster_name" : "CLUSTER",
"service_name" : "ZOOKEEPER",
"state" : "STARTED"
}
}
]
}
Probably, I will have to report this as an error.
NOTE:
I am using Ambari 1.7.0 with HDP 2.2
Please let me know if any additional information is required.
Thanks,
Pratik Gadiya
From: Pratik Gadiya [mailto:[email protected]]
Sent: Sunday, April 19, 2015 11:09 PM
To: [email protected]
Subject: Ambari Cluster Monitoring
Hi All,
I have provisioned a cluster using Ambari Rest API's and I want to monitor the
progress of the cluster deployment.
Basically, I want to check if the deployment was successful and all the
services are up and running.
One way could be to check the state of the services, if all the services are in
STARTED state then we can confirm that the deployment is COMPLETED and
successful.
$ curl -X GET -H "X-Requested-By: ambari" -u admin:admin
https://<ambari_server>/api/v1/clusters/<cluster_name>/services/?fields=ServiceInfo/state<https://%3cambari_server%3e/api/v1/clusters/%3ccluster_name%3e/services/?fields=ServiceInfo/state>
Please let me know if there is any other way to check the same.
NOTE: Instead of pointing to a general link which describes all the REST calls
for Ambari, I would appreciate if someone could clarify if there is any other
approach with an example or command
Regards,
Pratik Gadiya
DISCLAIMER ========== This e-mail may contain privileged and confidential
information which is the property of Persistent Systems Ltd. It is intended
only for the use of the individual or entity to which it is addressed. If you
are not the intended recipient, you are not authorized to read, retain, copy,
print, distribute or use this message. If you have received this communication
in error, please notify the sender and delete all copies of this message.
Persistent Systems Ltd. does not accept any liability for virus infected mails.
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Ltd. It is intended only for the use of the
individual or entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy, print, distribute or
use this message. If you have received this communication in error, please
notify the sender and delete all copies of this message. Persistent Systems
Ltd. does not accept any liability for virus infected mails.