Member since
12-03-2016
6
Posts
1
Kudos Received
0
Solutions
12-05-2016
12:24 AM
Thanks Raj
... View more
12-03-2016
05:47 PM
table is created...but data is not loaded from EMP1(DIRECT0RY)...In this directory there is emp.txt file
... View more
12-03-2016
05:39 PM
will it load data without loading from specified location?
... View more
12-03-2016
05:30 PM
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
... View more
12-03-2016
05:17 PM
Hi Raj, create external table emp1(eno int, ename string, sal string) row format delimited fields terminate by '~' location '/user/cloudera/hadoop_practise/emp1/emp.txt';
... View more
12-03-2016
04:45 PM
1 Kudo
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)
... View more
Labels:
- Labels:
-
Apache Hive