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 2012/12/21 23:27:12 UTC

[jira] [Updated] (HBASE-7423) HFileArchiver should not use the configuration from the Filesystem

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

Enis Soztutar updated HBASE-7423:
---------------------------------

    Attachment: hbase-7423_v1.patch

Attaching a simple patch. Current set of test cases should cover this. 
                
> HFileArchiver should not use the configuration from the Filesystem
> ------------------------------------------------------------------
>
>                 Key: HBASE-7423
>                 URL: https://issues.apache.org/jira/browse/HBASE-7423
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0, 0.94.4
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: hbase-7423_v1.patch
>
>
> HFileArchiver gets the configuration from the FileSystem in 
> {code}
>  public static void archiveRegion(FileSystem fs, HRegionInfo info)
>       throws IOException {
>     Path rootDir = FSUtils.getRootDir(fs.getConf());
> {code}
> In Pig's test cases, they construct a MiniDFSCluster and pass it to HBaseTestingUtil, which causes the delete table to fail because it will refer to the FileSystem's configuration rather than HBase's one. 

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