<?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: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116132#M78926</link>
    <description>&lt;P&gt;I tried different users running sqoop cmd and none worked, including root, ambari-qa, sqoop, hive...&lt;/P&gt;&lt;P&gt;the file /etc/hive/2.5.0.0-817/0/xasecure-audit.xml does not exist. And I did a search of all folders and it doesn't exist on the sandbox VM&lt;/P&gt;&lt;PRE&gt;cd /
find -name xasecure-audit.xml&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Jul 2016 05:01:49 GMT</pubDate>
    <dc:creator>qiwang</dc:creator>
    <dc:date>2016-07-07T05:01:49Z</dc:date>
    <item>
      <title>Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116128#M78922</link>
      <description>&lt;P&gt;While trying out the sandbox 2.5 TP for some new features in Atlas, I encountered an error when running sqoop cmd to move data from mySQL to Hive (this should trigger a linage generated inside Atlas and that is my goal)&lt;/P&gt;&lt;P&gt;created a simple table inside mysql and then sqoop the data under ambari-qa credential&lt;/P&gt;&lt;PRE&gt;mysql --host=sandbox.hortonworks.com --user=root --database=hive 
use test; 
create table source_fact (id int, name varchar(100), description varchar(100));
exit;

sqoop import --connect jdbc:mysql://sandbox.hortonworks.com:3306/test --table source_fact --hive-import --hive-overwrite --hive-table atlasdemo.source_fact --username root -m 1
&lt;/PRE&gt;&lt;P&gt;Then got the following error:&lt;/P&gt;&lt;P&gt;FAILED: RuntimeException java.io.FileNotFoundException: /etc/hive/2.5.0.0-817/0/xasecure-audit.xml (No such file or directory)&lt;/P&gt;&lt;P&gt;this only happens when running sqoop. Hive, Atals and Ranger all looks fine and function as expected.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Note: move this to security/Ranger, look like this is related to Ranger config after looking at some old thread. And based on the old thread, xasecure-audit.xml should not be part of the new version anyway. Looking for some Ranger guru to provide some feedbacks.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 23:05:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116128#M78922</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-07-06T23:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116129#M78923</link>
      <description>&lt;P&gt;A quick workaround is to disable ranger authorization from hive-&amp;gt;authorization in ambari UI and restart hive. However, if ranger is part of your tests and want to keep it enabled, this is not the solution. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 01:16:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116129#M78923</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-07-07T01:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116130#M78924</link>
      <description>&lt;P&gt;Ravi, I want to take a look of Atlas/Ranger integration in HDP2.5. So disable Ranger is not really an option.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 04:11:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116130#M78924</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-07-07T04:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116131#M78925</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3090/qiwang.html" nodeid="3090"&gt;@Qi Wang&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Which user is running the sqoop command? Can you verify file /etc/hive/2.5.0.0-817/0/xasecure-audit.xml exists? Does the user running sqoop import has read access to this file? Also, check the following link. It might be your issue.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/369/installed-ranger-in-a-cluster-and-running-into-the.html" target="_blank"&gt;https://community.hortonworks.com/questions/369/installed-ranger-in-a-cluster-and-running-into-the.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 04:58:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116131#M78925</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-07-07T04:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116132#M78926</link>
      <description>&lt;P&gt;I tried different users running sqoop cmd and none worked, including root, ambari-qa, sqoop, hive...&lt;/P&gt;&lt;P&gt;the file /etc/hive/2.5.0.0-817/0/xasecure-audit.xml does not exist. And I did a search of all folders and it doesn't exist on the sandbox VM&lt;/P&gt;&lt;PRE&gt;cd /
find -name xasecure-audit.xml&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jul 2016 05:01:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116132#M78926</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-07-07T05:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116133#M78927</link>
      <description>&lt;P&gt;Check the link I just added to my answer.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 05:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116133#M78927</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-07-07T05:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116134#M78928</link>
      <description>&lt;P&gt;I tried the suggested fix in the old thread and it is not working. Still got the same error with sqoop. Move this to ranger section and hoping some ranger guru jump in.&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 09:12:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116134#M78928</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-07-07T09:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116135#M78929</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3090/qiwang.html" nodeid="3090"&gt;@Qi Wang&lt;/A&gt;, there is a bug from Ambari perspective, it is not generating hiveserver2-site.xml. So any changes made in Advanced Hiveserver2 site section from Ambari are not getting reflected, (we make changes in hiveserver2-site.xml for Ranger) so if you disable authorization from the general settings as mentioned above, your Ranger policies will not work as expected. This issue has been raised up and will be resolved soon in the upcoming releases of Sandbox.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2016 17:43:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116135#M78929</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-07-09T17:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116136#M78930</link>
      <description>&lt;P&gt;this is a misguided exception , can you please check /etc/hive/conf/conf.server , whether ranger-audit.xml is present there ?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:56:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116136#M78930</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-07-12T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox HDP 2.5 TP: error when running sqoop, xasecure-audit.xml not found</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116137#M78931</link>
      <description>&lt;P&gt;under /etc/hive/conf/conf.server, following ranger files are there, but not ranger-audit.xml&lt;/P&gt;&lt;PRE&gt;-rwxr--r-- 1 hive hadoop 1208 2016-06-25 16:25 /etc/hive/conf/conf.server/ranger-hive-audit.xml
-rwxr--r-- 1 hive hadoop 1072 2016-06-25 16:25 /etc/hive/conf/conf.server/ranger-hive-security.xml
-rwxr--r-- 1 hive hadoop 1030 2016-06-25 16:25 /etc/hive/conf/conf.server/ranger-policymgr-ssl.xml
-rw-r--r-- 1 hive hadoop   64 2016-06-26 21:39 /etc/hive/conf/conf.server/ranger-security.xml

&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jul 2016 04:25:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-HDP-2-5-TP-error-when-running-sqoop-xasecure-audit/m-p/116137#M78931</guid>
      <dc:creator>qiwang</dc:creator>
      <dc:date>2016-07-13T04:25:05Z</dc:date>
    </item>
  </channel>
</rss>

