<?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: After restarting services again stoped repatedly but keep running on background in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110452#M30210</link>
    <description>&lt;P&gt;yes i m trying to restart the services from ambari ui&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2016 18:53:22 GMT</pubDate>
    <dc:creator>vishal2159</dc:creator>
    <dc:date>2016-05-31T18:53:22Z</dc:date>
    <item>
      <title>After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110446#M30204</link>
      <description>&lt;P&gt;I m trying to start services in ambari at a time start the all services but after few minutes again stop but still keep running on background as like &lt;/P&gt;&lt;P&gt;[root@D-9063 ~]# ps aux | grep kafka
kafka  15868  0.7  4.7 5353180 385024 ?  Sl  15:02  0:09 /usr/jdk64/jdk1.8.0_40/bin/java -Xmx1G -Xms1G -server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true -Xloggc:/var/log/kafka/kafkaServer-gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dkafka.logs.dir=/var/log/kafka -Dlog4j.configuration=file:/usr/hdp/2.3.4.7-4/kafka/bin/../config/log4j.properties -cp :/usr/hdp/2.3.4.7-4/kafka/bin/../libs/* kafka.Kafka /usr/hdp/2.3.4.7-4/kafka/config/server.properties
root  22346  0.0  0.0 112648  952 pts/1  S+  15:23  0:00 grep --color=auto kafka&lt;/P&gt;&lt;P&gt;and as like same another&lt;/P&gt;&lt;P&gt;please give me helpful answer.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 16:54:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110446#M30204</guid>
      <dc:creator>vishal2159</dc:creator>
      <dc:date>2016-05-31T16:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110447#M30205</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/10526/vishal2159.html" nodeid="10526"&gt;@vishal patil&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please check if you have same pid under *.pid file each component which is having issue?&lt;/P&gt;&lt;PRE&gt;ls -l /var/run/*/*.pid&lt;/PRE&gt;&lt;P&gt;Do you see any error on Ambari UI under running tasks tab when restarting the service?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 17:03:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110447#M30205</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-31T17:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110448#M30206</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10526/vishal2159.html" nodeid="10526"&gt;@vishal patil&lt;/A&gt; &lt;/P&gt;&lt;P&gt;In addition to what &lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt; mentioned pls check this also -&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/18088/ambari-shows-hdp-services-to-be-down-whereas-they.html" target="_blank"&gt;https://community.hortonworks.com/articles/18088/ambari-shows-hdp-services-to-be-down-whereas-they.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 17:08:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110448#M30206</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-05-31T17:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110449#M30207</link>
      <description>&lt;P&gt;Hi sagar ,&lt;/P&gt;&lt;P&gt;I have already tried these step but problem still there not solve..&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 17:20:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110449#M30207</guid>
      <dc:creator>vishal2159</dc:creator>
      <dc:date>2016-05-31T17:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110450#M30208</link>
      <description>&lt;P&gt;Hi Jitendra ,&lt;/P&gt;&lt;P&gt;in zookeeper task tab get these logs &lt;/P&gt;&lt;PRE&gt;2016-05-31 15:55:00,868 - Directory['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts/'] {'recursive': True}
