hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7423) HFileArchiver should not use the configuration from the Filesystem
Date Fri, 21 Dec 2012 23:05:12 GMT

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

Ted Yu commented on HBASE-7423:
-------------------------------

Patch makes sense.
{code}
+  public static boolean archiveRegion(Configuration conf, FileSystem fs, Path rootdir, Path
tableDir, Path regionDir)
{code}
Wrap long line above.

You may need to rebase against trunk.
                
> 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

Mime
View raw message