Last active
May 2, 2025 13:19
-
-
Save pcheliniy/cd68fbda6f885ff154d23f03ff8f4d90 to your computer and use it in GitHub Desktop.
Revisions
-
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 17 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -82,4 +82,20 @@ http://ambari:8080/api/v1/clusters/analytics/services/STORM | Phoneix Query Server | PHOENIX_QUERY_SERVER | HBASE | 0+ | | Storm Supervisor | SUPERVISOR | STORM | 1+ | | Ganglia Metrics Collector | GANGLIA_MONITOR | GANGLIA | ALL | | Ambari Metrics Collector | METRICS_MONITOR | AMS | ALL | ## Clients | Name | Ambari Component Name | Service | Cardinality | | ------ | ------ | ------ | -----: | | HDFS Client | HDFS_CLIENT | HDFS | 1+ | | YARN Client | YARN_CLIENT | YARN | 1+ | | MapReduce Client | MAPREDUCE2_CLIENT | MAPREDUCE2 | 1+ | | Spark Client | SPARK_CLIENT | SPARK | 1+ | | Falcon Client | FALCON_CLIENT | FALCON | 1+ | | HBase Client | HBASE_CLIENT | HBASE | 1+ | | Hive Client | HIVE_CLIENT | HIVE | 1+ | | HCat Client | HCAT | HIVE | 1+ | | Mahout Client | MAHOUT | MAHOUT | 0+ | | Oozie Client | OOZIE_CLIENT | OOZIE | 1+ | | Sqoop Client | SQOOP | SQOOP | 1+ | | Zookeeper Client | ZOOKEEPER_CLIENT | ZOOKEEPER | 1+ | -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 15 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -68,4 +68,18 @@ http://ambari:8080/api/v1/clusters/analytics/services/STORM | Ganglia Server | GANGLIA_SERVER | GANGLIA | 1 | | Nagios Server | NAGIOS_SERVER | NAGIOS | 1 | | Ambari Metrics Service | METRICS_COLLECTOR | AMS | 1 | | Zeppelin Server | ZEPPELIN_MASTER | SPARK / HIVE | 1 | ## Slave Services | Name | Ambari Component Name | Service | Cardinality | | ------ | ------ | ------ | -----: | | DataNode | DATANODE | HDFS | 1+ | | Journale Nodes for NameNode HA | JOURNALNODE | HDFS | 0+ (odd #) | | Zookeeper Failover Service | ZKFC | HDFS | 0+ | | Secondary NameNode | NFS_GATEWAY | HDFS | 0+ | | Node Manager | NODEMANAGER |YARN | 1+ | | HBase RegionServer | HBASE_REGIONSERVER | HBASE | 1+ | | Phoneix Query Server | PHOENIX_QUERY_SERVER | HBASE | 0+ | | Storm Supervisor | SUPERVISOR | STORM | 1+ | | Ganglia Metrics Collector | GANGLIA_MONITOR | GANGLIA | ALL | | Ambari Metrics Collector | METRICS_MONITOR | AMS | ALL | -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 15 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -54,4 +54,18 @@ http://ambari:8080/api/v1/clusters/analytics/services/STORM | HBase Master | HBASE_MASTER | HBASE | 1+ | | Spark Job History Server | SPARK_JOBHISTORYSERVER | SPARK | 1 | | Nimbus Server | NIMBUS | STORM | 1 | | Storm REST Server | STORM_REST_API | STORM | 1 | | Storm UI | STORM_UI_SERVER | STORM | 1 | | | DRPC Server | DRPC_SERVER | STORM | 1 | | Falcon Server | FALCON_SERVER | FALCON | 1 | | Zookeeper | ZOOKEEPER_SERVER | ZOOKEEPER | 1+ (odd #) | | Kafka Broker | KAFKA_BROKER | KAFKA | 1+ | | Knox Gateway | KNOX_GATEWAY | KNOX | 1+ | | Ranger Admin Server | RANGER_ADMIN | RANGER | 1-3 | | Ranger User Sync | RANGER_USERSYNC | RANGER | 1 | | Ranger Key Management Server | RANGER_KMS_SERVER | RANGER_KMS | 1+ | | Oozie Server | OOZIE_SERVER | OOZIE | 1 | | Ganglia Server | GANGLIA_SERVER | GANGLIA | 1 | | Nagios Server | NAGIOS_SERVER | NAGIOS | 1 | | Ambari Metrics Service | METRICS_COLLECTOR | AMS | 1 | | Zeppelin Server | ZEPPELIN_MASTER | SPARK / HIVE | 1 | -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 17 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,3 +38,20 @@ http://ambari:8080/api/v1/clusters/analytics/services/STORM | UPGRADING | In the process of upgrading the deployed bits. | | DISABLED | Disabled master’s backup state. | | UNKNOWN | State could not be determined. | ##Master Services | Name | Ambari Component Name | Service | Cardinality | | ------ | ------ | ------ | -----: | | NameNode | NAMENODE | HDFS | 1-2 | | Secondary NameNode | SECONDARY_NAMENODE | HDFS | 1 | | ResourceManger | RESOURCEMANAGER | YARN | 1-2 | | Application Timeline Server | APP_TIMELINE_SERVER | YARN | 1 | | HistoryServer | HISTORYSERVER | MAPREDUCE2 | 1 | | Hive Metastore | HIVE_METASTORE | HIVE | 1-2 | | HiveServer2 | HIVE_SERVER | HIVE | 1-2 | | WebHcat Server | WEBHCAT_SERVER | HIVE | 1 | | HBase Master | HBASE_MASTER | HBASE | 1+ | | Spark Job History Server | SPARK_JOBHISTORYSERVER | SPARK | 1 | | Nimbus Server | NIMBUS | STORM | 1 | | Storm REST Server | STORM_REST_API | STORM | 1 | -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 14 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,11 +4,22 @@ curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE \ http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS ~~~ ##### Add new componentns not attached to host ~~~ curl -u admin:admin -H "X-Requested-By: ambari" -X POST \ http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS ~~~ ##### attach components to new host ~~~ curl -u admin:admin -H "X-Requested-By: ambari" -X POST \ -d '{"host_components" : [{"HostRoles":{"component_name":"NIMBUS"}}] }' \ http://ambari:8080/api/v1/clusters/analytics/hosts?Hosts/host_name=hdp.new.host ~~~ ##### change status to installed ~~~ curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT \ -d '{"ServiceInfo": {"state" : "INSTALLED"}}' \ http://ambari:8080/api/v1/clusters/analytics/services/STORM ~~~ ## States -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ ##### remove components ~~~ curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE \ http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS ~~~ ##### Add new componentns not attached to host curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ ##### remove components ~~~ curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS ~~~ ##### Add new componentns not attached to host curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS ##### attach components to new host -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ ##### remove components curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS ##### Add new componentns not attached to host curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS ##### attach components to new host curl -u admin:admin -H "X-Requested-By: ambari" -X POST -d '{"host_components" : [{"HostRoles":{"component_name":"NIMBUS"}}] }' http://ambari:8080/api/v1/clusters/analytics/hosts?Hosts/host_name=hdp.new.host ##### change status to installed curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' http://ambari:8080/api/v1/clusters/analytics/services/STORM ## States -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #####remove components curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS # Add new componentns not attached to host curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ###remove components curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS # Add new componentns not attached to host curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #remove components curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS # Add new componentns not attached to host curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS -
pcheliniy renamed this gist
Aug 18, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,8 +7,9 @@ curl -u admin:admin -H "X-Requested-By: ambari" -X POST -d '{"host_components" : # change status to installed curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' http://ambari:8080/api/v1/clusters/analytics/services/STORM ## States | State | Description | | ------ | -----: | | INIT | Initial/Clean state. | | INSTALLING | In the process of installing. | -
pcheliniy revised this gist
Aug 18, 2016 . 1 changed file with 15 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,17 +8,18 @@ curl -u admin:admin -H "X-Requested-By: ambari" -X POST -d '{"host_components" : curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' http://ambari:8080/api/v1/clusters/analytics/services/STORM States | State Description | ------ | -----: | | INIT | Initial/Clean state. | | INSTALLING | In the process of installing. | | INSTALL_FAILED | Install failed. | | INSTALLED | State when install completed successfully. | | STARTING | In the process of starting. | | STARTED | State when start completed successfully. | | STOPPING | In the process of stopping. | | UNINSTALLING | In the process of uninstalling. | | UNINSTALLED | State when uninstall completed successfully. | | WIPING_OUT | In the process of wiping out the install. | | UPGRADING | In the process of upgrading the deployed bits. | | DISABLED | Disabled master’s backup state. | | UNKNOWN | State could not be determined. | -
pcheliniy created this gist
Aug 18, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ # remove components curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS # Add new componentns not attached to host curl -u admin:admin -H "X-Requested-By: ambari" -X POST http://ambari:8080/api/v1/clusters/analytics/services/STORM/components/NIMBUS # attach components to new host curl -u admin:admin -H "X-Requested-By: ambari" -X POST -d '{"host_components" : [{"HostRoles":{"component_name":"NIMBUS"}}] }' http://ambari:8080/api/v1/clusters/analytics/hosts?Hosts/host_name=hdp.new.host # change status to installed curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' http://ambari:8080/api/v1/clusters/analytics/services/STORM States State Description INIT Initial/Clean state. INSTALLING In the process of installing. INSTALL_FAILED Install failed. INSTALLED State when install completed successfully. STARTING In the process of starting. STARTED State when start completed successfully. STOPPING In the process of stopping. UNINSTALLING In the process of uninstalling. UNINSTALLED State when uninstall completed successfully. WIPING_OUT In the process of wiping out the install. UPGRADING In the process of upgrading the deployed bits. DISABLED Disabled master’s backup state. UNKNOWN State could not be determined.