<?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 2.4.0.1 and HDP 2.5 is not able to Test Connection to oozie or Hive metastore in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-2-4-0-1-and-HDP-2-5-is-not-able-to-Test-Connection-to/m-p/133000#M95670</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;good evening,&lt;/P&gt;&lt;P&gt;   I started installing Ambari 2.4.0.1 and HDP 2.5 but I am not able to Test connection either for Oozie or Hive.&lt;/P&gt;&lt;P&gt;   I am getting the following error&lt;/P&gt;&lt;P&gt;Ambari 2.4.0.1-1 and HDP 2.5 is not able to Test Connection to oozie or Hive metastore&lt;/P&gt;&lt;P&gt; 2016-09-01 22:46:22,247 - There was an unknown error while checking database connectivity: coercing to Unicode: need string or buffer, NoneType found&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 144, in actionexecute
    db_connection_check_structured_output = self.execute_db_connection_check(config, tmp_dir)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 285, in execute_db_connection_check
    jdbc_url = jdk_location + jdbc_driver_mysql_name
TypeError: coercing to Unicode: need string or buffer, NoneType found
2016-09-01 22:46:22,248 - Check db_connection_check was unsuccessful. Exit code: 1. Message: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 506, in &amp;lt;module&amp;gt;
    CheckHost().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 206, in actionexecute
    raise Fail(error_message)
resource_management.core.exceptions.Fail: Check db_connection_check was unsuccessful. Exit code: 1. Message: coercing to Unicode: need string or buffer, NoneType found


&lt;/PRE&gt;&lt;P&gt;Can any one point me in right direction to resolve this issue.   &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2016 05:56:39 GMT</pubDate>
    <dc:creator>ram_pratapa</dc:creator>
    <dc:date>2016-09-02T05:56:39Z</dc:date>
    <item>
      <title>Ambari 2.4.0.1 and HDP 2.5 is not able to Test Connection to oozie or Hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-2-4-0-1-and-HDP-2-5-is-not-able-to-Test-Connection-to/m-p/133000#M95670</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;good evening,&lt;/P&gt;&lt;P&gt;   I started installing Ambari 2.4.0.1 and HDP 2.5 but I am not able to Test connection either for Oozie or Hive.&lt;/P&gt;&lt;P&gt;   I am getting the following error&lt;/P&gt;&lt;P&gt;Ambari 2.4.0.1-1 and HDP 2.5 is not able to Test Connection to oozie or Hive metastore&lt;/P&gt;&lt;P&gt; 2016-09-01 22:46:22,247 - There was an unknown error while checking database connectivity: coercing to Unicode: need string or buffer, NoneType found&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 144, in actionexecute
    db_connection_check_structured_output = self.execute_db_connection_check(config, tmp_dir)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 285, in execute_db_connection_check
    jdbc_url = jdk_location + jdbc_driver_mysql_name
TypeError: coercing to Unicode: need string or buffer, NoneType found
2016-09-01 22:46:22,248 - Check db_connection_check was unsuccessful. Exit code: 1. Message: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 506, in &amp;lt;module&amp;gt;
    CheckHost().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 206, in actionexecute
    raise Fail(error_message)
resource_management.core.exceptions.Fail: Check db_connection_check was unsuccessful. Exit code: 1. Message: coercing to Unicode: need string or buffer, NoneType found


&lt;/PRE&gt;&lt;P&gt;Can any one point me in right direction to resolve this issue.   &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 05:56:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-2-4-0-1-and-HDP-2-5-is-not-able-to-Test-Connection-to/m-p/133000#M95670</guid>
      <dc:creator>ram_pratapa</dc:creator>
      <dc:date>2016-09-02T05:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.0.1 and HDP 2.5 is not able to Test Connection to oozie or Hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-2-4-0-1-and-HDP-2-5-is-not-able-to-Test-Connection-to/m-p/133001#M95671</link>
      <description>&lt;P&gt;Which Operating System you are installing on? also can you connect to this Database manually? was that an auto-created database or you did the creation on the server?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2016 05:38:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-2-4-0-1-and-HDP-2-5-is-not-able-to-Test-Connection-to/m-p/133001#M95671</guid>
      <dc:creator>nshawa</dc:creator>
      <dc:date>2016-09-04T05:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.4.0.1 and HDP 2.5 is not able to Test Connection to oozie or Hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-2-4-0-1-and-HDP-2-5-is-not-able-to-Test-Connection-to/m-p/133002#M95672</link>
      <description>&lt;P&gt;I was able to identify my mistake.  I forgot one step i.e &lt;/P&gt;&lt;P&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar&lt;/P&gt;&lt;P&gt;Once I executed that command,  it started working.   The OS is centos 7.2.&lt;/P&gt;&lt;P&gt;Thank you for your help.  &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 00:47:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-2-4-0-1-and-HDP-2-5-is-not-able-to-Test-Connection-to/m-p/133002#M95672</guid>
      <dc:creator>ram_pratapa</dc:creator>
      <dc:date>2016-09-05T00:47:59Z</dc:date>
    </item>
  </channel>
</rss>

