hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8724) [0.94] ExportSnapshot should not use hbase.tmp.dir as a staging dir on hdfs
Date Mon, 10 Jun 2013 22:28:20 GMT

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

Matteo Bertozzi commented on HBASE-8724:
----------------------------------------

+1 on the patch, makes no difference to me if you want to keep the conf key as constant or
not.
                
> [0.94] ExportSnapshot should not use hbase.tmp.dir as a staging dir on hdfs
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-8724
>                 URL: https://issues.apache.org/jira/browse/HBASE-8724
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce, snapshots
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.94.9
>
>         Attachments: hbase-8724_v1.patch
>
>
> On 0.94, ExportSnapshot uses "hbase.tmp.dir" as the job's staging directory on hdfs.
However, "hbase.tmp.dir" is by definition a local directory, thus should not be used as an
hdfs directory for the job. 
> Trunk uses JobUtil.getStagingDir() which gets the staging dir from JobSubmissionFiles
class in Hadoop, so trunk is fine. 
> We've discovered this since it fails the test on windows, but this is not windows-specific
as per above (like specifying hbase.tmp.dir as /var/hbase/tmp/ etc)

--
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