<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Service Auto Start Configuration by API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176163#M138415</link>
    <description>&lt;P&gt;&lt;STRONG&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;   To get all the components "recovery_enabled"  status:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -H "X-Requested-By: ambari" -u admin:admin -X GET &lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&amp;amp;minimal_response=true&amp;lt;br&amp;gt;" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&amp;amp;minimal_response=true&amp;lt;br&amp;gt;&lt;/A&gt;;&lt;/PRE&gt;</description>
    <pubDate>Mon, 04 Sep 2017 23:05:23 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-09-04T23:05:23Z</dc:date>
    <item>
      <title>Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176156#M138408</link>
      <description>&lt;P&gt;Ambari services can be configured to start automatically on system boot. Each service can be configured to start all components, masters and workers, or selectively.&lt;/P&gt;&lt;P&gt;so how to enable all services in ambari cluster to start automatically on system boot by API ?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 21:37:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176156#M138408</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T21:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176157#M138409</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For various components (of different services) the "auto service" can be enabled as following:&lt;/P&gt;&lt;PRE&gt;curl -H "X-Requested-By: ambari" -u admin:admin -X PUT -d '{"RequestInfo":{"query":"ServiceComponentInfo/component_name.in(APP_TIMELINE_SERVER,NODEMANAGER,RESOURCEMANAGER,ATLAS_SERVER,DATANODE,NAMENODE,NFS_GATEWAY,SECONDARY_NAMENODE,DRPC_SERVER,NIMBUS,STORM_UI_SERVER,SUPERVISOR,FALCON_SERVER,FLUME_HANDLER,HBASE_MASTER,HBASE_REGIONSERVER,HISTORYSERVER,HIVE_METASTORE,HIVE_SERVER,WEBHCAT_SERVER,INFRA_SOLR,KAFKA_BROKER,KNOX_GATEWAY,LIVY2_SERVER,SPARK2_JOBHISTORYSERVER,SPARK2_THRIFTSERVER,LIVY_SERVER,SPARK_JOBHISTORYSERVER,SPARK_THRIFTSERVER,LOGSEARCH_LOGFEEDER,LOGSEARCH_SERVER,METRICS_COLLECTOR,METRICS_GRAFANA,METRICS_MONITOR,OOZIE_SERVER,RANGER_ADMIN,RANGER_TAGSYNC,RANGER_USERSYNC,ZEPPELIN_MASTER,ZOOKEEPER_SERVER)"},"ServiceComponentInfo":{"recovery_enabled":"true"}}'  &lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/components" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/components&lt;/A&gt;?&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;After executing the above API call , you can see the following kind of entry inside your "/var/log/ambari-server/ambari-server.log" which shows how to auto start is enabled on these services &amp;amp; components:&lt;/P&gt;&lt;PRE&gt;
