Himanshu Vashishtha created HBASE-7422:
------------------------------------------

             Summary: TestThriftServerCommandLine fails because of different 
conf object being returned by MasterFileSystem and FileSystem.getConf() method
                 Key: HBASE-7422
                 URL: https://issues.apache.org/jira/browse/HBASE-7422
             Project: HBase
          Issue Type: Bug
          Components: test
    Affects Versions: 0.94.3
            Reporter: Himanshu Vashishtha
            Assignee: Himanshu Vashishtha
             Fix For: 0.94.4


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

Reply via email to