<?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: Create DB in Hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136910#M19066</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt; This worked&lt;/P&gt;</description>
    <pubDate>Sat, 13 Feb 2016 03:42:01 GMT</pubDate>
    <dc:creator>swapnilspra</dc:creator>
    <dc:date>2016-02-13T03:42:01Z</dc:date>
    <item>
      <title>Create DB in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136906#M19062</link>
      <description>&lt;P&gt;When I am trying to create DB with hIVE VIEW editor getting below error&lt;/P&gt;&lt;P&gt;org.apache.ambari.view.utils.hdfs.HdfsApiException: HDFS030 Error in creation /user/admin/hive/jobs/hive-job-2-2016-02-10_09-55...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:55:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136906#M19062</guid>
      <dc:creator>swapnilspra</dc:creator>
      <dc:date>2016-02-11T12:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create DB in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136907#M19063</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2286/swapnilspra.html"&gt;Swapnil Prabhu&lt;/A&gt;  There are a couple of things to note&lt;/P&gt;&lt;P&gt;1. Views can be  created on existing underlying table. &lt;/P&gt;&lt;P&gt;2. You must have the permissions to write to the /user/admin/hive/* directory&lt;/P&gt;&lt;P&gt;3. Upload the syntax for verification &lt;/P&gt;&lt;P&gt;Have a look at this &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_ambari_views_guide/content/ch_using_ambari_views.html"&gt;doc&lt;/A&gt; too&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:55:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136907#M19063</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-11T13:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create DB in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136908#M19064</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2286/swapnilspra.html" nodeid="2286"&gt;@Swapnil Prabhu&lt;/A&gt; Do you have /user/admin directory created in HDFS and with right permissions? Try &lt;/P&gt;&lt;PRE&gt;su - hdfs
hdfs dfs -ls -d /user/admin
hdfs dfs -mkdir /user/admin    ...   if /user/admin doesn't exist&lt;/PRE&gt;&lt;P&gt;If admin is not the owner of the directory try&lt;/P&gt;&lt;PRE&gt;hdfs dfs -chown -R admin:hdfs /user/admin&lt;/PRE&gt;&lt;P&gt;and then retry your Hive view action.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:57:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136908#M19064</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-02-11T13:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create DB in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136909#M19065</link>
      <description>&lt;P&gt;This is a know bug in Hive View and will be fixed in one of the upcoming Ambari versions. You can find a valid workaround in our Troubleshooting guide &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/troubleshooting.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/troubleshooting.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The base problem is, that your user does not have a user directory in /user in HDFS&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:00:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136909#M19065</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-02-11T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create DB in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136910#M19066</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt; This worked&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2016 03:42:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136910#M19066</guid>
      <dc:creator>swapnilspra</dc:creator>
      <dc:date>2016-02-13T03:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create DB in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136911#M19067</link>
      <description>&lt;P&gt;I followed the instruction, but still getting the same error. I've checked directory and it looks good:&lt;/P&gt;&lt;P&gt;[hdfs@c6402 ~]$ hadoop fs -ls /user/admin/&lt;/P&gt;&lt;P&gt;Found 4 items&lt;/P&gt;&lt;P&gt;drwxrwxrwx   - admin hadoop          0 2016-06-28 17:27 /user/admin/.Trash&lt;/P&gt;&lt;P&gt;drwxrwxrwx   - admin hadoop          0 2016-06-28 14:11 /user/admin/.staging&lt;/P&gt;&lt;P&gt;drwxrwxrwx   - admin hadoop          0 2016-06-28 14:11 /user/admin/employee_db&lt;/P&gt;&lt;P&gt;drwxr-xr-x   - admin hadoop          0 2016-06-28 19:56 /user/admin/hive&lt;/P&gt;&lt;P&gt;Also, tried switching the group to HDFS but no luck. Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 03:03:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-DB-in-Hive/m-p/136911#M19067</guid>
      <dc:creator>essex210</dc:creator>
      <dc:date>2016-06-29T03:03:24Z</dc:date>
    </item>
  </channel>
</rss>