04 Sep 2017 15:46:44,016  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HDFS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,016  INFO [ambari-client-thread-27] AbstractResourceProvider:544 - Operations cannot be applied to component NFS_GATEWAY because service HDFS is in the maintenance state of ON
04 Sep 2017 15:46:44,016  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HIVE, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,016  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: HIVE_METASTORE, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,017  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HDFS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,017  INFO [ambari-client-thread-27] AbstractResourceProvider:544 - Operations cannot be applied to component DATANODE because service HDFS is in the maintenance state of ON
04 Sep 2017 15:46:44,017  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=LOGSEARCH, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,017  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: LOGSEARCH_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,017  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=RANGER, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,018  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: RANGER_USERSYNC, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,018  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=YARN, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,018  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: RESOURCEMANAGER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,018  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=YARN, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,018  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: NODEMANAGER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,019  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=OOZIE, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,019  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: OOZIE_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,019  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HDFS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,019  INFO [ambari-client-thread-27] AbstractResourceProvider:544 - Operations cannot be applied to component NAMENODE because service HDFS is in the maintenance state of ON
04 Sep 2017 15:46:44,019  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=AMBARI_METRICS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,020  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: METRICS_MONITOR, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,020  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=SPARK2, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,020  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: SPARK2_THRIFTSERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,020  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=STORM, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,020  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: DRPC_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,021  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=FLUME, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,021  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: FLUME_HANDLER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,021  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=SPARK2, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,021  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: LIVY2_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,022  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=LOGSEARCH, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,022  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: LOGSEARCH_LOGFEEDER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,022  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=KAFKA, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,022  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: KAFKA_BROKER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,023  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=MAPREDUCE2, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,023  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: HISTORYSERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,023  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=ZOOKEEPER, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,023  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: ZOOKEEPER_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,023  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HIVE, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,024  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: WEBHCAT_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,024  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HDFS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,024  INFO [ambari-client-thread-27] AbstractResourceProvider:544 - Operations cannot be applied to component SECONDARY_NAMENODE because service HDFS is in the maintenance state of ON
04 Sep 2017 15:46:44,024  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=FALCON, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,025  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: FALCON_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,025  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=STORM, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,025  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: STORM_UI_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,025  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=STORM, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,026  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: SUPERVISOR, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,026  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=AMBARI_METRICS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,026  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: METRICS_GRAFANA, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,026  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=YARN, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,027  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: APP_TIMELINE_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,027  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=SPARK, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,027  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: SPARK_JOBHISTORYSERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,028  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=SPARK2, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,029  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: SPARK2_JOBHISTORYSERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,030  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HBASE, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,031  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: HBASE_MASTER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,031  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=RANGER, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,031  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: RANGER_ADMIN, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,032  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=AMBARI_INFRA, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,032  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: INFRA_SOLR, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,032  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HIVE, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,032  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: HIVE_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,033  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=SPARK, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,033  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: LIVY_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,033  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=KNOX, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,033  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: KNOX_GATEWAY, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,034  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=ATLAS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,034  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: ATLAS_SERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,034  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=ZEPPELIN, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,049  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: ZEPPELIN_MASTER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,049  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=RANGER, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,050  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: RANGER_TAGSYNC, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,050  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=STORM, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,050  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: NIMBUS, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,050  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=HBASE, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,050  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: HBASE_REGIONSERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,051  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=SPARK, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,051  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: SPARK_THRIFTSERVER, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,051  INFO [ambari-client-thread-27] AbstractResourceProvider:516 - Received a updateComponent request: [clusterName=Sandbox, serviceName=AMBARI_METRICS, componentName=Sandbox, desiredState=null, recoveryEnabled=true, componentCategory=null]
04 Sep 2017 15:46:44,051  INFO [ambari-client-thread-27] AbstractResourceProvider:559 - Component: METRICS_COLLECTOR, oldRecoveryEnabled: false, newRecoveryEnabled true
04 Sep 2017 15:46:44,161  INFO [ambari-client-thread-27] AmbariManagementControllerImpl:2597 - Created 0 stages
04 Sep 2017 15:46:44,683  INFO [qtp-ambari-agent-39] HeartBeatHandler:289 - Recovery configuration set to RecoveryConfig{, type=AUTO_START, maxCount=6, windowInMinutes=60, retryGap=5, maxLifetimeCount=1024, components=INFRA_SOLR,INFRA_SOLR_CLIENT,METRICS_MONITOR,METRICS_COLLECTOR,METRICS_GRAFANA,ATLAS_CLIENT,ATLAS_SERVER,FALCON_CLIENT,FALCON_SERVER,FLUME_HANDLER,HBASE_CLIENT,HBASE_MASTER,HBASE_REGIONSERVER,HIVE_METASTORE,HIVE_SERVER,HIVE_CLIENT,WEBHCAT_SERVER,KAFKA_BROKER,KNOX_GATEWAY,LOGSEARCH_LOGFEEDER,LOGSEARCH_SERVER,HISTORYSERVER,MAPREDUCE2_CLIENT,OOZIE_SERVER,OOZIE_CLIENT,PIG,RANGER_ADMIN,RANGER_TAGSYNC,RANGER_USERSYNC,SLIDER,SPARK_CLIENT,SPARK_JOBHISTORYSERVER,LIVY_SERVER,LIVY2_SERVER,SPARK2_THRIFTSERVER,SPARK2_CLIENT,SPARK2_JOBHISTORYSERVER,SQOOP,SUPERVISOR,NIMBUS,DRPC_SERVER,STORM_UI_SERVER,TEZ_CLIENT,NODEMANAGER,YARN_CLIENT,APP_TIMELINE_SERVER,RESOURCEMANAGER,ZEPPELIN_MASTER,ZOOKEEPER_SERVER,ZOOKEEPER_CLIENT, recoveryTimestamp=1504540004674}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 22:47:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176157#M138409</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-04T22:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176158#M138410</link>
      <description>&lt;P&gt;I run the API but from ambari GUI I not see any diff ( is like all services are disabled ) &lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 22:55:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176158#M138410</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T22:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176159#M138411</link>
      <description>&lt;P&gt;is it possible to verify that all services and components are enabled by API ? ( not from log )&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 22:58:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176159#M138411</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T22:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176160#M138412</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The mentioned API call will work only on ambari 2.5.x and above.&lt;/P&gt;&lt;P&gt;The services / components should not be in maintenance mode else the recovery_enabled might not work.&lt;/P&gt;&lt;P&gt;Also if you want to see the difference then try changing the following part of the PUT  request to true and then false and then re run the API call.&lt;/P&gt;&lt;PRE&gt;"ServiceComponentInfo":{"recovery_enabled":"true"}
