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/21 22:35:13 UTC

[jira] [Resolved] (HBASE-7422) MasterFS doesn't set configuration for internal FileSystem

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

Jimmy Xiang resolved HBASE-7422.
--------------------------------

    Resolution: Fixed

Integrated into 0.94.  Thanks all for the view, and Himanshu for the patch.
                
> MasterFS doesn't set configuration for internal FileSystem
> ----------------------------------------------------------
>
>                 Key: HBASE-7422
>                 URL: https://issues.apache.org/jira/browse/HBASE-7422
>             Project: HBase
>          Issue Type: Bug
>          Components: master, test
>    Affects Versions: 0.94.3
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>             Fix For: 0.94.4
>
>         Attachments: HBASE-7422.patch, HBASE-7422-v2.patch
>
>
> The call stack ends on HFileArchiver.archveRegion, which uses fs.getConf() to get the configuration object. This returns a different conf object (not the one used in MasterFileSystem), which may have the root file system as file (depending on the test environment). 
> {code}
> from META
> 2012-12-20 13:46:09,540 DEBUG [MASTER_TABLE_OPERATIONS-p0122.mtv.cloudera.com,53027,1356039958141-0] backup.HFileArchiver(91): ARCHIVING region file:/tmp/hbase-jenkins/hbase/tableB/1c0ce809562dcefde6086d4f8549ed8f
> 2012-12-20 13:46:09,540 DEBUG [MASTER_TABLE_OPERATIONS-p0122.mtv.cloudera.com,53027,1356039958141-0] backup.HFileArchiver(109): Have an archive directory, preparing to move files
> 2012-12-20 13:46:09,543 ERROR [MASTER_TABLE_OPERATIONS-p0122.mtv.cloudera.com,53027,1356039958141-0] executor.EventHandler(174): Caught throwable while processing event C_M_DELETE_TABLE
> java.lang.IllegalArgumentException: Wrong FS: file:/tmp/hbase-jenkins/hbase/tableB/1c0ce809562dcefde6086d4f8549ed8f, expected: hdfs://localhost:39594
> 	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:550)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:170)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:401)
> 	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1376)
> 	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1416)
> 	at org.apache.hadoop.hbase.util.FSUtils.listStatus(FSUtils.java:1164)
> 	at org.apache.hadoop.hbase.backup.HFileArchiver.archiveRegion(HFileArchiver.java:122)
> 	at org.apache.hadoop.hbase.backup.HFileArchiver.archiveRegion(HFileArchiver.java:72)
> 	at org.apache.hadoop.hbase.master.MasterFileSystem.deleteRegion(MasterFileSystem.java:444)
> 	at org.apache.hadoop.hbase.master.handler.DeleteTableHandler.handleTableOperation(DeleteTableHandler.java:71)
> 	at org.apache.hadoop.hbase.master.handler.TableEventHandler.process(TableEventHandler.java:96)
> {code}

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