hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Urbina (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4285) partitions file created in user's home directory by importtsv
Date Tue, 02 Apr 2013 21:33:15 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620294#comment-13620294
] 

Leo Urbina commented on HBASE-4285:
-----------------------------------

The latest patch assumes that the directory /tmp exists and it is writable by the current
user. This may not be the case if the underlying file system is HDFS, and may cause the setup
to fail. A better approach would be to create the partitions file under ${hadoop.tmp.dir}
which is guaranteed to exist and is writable.
                
> 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

Mime
View raw message