2016-05-31 15:55:00,868 - File['/var/lib/ambari-agent/data/tmp/AMBARI-artifacts//jce_policy-8.zip'] {'content': DownloadSource('http://D-9063:8080/resources//jce_policy-8.zip')}
2016-05-31 15:55:00,869 - Not downloading the file from &lt;A href="http://D-9063:8080/resources//jce_policy-8.zip" target="_blank"&gt;http://D-9063:8080/resources//jce_policy-8.zip&lt;/A&gt;, because /var/lib/ambari-agent/data/tmp/jce_policy-8.zip already exists
2016-05-31 15:55:00,869 - Group['spark'] {'ignore_failures': False}
2016-05-31 15:55:00,869 - Group['hadoop'] {'ignore_failures': False}
2016-05-31 15:55:00,869 - Group['users'] {'ignore_failures': False}
2016-05-31 15:55:00,870 - User['storm'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,870 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,870 - User['spark'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,871 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
2016-05-31 15:55:00,871 - User['kafka'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,872 - User['hdfs'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,872 - User['yarn'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,873 - User['mapred'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,873 - User['hbase'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
2016-05-31 15:55:00,873 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2016-05-31 15:55:00,874 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2016-05-31 15:55:00,878 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] due to not_if
2016-05-31 15:55:00,878 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'recursive': True, 'mode': 0775, 'cd_access': 'a'}
2016-05-31 15:55:00,878 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2016-05-31 15:55:00,879 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'}
2016-05-31 15:55:00,883 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] due to not_if
2016-05-31 15:55:00,883 - Group['hdfs'] {'ignore_failures': False}
2016-05-31 15:55:00,883 - User['hdfs'] {'ignore_failures': False, 'groups': [u'hadoop', u'hdfs']}
2016-05-31 15:55:01,077 - Skipping Execute['source /usr/hdp/current/zookeeper-server/conf/zookeeper-env.sh ; env ZOOCFGDIR=/usr/hdp/current/zookeeper-server/conf ZOOCFG=zoo.cfg /usr/hdp/current/zookeeper-server/bin/zkServer.sh start'] due to not_if&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 May 2016 17:28:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110450#M30208</guid>
      <dc:creator>vishal2159</dc:creator>
      <dc:date>2016-05-31T17:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110451#M30209</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/10526/vishal2159.html" nodeid="10526"&gt;@vishal patil&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you trying to start or restart the service from Ambari UI?&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 17:49:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110451#M30209</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-31T17:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110452#M30210</link>
      <description>&lt;P&gt;yes i m trying to restart the services from ambari ui&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 18:53:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110452#M30210</guid>
      <dc:creator>vishal2159</dc:creator>
      <dc:date>2016-05-31T18:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110453#M30211</link>
      <description>&lt;P&gt;Try restarting ambari server/agent and see if this shows same issue.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 19:06:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110453#M30211</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-31T19:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110454#M30212</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/10526/vishal2159.html" nodeid="10526"&gt;@vishal patil&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How much memory is allocated to your machine?&lt;/P&gt;&lt;P&gt;I'm curious to see what kind of GC times you have in /var/log/kafka/kafkaServer-gc.log - what CMS (Concurrent Mark Sweep) are you seeing?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 04:24:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110454#M30212</guid>
      <dc:creator>RyanCicak</dc:creator>
      <dc:date>2016-06-01T04:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110455#M30213</link>
      <description>&lt;DL&gt;
&lt;DT&gt;In my machine memory allocated------
&lt;/DT&gt;&lt;DD&gt;
&lt;/DD&gt;&lt;DT&gt;Rack:&lt;/DT&gt;&lt;DD&gt; /default-rack
                          
                            
                          
                        &lt;/DD&gt;&lt;DT&gt;OS:&lt;/DT&gt;&lt;DD&gt; centos7 (x86_64)&lt;/DD&gt;&lt;DT&gt;Cores (CPU):&lt;/DT&gt;&lt;DD&gt; 4 (4)&lt;/DD&gt;&lt;DT&gt;Disk:&lt;/DT&gt;&lt;DD&gt; Data Unavailable&lt;/DD&gt;&lt;DT&gt;Memory:&lt;/DT&gt;&lt;DD&gt; 7.71GB&lt;/DD&gt;&lt;DT&gt;Load Avg:&lt;/DT&gt;&lt;DT&gt;Heartbeat:&lt;/DT&gt;&lt;DD&gt; a moment ago&lt;/DD&gt;&lt;DT&gt;Current Version:2.3.4.7-4&lt;/DT&gt;&lt;/DL&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;GC times you have in /var/log/kafka/kafkaServer-gc.log -&lt;/P&gt;&lt;P&gt;[root@D-9063 kafka]# tail -f kafkaServer-gc.log
2016-05-31T18:06:14.776+0530: 11031.181: [GC (Allocation Failure) 11031.197: [ParNew: 278203K-&amp;gt;6721K(306688K), 0.8398941 secs] 278203K-&amp;gt;6721K(1014528K), 0.8564962 secs] [Times: user=0.11 sys=0.00, real=0.86 secs] 
2016-05-31T19:47:32.966+0530: 17109.333: [GC (Allocation Failure) 17109.333: [ParNew: 279361K-&amp;gt;5532K(306688K), 0.0140049 secs] 279361K-&amp;gt;5532K(1014528K), 0.0141290 secs] [Times: user=0.05 sys=0.00, real=0.02 secs] 
&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 11:30:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110455#M30213</guid>
      <dc:creator>vishal2159</dc:creator>
      <dc:date>2016-06-01T11:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: After restarting services again stoped repatedly but keep running on background</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110456#M30214</link>
      <description>&lt;P&gt;i have check if those services are running in background and still Ambari is showing them stopped? &lt;/P&gt;&lt;P&gt;Say for datanode, check these: &lt;/P&gt;&lt;P&gt;1. ps -ef | grep -i datanode &lt;/P&gt;&lt;P&gt; 2. cat /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid &lt;/P&gt;&lt;P&gt;3. See if both id's are matching. If not, kill process, remove 
/var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid, and start service from 
Ambari. &lt;/P&gt;&lt;P&gt;If above is not the case, check ambari-agent log for message: &lt;/P&gt;
&lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;{'msg':'Unable to read structured output from /var/lib/ambari-agent/data/structured-out-status.json'}&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If you are able to see this message, &lt;/P&gt;&lt;P&gt;stop ambari agent &lt;/P&gt;&lt;P&gt;move /var/lib/ambari-agent/data/structured-out-status.json to /tmp. &lt;/P&gt;&lt;P&gt;Start ambari agent.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 18:17:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-restarting-services-again-stoped-repatedly-but-keep/m-p/110456#M30214</guid>
      <dc:creator>vishal2159</dc:creator>
      <dc:date>2016-06-17T18:17:37Z</dc:date>
    </item>
  </channel>
</rss>

