hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manish <manishbh...@rocketmail.com>
Subject Problem when copying data from local drive to HDFS and creating external table.
Date Thu, 16 Aug 2012 14:52:16 GMT

Hello All,

I am copying data from local drive to the HDFS and creating an external
table in hive. But due to some reason data is not copied and create
table script giving an error "file/folder doesn't exists".

Note: there is an error also "log4j", don't know what exact reason for
this error. In past though same error was coming but data was getting
copied. 

manish@manish:~$ hadoop fs
-copyFromLocal /home/manish/airteldata/datadump.txt
hdfs://localhost:54310/usr/manish/input/data.csv
log4j:ERROR Could not find value for key log4j.appender.NullAppender
log4j:ERROR Could not instantiate appender named "NullAppender".

CREATE external TABLE tbl_call_lead(
...
....
...
...
..)
COMMENT 'data lead table'
ROW FORMAT DELIMITED FIELDS TERMINATED BY '\054'
STORED AS TEXTFILE
LOCATION '/usr/manish/input/data.csv';


Mime
View raw message