TO
"ServiceComponentInfo":{"recovery_enabled":"false"}&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 22:59:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176160#M138412</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-04T22:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176161#M138413</link>
      <description>&lt;P&gt;for testing I guess the ideal test is to reboot the master machines and see all services are up ( include the componets ) ? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:01:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176161#M138413</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T23:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176162#M138414</link>
      <description>&lt;P&gt;we have version 2.6 , but when from ambari GUI we select ADMIN --&amp;gt; service auto restart we see ( &lt;STRONG&gt;Auto-Start Services&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;Disabled ) &lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:04:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176162#M138414</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T23:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176163#M138415</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;   To get all the components "recovery_enabled"  status:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -H "X-Requested-By: ambari" -u admin:admin -X GET &lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&amp;amp;minimal_response=true&amp;lt;br&amp;gt;" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&amp;amp;minimal_response=true&amp;lt;br&amp;gt;&lt;/A&gt;;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:05:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176163#M138415</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-04T23:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176164#M138416</link>
      <description>&lt;P&gt;why the "&amp;lt;br&amp;gt;" in the end of API?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:13:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176164#M138416</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T23:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176165#M138417</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's a type mistake , please remove the &amp;lt;br&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;curl -H "X-Requested-By: ambari" -u admin:admin -X GET &lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&amp;amp;minimal_response=true" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&amp;amp;minimal_response=true&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:16:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176165#M138417</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-04T23:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176166#M138418</link>
      <description>&lt;P&gt;now the API runs but not return prompt ( only after ENTER we get prompt )&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:19:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176166#M138418</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T23:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176167#M138419</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/38508-capture.png"&gt;capture.png&lt;/A&gt;    see the PIC above , why  after API the &lt;STRONG&gt;Auto-Start Services still disable from the GUI ?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:22:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176167#M138419</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T23:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176168#M138420</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;P&gt;Because there is   &amp;amp;  symbol in the API call to Shell is taking it differently. So to avoid that please put the whole URL inside Quotation mark as following:&lt;/P&gt;&lt;PRE&gt;# curl -H "X-Requested-By: ambari" -u admin:admin -X GET "http://localhost:8080/api/v1/clusters/Sandbox/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/categoy,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&amp;amp;minimal_response=true"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:23:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176168#M138420</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-04T23:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Service Auto Start Configuration by API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176169#M138421</link>
      <description>&lt;P&gt;another note the components - JournalNode,ZKFailoverController are still disable &lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 23:48:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Service-Auto-Start-Configuration-by-API/m-p/176169#M138421</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-09-04T23:48:33Z</dc:date>
    </item>
  </channel>
</rss>

