<?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 Ambari can't stop Mysql service in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-can-t-stop-Mysql-service/m-p/187298#M149400</link>
    <description>&lt;P&gt;I use HDP 2.6.4 Sandbox. When I try to restart Hive mysql service from Ambari, Ambari can't stop mysql.&lt;/P&gt;&lt;PRE&gt;Python script has been killed due to timeout after waiting 900 secs

2018-05-08 11:02:25,622 - MariaDB RedHat Support: false
2018-05-08 11:02:25,628 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf
2018-05-08 11:02:25,636 - call['ambari-python-wrap /usr/bin/hdp-select status hive-server2'] {'timeout': 20}
2018-05-08 11:02:25,680 - call returned (0, 'hive-server2 - 2.6.4.0-91')
2018-05-08 11:02:25,681 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -&amp;gt; 2.6.4.0-91
2018-05-08 11:02:25,686 - File['/var/lib/ambari-agent/cred/lib/CredentialUtil.jar'] {'content': DownloadSource('http://sandbox-hdp.hortonworks.com:8080/resources/CredentialUtil.jar'), 'mode': 0755}
2018-05-08 11:02:25,688 - Not downloading the file from &lt;A href="http://sandbox-hdp.hortonworks.com:8080/resources/CredentialUtil.jar" target="_blank"&gt;http://sandbox-hdp.hortonworks.com:8080/resources/CredentialUtil.jar&lt;/A&gt;, because /var/lib/ambari-agent/tmp/CredentialUtil.jar already exists
2018-05-08 11:02:25,689 - checked_call[('/usr/lib/jvm/java/bin/java', '-cp', '/var/lib/ambari-agent/cred/lib/*', 'org.apache.ambari.server.credentialapi.CredentialUtil', 'get', 'javax.jdo.option.ConnectionPassword', '-provider', 'jceks://file/var/lib/ambari-agent/cred/conf/mysql_server/hive-site.jceks')] {}
2018-05-08 11:02:26,647 - checked_call returned (0, 'SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See &lt;A href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank"&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/A&gt; for further details.\nMay 08, 2018 11:02:26 AM org.apache.hadoop.util.NativeCodeLoader &amp;lt;clinit&amp;gt;\nWARNING: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable\nhadoop')
2018-05-08 11:02:26,652 - Execute[('service', 'mysqld', 'stop')] {'logoutput': True, 'sudo': True, 'only_if': "pgrep -l '^mysqld$'"}
Stopping mysqld:  [  OK  ]
2018-05-08 11:02:26,773 - Waiting for actual component stop
2018-05-08 11:02:26,774 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:26,903 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,029 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,149 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,270 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,391 - Execute['pgrep -l '^mysqld$''] {}
....

2018-05-08 11:17:24,622 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:24,775 - Waiting for actual component stop
2018-05-08 11:17:24,777 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:24,924 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,077 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,231 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,376 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,522 - Execute['pgrep -l '^mysqld$''] {}

Command failed after 1 tries&lt;/PRE&gt;</description>
    <pubDate>Tue, 08 May 2018 15:26:03 GMT</pubDate>
    <dc:creator>erkansirin78</dc:creator>
    <dc:date>2018-05-08T15:26:03Z</dc:date>
    <item>
      <title>Ambari can't stop Mysql service</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-can-t-stop-Mysql-service/m-p/187298#M149400</link>
      <description>&lt;P&gt;I use HDP 2.6.4 Sandbox. When I try to restart Hive mysql service from Ambari, Ambari can't stop mysql.&lt;/P&gt;&lt;PRE&gt;Python script has been killed due to timeout after waiting 900 secs

2018-05-08 11:02:25,622 - MariaDB RedHat Support: false
2018-05-08 11:02:25,628 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf
2018-05-08 11:02:25,636 - call['ambari-python-wrap /usr/bin/hdp-select status hive-server2'] {'timeout': 20}
2018-05-08 11:02:25,680 - call returned (0, 'hive-server2 - 2.6.4.0-91')
2018-05-08 11:02:25,681 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -&amp;gt; 2.6.4.0-91
2018-05-08 11:02:25,686 - File['/var/lib/ambari-agent/cred/lib/CredentialUtil.jar'] {'content': DownloadSource('http://sandbox-hdp.hortonworks.com:8080/resources/CredentialUtil.jar'), 'mode': 0755}
2018-05-08 11:02:25,688 - Not downloading the file from &lt;A href="http://sandbox-hdp.hortonworks.com:8080/resources/CredentialUtil.jar" target="_blank"&gt;http://sandbox-hdp.hortonworks.com:8080/resources/CredentialUtil.jar&lt;/A&gt;, because /var/lib/ambari-agent/tmp/CredentialUtil.jar already exists
2018-05-08 11:02:25,689 - checked_call[('/usr/lib/jvm/java/bin/java', '-cp', '/var/lib/ambari-agent/cred/lib/*', 'org.apache.ambari.server.credentialapi.CredentialUtil', 'get', 'javax.jdo.option.ConnectionPassword', '-provider', 'jceks://file/var/lib/ambari-agent/cred/conf/mysql_server/hive-site.jceks')] {}
2018-05-08 11:02:26,647 - checked_call returned (0, 'SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See &lt;A href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank"&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/A&gt; for further details.\nMay 08, 2018 11:02:26 AM org.apache.hadoop.util.NativeCodeLoader &amp;lt;clinit&amp;gt;\nWARNING: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable\nhadoop')
2018-05-08 11:02:26,652 - Execute[('service', 'mysqld', 'stop')] {'logoutput': True, 'sudo': True, 'only_if': "pgrep -l '^mysqld$'"}
Stopping mysqld:  [  OK  ]
2018-05-08 11:02:26,773 - Waiting for actual component stop
2018-05-08 11:02:26,774 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:26,903 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,029 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,149 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,270 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:02:27,391 - Execute['pgrep -l '^mysqld$''] {}
....

2018-05-08 11:17:24,622 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:24,775 - Waiting for actual component stop
2018-05-08 11:17:24,777 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:24,924 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,077 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,231 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,376 - Execute['pgrep -l '^mysqld$''] {}
2018-05-08 11:17:25,522 - Execute['pgrep -l '^mysqld$''] {}

Command failed after 1 tries&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 May 2018 15:26:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-can-t-stop-Mysql-service/m-p/187298#M149400</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2018-05-08T15:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari can't stop Mysql service</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-can-t-stop-Mysql-service/m-p/187299#M149401</link>
      <description>&lt;P&gt;I solved it. I learned mysqld pid with:&lt;/P&gt;&lt;PRE&gt;top&lt;/PRE&gt;&lt;P&gt;then killed it&lt;/P&gt;&lt;PRE&gt;kill 24678&lt;/PRE&gt;&lt;P&gt;I started mysqld :&lt;/P&gt;&lt;PRE&gt;service start mysqld&lt;/PRE&gt;&lt;P&gt;Then I retried from Ambari. It worked.&lt;/P&gt;&lt;P&gt;The problem was:&lt;/P&gt;&lt;PRE&gt;service mysqld stop&lt;/PRE&gt;&lt;P&gt;couldn't stop mysqld.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 17:48:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-can-t-stop-Mysql-service/m-p/187299#M149401</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2018-05-08T17:48:39Z</dc:date>
    </item>
  </channel>
</rss>

