<?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: spark HiveThriftServer2 sql AnalysisException: LOAD DATA input path does not exist. if sql query is existed wild card characters in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116151#M78945</link>
    <description>&lt;P&gt;I've posted to spark community. It's a bug of SparkSQL. &lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/SPARK-17796" target="_blank"&gt;https://issues.apache.org/jira/browse/SPARK-17796&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;whenever the bug is fixed , It'll be updated to HDP 2.5. with spark 2.0.0 version.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 10:34:43 GMT</pubDate>
    <dc:creator>tqthang_hn</dc:creator>
    <dc:date>2016-10-06T10:34:43Z</dc:date>
    <item>
      <title>spark HiveThriftServer2 sql AnalysisException: LOAD DATA input path does not exist. if sql query is existed wild card characters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116149#M78943</link>
      <description>&lt;P&gt;1. I'm using a ETL tool and connecting to Spark2-HiveThriftServer2 over connection string URL: "jdbc:hive2://10.30.164.132:10000/nat" &lt;/P&gt;&lt;P&gt;
2. I'm facing with below error, if the sql have existed wild card characters "*" : LOAD DATA LOCAL INPATH '${SOURCE_DB_FILE}/V_SOURCE_BTS/${YYYYMMDD}/s0_V_SOURCE_BTS_\*_part_\*' INTO TABLE ${SCHEMA_BI}V_SOURCE_BTS;
 Couldn't execute SQL: LOAD DATA LOCAL INPATH '/u02/CDR/HAITI/MakeFile/V_SOURCE_BTS/20160927/s0_V_SOURCE_BTS_\*_part_\*' INTO TABLE nat.V_SOURCE_BTS
2016/10/05 14:38:43 - V_SOURCE_BTS -
2016/10/05 14:38:43 - V_SOURCE_BTS - org.apache.spark.sql.AnalysisException: LOAD DATA input path does not exist: /u02/CDR/HAITI/MakeFile/V_SOURCE_BTS/20160927/s0_V_SOURCE_BTS_\*_part_\*; &lt;/P&gt;&lt;P&gt;3. The sql query can execute without error if I changed the sql and remove wild cards to: 
LOAD DATA LOCAL INPATH '/u02/CDR/HAITI/MakeFile/V_SOURCE_BTS/20160927/s0_V_SOURCE_BTS_20160927_part_0000000' INTO TABLE ${SCHEMA_BI}V_SOURCE_BTS; &lt;/P&gt;&lt;P&gt;4. The problem's happened from Spark 2.0.0. &lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 08:35:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116149#M78943</guid>
      <dc:creator>tqthang_hn</dc:creator>
      <dc:date>2016-10-06T08:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: spark HiveThriftServer2 sql AnalysisException: LOAD DATA input path does not exist. if sql query is existed wild card characters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116150#M78944</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13552/tqthanghn.html" nodeid="13552"&gt;@Tran Quyet Thang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;According to the hive documentation, "&lt;EM&gt;filepath&lt;/EM&gt; can refer to a file (in which case Hive will move the file into the table) or it can be a directory (in which case Hive will move all the files within that directory into the table)."&lt;/P&gt;&lt;P&gt;I don't think, wild cards are allowed in the path.&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Loadingfilesintotables" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Loadingfilesintotables&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 10:16:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116150#M78944</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-10-06T10:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: spark HiveThriftServer2 sql AnalysisException: LOAD DATA input path does not exist. if sql query is existed wild card characters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116151#M78945</link>
      <description>&lt;P&gt;I've posted to spark community. It's a bug of SparkSQL. &lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/SPARK-17796" target="_blank"&gt;https://issues.apache.org/jira/browse/SPARK-17796&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;whenever the bug is fixed , It'll be updated to HDP 2.5. with spark 2.0.0 version.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 10:34:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116151#M78945</guid>
      <dc:creator>tqthang_hn</dc:creator>
      <dc:date>2016-10-06T10:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: spark HiveThriftServer2 sql AnalysisException: LOAD DATA input path does not exist. if sql query is existed wild card characters</title>
      <link>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116152#M78946</link>
      <description>&lt;P&gt;Hi Mqureshi,&lt;/P&gt;&lt;P&gt;It's already fixed in the &lt;A href="https://github.com/apache/spark/commit/dfdfc463140d73d2abefcfc4e728d31ccac5cf40"&gt;&lt;CODE&gt;dfdfc46&lt;/CODE&gt;&lt;/A&gt;. patched. &lt;/P&gt;&lt;P&gt;When it'll merged to HDP 2.5 (spark 2.0) ?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 09:23:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/spark-HiveThriftServer2-sql-AnalysisException-LOAD-DATA/m-p/116152#M78946</guid>
      <dc:creator>tqthang_hn</dc:creator>
      <dc:date>2016-10-10T09:23:58Z</dc:date>
    </item>
  </channel>
</rss>

