<?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 how to create hive table in HDInsight with HDFS data in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/280990#M209089</link>
    <description>&lt;P&gt;Dear All.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I having issue with creating hive table with hdfs data in Azure HDInsight cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am able to create hive table from BLOB Storage but not with HDFS Data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as below example code for taking data from blob storage:-&lt;/P&gt;
&lt;P&gt;hive&amp;gt; CREATE EXTERNAL TABLE IF NOT EXISTS tsvtab (&lt;BR /&gt;&amp;gt; name string,&lt;BR /&gt;&amp;gt; region_code int,&lt;BR /&gt;&amp;gt; sal int,&lt;BR /&gt;&amp;gt; add string&lt;BR /&gt;&amp;gt; )&lt;BR /&gt;&amp;gt; ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'&lt;BR /&gt;&amp;gt; STORED AS TEXTFILE;&lt;/P&gt;
&lt;P&gt;load data inpath 'wasb://hadoophdinsightigi-2019-10-21t07-33-15-078z@hadooighdistorage.blob.core.windows.net/user/sshuser/data.tsv' into table tsvtab;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;below taking data from hdfs but not working:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hive&amp;gt; CREATE EXTERNAL TABLE IF NOT EXISTS tsvtab (&lt;BR /&gt;&amp;gt; name string,&lt;BR /&gt;&amp;gt; region_code int,&lt;BR /&gt;&amp;gt; sal int,&lt;BR /&gt;&amp;gt; add string&lt;BR /&gt;&amp;gt; )&lt;BR /&gt;&amp;gt; ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'&lt;BR /&gt;&amp;gt; STORED AS TEXTFILE;&lt;/P&gt;
&lt;P&gt;load data inpath 'wasb://hadoophdinsightigi-2019-10-21t07-33-15-078z@hadohdistorage.blob.core.windows.net//user/HadoopPOCDir/data.tsv' into table tsvtab;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so please help me....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2019 13:46:34 GMT</pubDate>
    <dc:creator>HadoopHelp</dc:creator>
    <dc:date>2019-10-22T13:46:34Z</dc:date>
    <item>
      <title>how to create hive table in HDInsight with HDFS data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/280990#M209089</link>
      <description>&lt;P&gt;Dear All.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I having issue with creating hive table with hdfs data in Azure HDInsight cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am able to create hive table from BLOB Storage but not with HDFS Data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as below example code for taking data from blob storage:-&lt;/P&gt;
&lt;P&gt;hive&amp;gt; CREATE EXTERNAL TABLE IF NOT EXISTS tsvtab (&lt;BR /&gt;&amp;gt; name string,&lt;BR /&gt;&amp;gt; region_code int,&lt;BR /&gt;&amp;gt; sal int,&lt;BR /&gt;&amp;gt; add string&lt;BR /&gt;&amp;gt; )&lt;BR /&gt;&amp;gt; ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'&lt;BR /&gt;&amp;gt; STORED AS TEXTFILE;&lt;/P&gt;
&lt;P&gt;load data inpath 'wasb://hadoophdinsightigi-2019-10-21t07-33-15-078z@hadooighdistorage.blob.core.windows.net/user/sshuser/data.tsv' into table tsvtab;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;below taking data from hdfs but not working:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hive&amp;gt; CREATE EXTERNAL TABLE IF NOT EXISTS tsvtab (&lt;BR /&gt;&amp;gt; name string,&lt;BR /&gt;&amp;gt; region_code int,&lt;BR /&gt;&amp;gt; sal int,&lt;BR /&gt;&amp;gt; add string&lt;BR /&gt;&amp;gt; )&lt;BR /&gt;&amp;gt; ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'&lt;BR /&gt;&amp;gt; STORED AS TEXTFILE;&lt;/P&gt;
&lt;P&gt;load data inpath 'wasb://hadoophdinsightigi-2019-10-21t07-33-15-078z@hadohdistorage.blob.core.windows.net//user/HadoopPOCDir/data.tsv' into table tsvtab;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so please help me....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 13:46:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/280990#M209089</guid>
      <dc:creator>HadoopHelp</dc:creator>
      <dc:date>2019-10-22T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to create hive table in HDInsight with HDFS data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/281083#M209153</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32608"&gt;@HadoopHelp&lt;/a&gt;&amp;nbsp;- It seems like the "load data inpath" command is same in both the case. Please check if you shared it by mistake. Also let me know the error message you are getting while uploading the table.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 02:30:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/281083#M209153</guid>
      <dc:creator>ngarg</dc:creator>
      <dc:date>2019-10-23T02:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to create hive table in HDInsight with HDFS data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/281109#M209168</link>
      <description>&lt;P&gt;It would be great if you can share the exact error you are facing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, can you please try creating the table as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE EXTERNAL TABLE IF NOT EXISTS tsvtab (&lt;BR /&gt;&amp;gt; name string,&lt;BR /&gt;&amp;gt; region_code int,&lt;BR /&gt;&amp;gt; sal int,&lt;BR /&gt;&amp;gt; add string&lt;BR /&gt;&amp;gt; )&lt;BR /&gt;&amp;gt; ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'&lt;BR /&gt;&amp;gt; STORED AS TEXTFILE;&lt;/P&gt;&lt;P&gt;load data inpath 'hdfs://hadoophdinsightigi-2019-10-21t07-33-15-078z@hadohdistorage.blob.core.windows.net/user/HadoopPOCDir/data.tsv' into table tsvtab;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE EXTERNAL TABLE IF NOT EXISTS tsvtab (&lt;BR /&gt;&amp;gt; name string,&lt;BR /&gt;&amp;gt; region_code int,&lt;BR /&gt;&amp;gt; sal int,&lt;BR /&gt;&amp;gt; add string&lt;BR /&gt;&amp;gt; )&lt;BR /&gt;&amp;gt; ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t'&lt;BR /&gt;&amp;gt; STORED AS TEXTFILE;&lt;/P&gt;&lt;P&gt;load data inpath '/user/HadoopPOCDir/data.tsv' into table tsvtab;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE:&lt;/P&gt;&lt;P&gt;I have change the path from "wasb//" to "hdfs//" in the first command and removed the unwanted details from the second command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 10:53:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/281109#M209168</guid>
      <dc:creator>rohitmalhotra</dc:creator>
      <dc:date>2019-10-23T10:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to create hive table in HDInsight with HDFS data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/283217#M210517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35442"&gt;@rohitmalhotra&lt;/a&gt;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create hive table on top hdinsight hdfs path .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so is it possible to create hive table on &lt;U&gt;HDinsight HDFS path&lt;/U&gt; or directly we have to use&lt;U&gt; blob container address .&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;i think i am not able to find out hdfs path from HDInsight!&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;HadoopHelp&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 07:55:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/283217#M210517</guid>
      <dc:creator>HadoopHelp</dc:creator>
      <dc:date>2019-11-18T07:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to create hive table in HDInsight with HDFS data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/285675#M211968</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35442"&gt;@rohitmalhotra&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;i found this solution already!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;problem was :-&lt;/P&gt;&lt;P&gt;not able to get exact HDFS Path as last post i mentioned .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i checked&amp;nbsp; core.site.xml file&amp;nbsp; with Azure HDInsight cluster DFS File path:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;HadoopHelp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 12:17:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-create-hive-table-in-HDInsight-with-HDFS-data/m-p/285675#M211968</guid>
      <dc:creator>HadoopHelp</dc:creator>
      <dc:date>2019-12-16T12:17:59Z</dc:date>
    </item>
  </channel>
</rss>

