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

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

Enis Soztutar created HBASE-8724:
------------------------------------

             Summary: [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


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