Member since
02-10-2017
6
Posts
1
Kudos Received
0
Solutions
04-11-2017
03:32 AM
You got it, sir, and thanks. I am now tracing the related code, not feeling good. maybe you have sth. to share with me where-is-the-code-about-varlibambari-agentdatacomm
... View more
04-08-2017
03:23 AM
Thanks for your answer. Yes, what I mean "copy" is the above you said "HBASE2". The advantage is that I can leverage the UI of Ambari for the "HBASE2" service. The solution you suggest is good too. But I need to handle multiple management entrances....... It's a headache for me... What I expect is that ambari has a tool to auto copy and rename the related dir names in component scripts and also service configuration.....But now I know this is a dream....sad....I can handle this by myself, but people is not as reliable as programs. In the end, thanks.
... View more
04-06-2017
09:26 AM
1 Kudo
I want to install multiple hbase cluster in the same ambari cluster, and manage all of the hbase cluster through the same ambari-server UI. Is there any good idea about this, except for copy HBASE service again and again? Copy is not good, because I have to modify some py files to change dir_name, pid_name..etc.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
02-10-2017
11:09 AM
another question: I cannot find SPARK_THRIFTSERVER in /var/lib/ambari-server/resources/common-services/SPARK/1.2.0.2.2/metainfo.xml. Why does it exists in SPARK service?
... View more
02-10-2017
11:01 AM
My original goal is move the component to another node. So I just did as Panwar said in https://community.hortonworks.com/questions/4272/process-for-moving-hdp-services-manually.html.I did not call API in order like Panwar tips: SPARK>:8080/api/v1/clusters/clustername/services/SPARK
curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Component"},"Body":{"HostRoles":{"state":"INSTALLED"}}}' http://:8080/api/v1/clusters/clustername/services/SPARK>:8080/api/v1/clusters/clustername/hosts/<old-host>/host_components/SPARK_JOBHISTORYSERVER
curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://:8080/api/v1/clusters/clustername/services/SPARK>:8080/api/v1/clusters/clustername/services/SPARK/components/SPARK_JOBHISTORYSERVER I delete the component when it's still running: curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://namenode01.will.com:8080/api/v1/clusters/datacenter/services/SPARK/components/SPARK_JOBHISTORYSERVER
then, the component disappeared from the stack. I cannot find it from http://namenode01.will.com:8080/api/v1/clusters/datacenter/services/SPARK/components now: {
"href" : "http://namenode01.will.com:8080/api/v1/clusters/datacenter/services/SPARK/components",
"items" : [
{
"href" : "http://namenode01.will.com:8080/api/v1/clusters/datacenter/services/SPARK/components/SPARK_CLIENT",
"ServiceComponentInfo" : {
"cluster_name" : "datacenter",
"component_name" : "SPARK_CLIENT",
"service_name" : "SPARK"
}
},
{
"href" : "http://namenode01.will.com:8080/api/v1/clusters/datacenter/services/SPARK/components/SPARK_THRIFTSERVER",
"ServiceComponentInfo" : {
"cluster_name" : "datacenter",
"component_name" : "SPARK_THRIFTSERVER",
"service_name" : "SPARK"
}
}
]
} It also disappeared from the UI. So, anybody help me, please?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Spark