<?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: Need help installing HDP 2.6 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196039#M73800</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/62198/smpyuval.html" nodeid="62198"&gt;@Yuval Smp&lt;/A&gt; Try disabling firewall and iptables, once you are through then rerun ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/lib/mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar. Track the ambari-server log to ensure that there are no error. Try again.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 03:12:11 GMT</pubDate>
    <dc:creator>srai1</dc:creator>
    <dc:date>2018-01-24T03:12:11Z</dc:date>
    <item>
      <title>Need help installing HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196037#M73798</link>
      <description>&lt;P&gt;Dear community, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have very hard time installing HDP 2.6.4 on Centos 7.4. Would appreciate help. &lt;/P&gt;&lt;P&gt;I followed carefully the instructions at &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/ch_Getting_Ready.html"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/ch_Getting_Ready.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Before starting the wizard:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;I installed &amp;amp; started MySql (using the instructions here: &lt;A href="https://linode.com/docs/databases/mysql/how-to-install-mysql-on-centos-7/"&gt;https://linode.com/docs/databases/mysql/how-to-install-mysql-on-centos-7/&lt;/A&gt;). &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Installed (=extracted) mysql-connector-java-5.1.45.tar.gz to /usr/lib/&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;run: ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/lib/mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar&lt;/P&gt;&lt;P&gt;After starting the server, I followed the the wizard. At the "Install-start-test,  "Hive Metastore Start" failes. The error it fails on is: &lt;A href="http://hdptst5:8080/resources//mysql-connector-java.jar" target="_blank"&gt;http://hdptst5:8080/resources//mysql-connector-java.jar&lt;/A&gt; due to HTTP error: HTTP Error 404: Not Found&lt;/P&gt;&lt;P&gt;(Attached is the entire log)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help would be appreciated. &lt;/P&gt;&lt;P&gt;--yuval &lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 00:12:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196037#M73798</guid>
      <dc:creator>smp_yuval</dc:creator>
      <dc:date>2018-01-24T00:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help installing HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196038#M73799</link>
      <description>&lt;P&gt;Attaching STDOUT + STDERR&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/56438-stderr95txt.txt"&gt;stderr95txt.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/56439-stdout95txt.txt"&gt;stdout95txt.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 00:20:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196038#M73799</guid>
      <dc:creator>smp_yuval</dc:creator>
      <dc:date>2018-01-24T00:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help installing HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196039#M73800</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/62198/smpyuval.html" nodeid="62198"&gt;@Yuval Smp&lt;/A&gt; Try disabling firewall and iptables, once you are through then rerun ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/lib/mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar. Track the ambari-server log to ensure that there are no error. Try again.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 03:12:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196039#M73800</guid>
      <dc:creator>srai1</dc:creator>
      <dc:date>2018-01-24T03:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help installing HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196040#M73801</link>
      <description>&lt;P&gt;Thanks @&lt;A href="https://community.hortonworks.com/users/10337/srai.html"&gt;Shyam Sunder Rai&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Before starting the install, I followed the &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation/content/configuring_iptables.html"&gt;instructions&lt;/A&gt; and:&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;systemctl disable firewalld &lt;/LI&gt;&lt;LI&gt;service firewalld stop &lt;/LI&gt;&lt;LI&gt;setenforce 0&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In addition I uninstalled PackageKit.&lt;/P&gt;&lt;P&gt;Anything else that I had to do ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 04:27:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196040#M73801</guid>
      <dc:creator>smp_yuval</dc:creator>
      <dc:date>2018-01-24T04:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help installing HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196041#M73802</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/62198/smpyuval.html" nodeid="62198"&gt;@Yuval Smp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you already done the following steps?&lt;/P&gt;&lt;PRE&gt;# yum install mysql-connection-java -y&lt;/PRE&gt;&lt;P&gt;(OR) if you are downloading the  mysql-connector-java JAR from some tar.gz archive then please make sure to check the following locations and create the symlinks something like following to point to your jar.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Then you should find some symlink as following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# ls -l  /usr/share/java/mysql-connector-java.jar
lrwxrwxrwx 1 root root 31 Apr 19  2017 /usr/share/java/mysql-connector-java.jar -&amp;gt; mysql-connector-java-5.1.17.jar&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-administration/content/using_hive_with_mysql.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-administration/content/using_hive_with_mysql.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So now ambari knows how to find this jar.  The JAR can be found here after &lt;/P&gt;&lt;PRE&gt;# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar

# ls -l /var/lib/ambari-server/resources/mysql-connector-java.jar 
-rw-r--r-- 1 root root 819803 Sep 28 19:52 /var/lib/ambari-server/resources/mysql-connector-java.jar&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Ambari Agents tries to download the mysql connector jar from ambari server using URL:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hdptst5:8080/resources/mysql-connector-java.jar" target="_blank"&gt;http://hdptst5:8080/resources/mysql-connector-java.jar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;So you will need to make sure that the following path exist. Means there should be a symlink as following which points to the path of your downloaded JAR. "&lt;/P&gt;&lt;PRE&gt;# ls -l /var/lib/ambari-server/resources/my*
-rw-r--r-- 1 root root 819803 Sep 28 19:52 /var/lib/ambari-server/resources/mysql-connector-java.jar
lrwxrwxrwx 1 root root     57 May 26  2017 /var/lib/ambari-server/resources/mysql-jdbc-driver.jar -&amp;gt; /usr/lib/mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;PRE&gt; /var/lib/ambari-server/resources/mysql-jdbc-driver.jar -&amp;gt; /usr/lib/mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jan 2018 08:11:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196041#M73802</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-24T08:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help installing HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196042#M73803</link>
      <description>&lt;P&gt;in addition to installing mysql-connector-java-5.1.45-bin, I added a link to it:&lt;/P&gt;&lt;PRE&gt;ln -s /usr/lib/mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar /usr/share/java/mysql-connector-java.jar&lt;/PRE&gt;&lt;P&gt;I already disable/stop firewalld as in the document. In addition, I stopped iptables (using: iptables -F). This is not in the doc. not sure if this helped or not.&lt;/P&gt;&lt;P&gt;I now have working environment. Thank you @&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay Kumar SenSharma&lt;/A&gt; &amp;amp; @&lt;A href="https://community.hortonworks.com/users/10337/srai.html"&gt;Shyam Sunder Rai&lt;/A&gt; for your valuable comments.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 01:04:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-help-installing-HDP-2-6/m-p/196042#M73803</guid>
      <dc:creator>smp_yuval</dc:creator>
      <dc:date>2018-01-25T01:04:02Z</dc:date>
    </item>
  </channel>
</rss>

