You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2013/06/11 00:22:20 UTC

[jira] [Updated] (HBASE-8724) [0.94] ExportSnapshot should not use hbase.tmp.dir as a staging dir on hdfs

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

Enis Soztutar updated HBASE-8724:
---------------------------------

    Attachment: hbase-8724_v1.patch

Attaching a simple patch. Introduces "hbase.export.staging.root" directory which defaults to working directory in FS. This conf parameter is not there in trunk, so alternatively we might just make it hard coded instead. 
                
> [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