may be you are hitting this
https://issues.apache.org/jira/browse/HIVE-3218
On Sun, Feb 17, 2013 at 9:59 AM, 柏健 wrote:
> hi , I write a hive like :
> hive -e "
> set hive.exec.compress.output=true;
> set
> mapred.output.compression.codec=org.apache.hadoop.io.compress.GzipCodec;
> set hive.merg
hi , I write a hive like :
hive -e "
set hive.exec.compress.output=true;
set mapred.output.compression.codec=org.apache.hadoop.io.compress.GzipCodec;
set hive.merge.mapredfiles=true;
set mapred.job.name=my test job;
INSERT OVERWRITE DIRECTORY '/user/test/$year/$month/$day/'
select *
from
test.t
When you want to move data from external system to hive, this means moving data
to HDFS first and then point the Hive table to the file in HDFS where you have
exported the data.
So, you have couple of commands like -copyFromLocal and fget which move the
file to hdfs. If you intent to move in re