<?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: Load Hive table using Hiveconf Variable in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-Hive-table-using-Hiveconf-Variable/m-p/163782#M45247</link>
    <description>&lt;P&gt;This Problem has been solved.THere was an extra space between my_var1and $Var.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2016 00:31:28 GMT</pubDate>
    <dc:creator>kumarvaibhav199</dc:creator>
    <dc:date>2016-11-04T00:31:28Z</dc:date>
    <item>
      <title>Load Hive table using Hiveconf Variable</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-Hive-table-using-Hiveconf-Variable/m-p/163781#M45246</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have something like &lt;/P&gt;&lt;P&gt;Myarray.sh&lt;/P&gt;&lt;P&gt; hive -S -hiveconf MY_VAR1 =$Var -f /home/vaibhav/Desktop/my_script.hql&lt;/P&gt;&lt;P&gt;Where $Var is the name of the file coming from an array from the 
shell script .the above line is also defined in that shell script only.&lt;/P&gt;&lt;P&gt;My_Script.hql&lt;/P&gt;&lt;P&gt; loAD DATA LOCAL INPATH '/home/vaibhav/Desktop/'${hiveconf:MY_VAR1}' ' OVERWRITE INTO TABLE xyz&lt;/P&gt;&lt;P&gt;When i'm trying to execute the above scenerio i'm getting error like :&lt;/P&gt;&lt;P&gt; FAILED: SemanticException Line 1:23 Invalid path 
''/home/vaibhav/Desktop/=mydata.csv'': No files matching path file:/home
 /vaibhav/Desktop/=mydata.csv&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 23:36:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-Hive-table-using-Hiveconf-Variable/m-p/163781#M45246</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-11-03T23:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load Hive table using Hiveconf Variable</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-Hive-table-using-Hiveconf-Variable/m-p/163782#M45247</link>
      <description>&lt;P&gt;This Problem has been solved.THere was an extra space between my_var1and $Var.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 00:31:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-Hive-table-using-Hiveconf-Variable/m-p/163782#M45247</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-11-04T00:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Load Hive table using Hiveconf Variable</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-Hive-table-using-Hiveconf-Variable/m-p/163783#M45248</link>
      <description>&lt;P&gt;Glad that it got resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 01:09:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Load-Hive-table-using-Hiveconf-Variable/m-p/163783#M45248</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2016-11-04T01:09:00Z</dc:date>
    </item>
  </channel>
</rss>

