[
https://issues.apache.org/jira/browse/HBASE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602934#comment-13602934
]
Ted Yu commented on HBASE-4285:
-------------------------------
+1
{code}
+ Path partitionsPath = new Path("/tmp", "partitions_" + UUID.randomUUID());
{code}
I wonder if including the first split key in the filename would help debugging.
> 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: Sub-task
> 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, 0.98.0
>
> Attachments:
> 0001-HBASE-4285-cleanup-ImportTsv-partitions-file-litter.patch,
> 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