You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2012/12/22 00:31:22 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=13538531#comment-13538531 ] 

Jimmy Xiang edited comment on HBASE-7423 at 12/21/12 11:29 PM:
---------------------------------------------------------------

Do we need both fixes? With this fix, do we need the previous fix?
                
      was (Author: jxiang):
    Do we need both fixes? With this fix, do we need the prefix fix?
                  
> 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, hbase-7423_v2.patch, hbase-7423_v2.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