[ 
https://issues.apache.org/jira/browse/HBASE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Dimiduk updated HBASE-4285:
--------------------------------

    Attachment: 0001-HBASE-4285-cleanup-ImportTsv-partitions-file-litter.patch

ImportTsv leaves a 'partitions_blah' file sitting in the user home directory 
after it completes. This patch cleans up creation of the partitions file, 
including moving it to /tmp and doing away with the symlink business. It also 
sets the file to be deleted on FS close/JVM exit, but local testing indicates 
this flag is not respected by HDFS. This will affect any job that makes use of 
HFileOutputFormat#configureIncrementalLoad.

Depends on HBASE-7938.
                
> partitions file created in user's home directory by importtsv
> -------------------------------------------------------------
>
>                 Key: HBASE-4285
>                 URL: https://issues.apache.org/jira/browse/HBASE-4285
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce
>    Affects Versions: 0.90.4, 0.95.0, 0.98.0
>            Reporter: Wing Yew Poon
>            Assignee: Nick Dimiduk
>             Fix For: 0.95.0
>
>         Attachments: 
> 0001-HBASE-4285-cleanup-ImportTsv-partitions-file-litter.patch, 
> 0001-HBASE-4285-cleanup-ImportTsv-partitions-file-litter.patch
>
>
> I am using HBase 0.94 from CDH3u1.
> After running importtsv, I find that a temporary partitions_* file is written 
> to my user home directory in HDFS. This file should really be deleted 
> automatically when it is no longer needed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to