<?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 Ranger KMS - Installation issue on Non-Kerberized HDP 2.4 cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137882#M52045</link>
    <description>&lt;P&gt;Hi. i'm trying to install Ranger KMS on HDP 2.4 (Non-Kerberized cluster), and running into issues.&lt;/P&gt;&lt;P&gt;The error i get is shown below (not able to connect to SQL Server using 'root' user)&lt;/P&gt;&lt;P&gt;Any ideas on this ?&lt;/P&gt;&lt;PRE&gt;resource_management.core.exceptions.Fail: Execution of 'python /usr/hdp/current/ranger-kms/dba_script.py -q' returned 1. 2017-01-20 00:06:01,280  [I] Running DBA setup script. QuiteMode:True
2017-01-20 00:06:01,280  [I] Using Java:/usr/lib/jvm/java/bin/java
2017-01-20 00:06:01,280  [I] DB FLAVOR:MYSQL
2017-01-20 00:06:01,288  [I] DB Host:sandbox.hortonworks.com
2017-01-20 00:06:01,294  [I] ---------- Verifing DB root password ---------- 
2017-01-20 00:06:01,296  [I] DBA root user password validated
2017-01-20 00:06:01,299  [I] ---------- Verifing Ranger KMS db user password ---------- 
2017-01-20 00:06:01,299  [I] KMS user password validated
2017-01-20 00:06:01,301  [I] ---------- Creating Ranger KMS db user ---------- 
2017-01-20 00:06:01,302  [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/hdp/current/ranger-kms/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj -cstring jdbc:mysql://sandbox.hortonworks.com/mysql -u root -p '********' -noheader -trim -c \; -query "SELECT version();"
SQLException : SQL state: 28000 java.sql.SQLException: Access denied for user 'root'@'sandbox.hortonworks.com' (using password: YES) ErrorCode: 1045
2017-01-20 00:06:02,196  [E] Can't establish db connection.. Exiting..&lt;/PRE&gt;</description>
    <pubDate>Fri, 20 Jan 2017 08:22:50 GMT</pubDate>
    <dc:creator>karan_alang1</dc:creator>
    <dc:date>2017-01-20T08:22:50Z</dc:date>
    <item>
      <title>Ranger KMS - Installation issue on Non-Kerberized HDP 2.4 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137882#M52045</link>
      <description>&lt;P&gt;Hi. i'm trying to install Ranger KMS on HDP 2.4 (Non-Kerberized cluster), and running into issues.&lt;/P&gt;&lt;P&gt;The error i get is shown below (not able to connect to SQL Server using 'root' user)&lt;/P&gt;&lt;P&gt;Any ideas on this ?&lt;/P&gt;&lt;PRE&gt;resource_management.core.exceptions.Fail: Execution of 'python /usr/hdp/current/ranger-kms/dba_script.py -q' returned 1. 2017-01-20 00:06:01,280  [I] Running DBA setup script. QuiteMode:True
2017-01-20 00:06:01,280  [I] Using Java:/usr/lib/jvm/java/bin/java
2017-01-20 00:06:01,280  [I] DB FLAVOR:MYSQL
2017-01-20 00:06:01,288  [I] DB Host:sandbox.hortonworks.com
2017-01-20 00:06:01,294  [I] ---------- Verifing DB root password ---------- 
2017-01-20 00:06:01,296  [I] DBA root user password validated
2017-01-20 00:06:01,299  [I] ---------- Verifing Ranger KMS db user password ---------- 
2017-01-20 00:06:01,299  [I] KMS user password validated
2017-01-20 00:06:01,301  [I] ---------- Creating Ranger KMS db user ---------- 
2017-01-20 00:06:01,302  [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/hdp/current/ranger-kms/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj -cstring jdbc:mysql://sandbox.hortonworks.com/mysql -u root -p '********' -noheader -trim -c \; -query "SELECT version();"
SQLException : SQL state: 28000 java.sql.SQLException: Access denied for user 'root'@'sandbox.hortonworks.com' (using password: YES) ErrorCode: 1045
2017-01-20 00:06:02,196  [E] Can't establish db connection.. Exiting..&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Jan 2017 08:22:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137882#M52045</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-01-20T08:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger KMS - Installation issue on Non-Kerberized HDP 2.4 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137883#M52046</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like root user does not have access from remote host. Please update root user to allow remote access&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 08:28:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137883#M52046</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-01-20T08:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger KMS - Installation issue on Non-Kerberized HDP 2.4 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137884#M52047</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;I mean to say that , at Mysql side change the user access permissions to connect from remote host. You can follow &lt;A href="http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/" target="_blank"&gt;http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/&lt;/A&gt; to do that.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 08:30:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137884#M52047</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-01-20T08:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger KMS - Installation issue on Non-Kerberized HDP 2.4 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137885#M52048</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11311/apappu.html" nodeid="11311"&gt;@apappu&lt;/A&gt; - thanks, i was able to make this work.&lt;/P&gt;&lt;P&gt;Another question - per my understanding, i'll be able to install &amp;amp; use Ranger KMS in a non-Kerberized environment also.&lt;/P&gt;&lt;P&gt;Can you pls. confirm.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 09:31:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137885#M52048</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-01-20T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger KMS - Installation issue on Non-Kerberized HDP 2.4 cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137886#M52049</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, you can do that.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 09:33:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-KMS-Installation-issue-on-Non-Kerberized-HDP-2-4/m-p/137886#M52049</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-01-20T09:33:05Z</dc:date>
    </item>
  </channel>
</rss>

