<?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: I am getting below error while creating external table in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136310#M47894</link>
    <description>&lt;P&gt;you need to explicitly load data using load data inpath into table&lt;/P&gt;</description>
    <pubDate>Sun, 04 Dec 2016 02:21:17 GMT</pubDate>
    <dc:creator>rajkumar_singh</dc:creator>
    <dc:date>2016-12-04T02:21:17Z</dc:date>
    <item>
      <title>I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136300#M47884</link>
      <description>&lt;P&gt;FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:hdfs://quickstart.cloudera:8020/user/cloudera/emp1/emp.txt is not a directory or unable to create one)&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 00:45:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136300#M47884</guid>
      <dc:creator>ramus_plsql</dc:creator>
      <dc:date>2016-12-04T00:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136301#M47885</link>
      <description>&lt;P&gt;can you post me command which you are using to create table, do you have a permission on directory where you are creating external table&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:12:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136301#M47885</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-04T01:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136302#M47886</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14673/ramusplsql.html"&gt;Ram M&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you are trying to define the "LOCATION" then you should remember:&lt;/P&gt;&lt;P&gt;1.  the "/user/cloudera/emp1"  directory exist in your HDFS filesystem&lt;/P&gt;&lt;P&gt;2. The "/user/cloudera/emp1" in your HDFS has the file "emp.txt"&lt;/P&gt;&lt;P&gt;Can you please run the following command in your HDFS and share the results?&lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls /user/cloudera/emp1&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:15:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136302#M47886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-04T01:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136303#M47887</link>
      <description>&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;create external table emp1(eno int,&lt;/P&gt;&lt;P&gt;ename string,&lt;/P&gt;&lt;P&gt;sal string)&lt;/P&gt;&lt;P&gt;row format delimited&lt;/P&gt;&lt;P&gt;fields terminate by '~'&lt;/P&gt;&lt;P&gt;location '/user/cloudera/hadoop_practise/emp1/emp.txt';&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:17:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136303#M47887</guid>
      <dc:creator>ramus_plsql</dc:creator>
      <dc:date>2016-12-04T01:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136304#M47888</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14673/ramusplsql.html" nodeid="14673"&gt;@Ram M&lt;/A&gt;&lt;P&gt;can you try create table like this &lt;/P&gt;&lt;P&gt;create external table emp1(eno int,&lt;/P&gt;&lt;P&gt;ename string,&lt;/P&gt;&lt;P&gt;sal string)&lt;/P&gt;&lt;P&gt;row format delimited&lt;/P&gt;&lt;P&gt;fields terminate by '~'&lt;/P&gt;&lt;P&gt;location '/tmp';&lt;/P&gt;&lt;P&gt;this will create a table with name emp1 on hdfs under /tmp location. seems you are following some cloudera documentation to create table on hdp platform but user cloudera won't exist on HDP thats why you are facing problem.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:21:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136304#M47888</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-04T01:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136305#M47889</link>
      <description>&lt;P&gt;Last login: Sat Dec  3 07:58:20 2016 from 192.168.203.1
[cloudera@quickstart ~]$ hdfs dfs -ls /user/cloudera
Found 5 items
-rwxrwxrwx   1 cloudera cloudera         28 2016-12-03 05:41 /user/cloudera/emp.txt
drwxr-xr-x   - cloudera cloudera          0 2016-12-03 08:08 /user/cloudera/emp1
-rw-r--r--   1 cloudera cloudera         67 2016-12-03 01:35 /user/cloudera/file3.txt
-rw-r--r--   1 cloudera cloudera          0 2016-12-03 02:36 /user/cloudera/merge.txt
drwxr-xr-x   - cloudera cloudera          0 2016-12-03 02:21 /user/cloudera/ram&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:30:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136305#M47889</guid>
      <dc:creator>ramus_plsql</dc:creator>
      <dc:date>2016-12-04T01:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136306#M47890</link>
      <description>&lt;P&gt;will it load data without loading from specified location?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:39:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136306#M47890</guid>
      <dc:creator>ramus_plsql</dc:creator>
      <dc:date>2016-12-04T01:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136307#M47891</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14673/ramusplsql.html" nodeid="14673"&gt;@Ram M&lt;/A&gt;it seems you are trying cloudera distribution, can you try running the same command from cloudera user with a small change in table location like this /user/cloudera/hadoop_practise/emp1&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:39:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136307#M47891</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-04T01:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136308#M47892</link>
      <description>&lt;P&gt;sorry I could not get your ask,could you please clarify&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:43:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136308#M47892</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-04T01:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136309#M47893</link>
      <description>&lt;P&gt;table is created...but data is not loaded from EMP1(DIRECT0RY)...In this directory there is emp.txt file&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 01:47:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136309#M47893</guid>
      <dc:creator>ramus_plsql</dc:creator>
      <dc:date>2016-12-04T01:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136310#M47894</link>
      <description>&lt;P&gt;you need to explicitly load data using load data inpath into table&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 02:21:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136310#M47894</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-04T02:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting below error while creating external table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136311#M47895</link>
      <description>&lt;P&gt;Thanks Raj&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:24:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-below-error-while-creating-external-table/m-p/136311#M47895</guid>
      <dc:creator>ramus_plsql</dc:creator>
      <dc:date>2016-12-05T08:24:15Z</dc:date>
    </item>
  </channel>
</rss>

