Member since
01-12-2016
6
Posts
0
Kudos Received
0
Solutions
01-27-2016
11:06 PM
Hi, Thanks for your reply. Sorry for delay, i was held up with some other tasks. Below is the output of my .../parcels command. But, seems like other service like spark are up and running in the server which is not shown in the .../parcels command. Output of spark when executing clusters/cluster-name/services command is also copied. {
"items" : [ {
"product" : "KAFKA",
"version" : "0.8.2.0-1.kafka1.3.0.p0.29",
"stage" : "DISTRIBUTED",
"clusterRef" : {
"clusterName" : "cluster"
}
}, {
"product" : "IMPALA",
"version" : "1.2.3-1.p0.97",
"stage" : "DISTRIBUTING",
"clusterRef" : {
"clusterName" : "cluster"
}
}, {
"product" : "KAFKA",
"version" : "0.8.2.0-1.kafka1.2.0.p0.2",
"stage" : "ACTIVATED",
"clusterRef" : {
"clusterName" : "cluster"
}
}, {
"product" : "CDH",
"version" : "5.3.0-1.cdh5.3.0.p0.30",
"stage" : "ACTIVATED",
"clusterRef" : {
"clusterName" : "cluster"
}
}, {
"product" : "SOLR",
"version" : "1.1.0-1.cdh4.3.0.p0.21",
"stage" : "DISTRIBUTING",
"clusterRef" : {
"clusterName" : "cluster"
}
}, {
"product" : "oldcdhparcels",
"version" : "",
"stage" : "UNAVAILABLE",
"clusterRef" : {
"clusterName" : "cluster"
}
} ]
} output of clusters/cluster-name/services command {
"name" : "spark",
"type" : "SPARK",
"clusterRef" : {
"clusterName" : "cluster"
},
"serviceUrl" : "http://xxx.com:7180/cmf/serviceRedirect/spark",
"serviceState" : "STARTED",
"healthSummary" : "GOOD",
"healthChecks" : [ ],
"configStale" : false
} Thanks, nks
... View more
01-25-2016
05:29 AM
Hi, Thanks for your reply. Among the 3, option 1 suits my requirement as i'm accessing the value from a Java program using CM API. But with this approach, i'm getting version details of few services only. Eventhough services like hive are up and running, it does not show the version details. Any thoughts? Thanks, nks
... View more
01-25-2016
02:24 AM
Hi, How can i get version of various services (like Hive, Impala etc) using Cloudera Manager API. Say, if i execute "/clusters/{clusterName}/services/{serviceName}" rest api path, i will get details name, healthSummary, serviceState etc. Like this, i need to get version details of all services up and running in cluster. Thanks in advance.
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Impala
-
Cloudera Manager