hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristam Subba Swathi (JIRA)" <>
Subject [jira] [Created] (HIVE-3157) set fileformat rcfile is not working on the tables with partition
Date Tue, 19 Jun 2012 13:58:42 GMT
Kristam Subba Swathi created HIVE-3157:

             Summary: set fileformat rcfile is not working on the tables with partition
                 Key: HIVE-3157
             Project: Hive
          Issue Type: Bug
          Components: Metastore
            Reporter: Kristam Subba Swathi

Steps to reproduce
Create the table with partition
Add partition 
set the file format to rcfile
Now try to load RCfile into the table 
Load is failing.
create table rcfileTable(key int, value string) partitioned by (ds string);
alter table rcfileTable add partition(ds='2010');
alter table rcfileTable partition(ds='2010') set fileformat rcfile;
load data local inpath 'smbbucket_1.rc' overwrite into table rcfileTable partition(ds='2010');
Please find the exception trace for more details
2012-06-19 19:21:01,500 ERROR exec.Task ( - Failed with
exception Wrong file format. Please check the file's format.
org.apache.hadoop.hive.ql.metadata.HiveException: Wrong file format. Please check the file's
	at org.apache.hadoop.hive.ql.exec.MoveTask.execute(
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
	at org.apache.hadoop.hive.ql.Driver.launchTask(
	at org.apache.hadoop.hive.ql.Driver.execute(
	at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(
	at org.apache.hadoop.hive.service.ThriftHive$Processor$execute.getResult(
	at org.apache.hadoop.hive.service.ThriftHive$Processor$execute.getResult(
	at org.apache.thrift.ProcessFunction.process(
	at org.apache.thrift.TBaseProcessor.process(
	at org.apache.thrift.server.TThreadPoolServer$
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message