Hi,
I have a problem with loading data to partitioned table from remote machine (Hive is on Hadoop 0.20). When I try to execute query, for example:

LOAD DATA LOCAL INPATH 'file' INTO TABLE wh_im_status PARTITION (day='2010-10-02');

Hive on machine that I do this query tells that:
Copying data from file: file
Loading data to table wh_im_status partition {day=2010-10-11}
Failed with exception org.apache.thrift.TApplicationException: get_partition failed: unknown result FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

and Thrift server writes only this:
10/05/24 19:39:14 INFO metastore.HiveMetaStore: 1: get_table : db=default tbl=wh_im_status 10/05/24 19:39:14 INFO metastore.HiveMetaStore: 1: get_partition : db=default tbl=wh_im_status

When I load data to table without defining partition, it works. When I load data to hive from local machine with defining partition, it also works. Where is the problem?






--
Aleksander Siewierski
Software Engineer
Gadu Radio Tech

GG Network S.A.
Al. Stanów Zjednoczonych 61, 04-028 Warszawa
tel.: +48 22 4277900 w. 135 fax.: 22 / 514 64 98
GG: 16109

Spółka zarejestrowana w Sądzie Rejonowym dla m. st. Warszawy, XIII
Wydział Gospodarczy KRS pod numerem 0000264575, NIP 867-19-48-977.
Kapitały zakładowy:  1 758 461,10 zł - wpłacony w całości.

Reply via email to