You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Etienne Dumoulin <et...@idiro.com> on 2012/08/22 17:09:32 UTC

HBaseStorage clean up

Hi,

I am using a pig script to import data from
a hdfs directory to a hbase table (using the java API):

LOAD '/tmp/hbase/test' USING PigStorage('|');
STORE raw INTO
'hbase://testpig'
USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('cf:a cf:b');

Once the job finished a temporary file still exists:
/tmp/temp1409387861

Is there a way to remove the temporary directory?
Do I do something wrong?

Note: When I do an export, read with HBaseStorage and write
with PigStorage I do not get any remaining temporary folder.

Thanks,

Étienne