hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fulin wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5874) The HBase do not configure the 'fs.default.name' attribute, the hbck tool and Merge tool throw IllegalArgumentException.
Date Wed, 25 Apr 2012 09:28:02 GMT
fulin wang created HBASE-5874:
---------------------------------

             Summary: The HBase do not configure the 'fs.default.name' attribute, the hbck
tool and Merge tool throw IllegalArgumentException.
                 Key: HBASE-5874
                 URL: https://issues.apache.org/jira/browse/HBASE-5874
             Project: HBase
          Issue Type: Bug
          Components: hbck
            Reporter: fulin wang


The HBase do not configure the 'fs.default.name' attribute, the hbck tool and Merge tool throw
IllegalArgumentException.
the hbck tool and Merge tool, we should add 'fs.default.name' attriubte to the code.

hbck exception:
Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://160.176.0.101:9000/hbase/.META./1028785192/.regioninfo,
expected: file:///
	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:412)
	at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:59)
	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:382)
	at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:285)
	at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:128)
	at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:301)
	at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:489)
	at org.apache.hadoop.hbase.util.HBaseFsck.loadHdfsRegioninfo(HBaseFsck.java:565)
	at org.apache.hadoop.hbase.util.HBaseFsck.loadHdfsRegionInfos(HBaseFsck.java:596)
	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:332)
	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:360)
	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:2907)
    
Merge exception:  
[2012-05-05 10:48:24,830] [ERROR] [main] [org.apache.hadoop.hbase.util.Merge 381] exiting
due to error
java.lang.IllegalArgumentException: Wrong FS: hdfs://160.176.0.101:9000/hbase/.META./1028785192/.regioninfo,
expected: file:///
	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:412)
	at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:59)
	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:382)
	at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:285)
	at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:823)
	at org.apache.hadoop.hbase.regionserver.HRegion.checkRegioninfoOnFilesystem(HRegion.java:415)
	at org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:340)
	at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:2679)
	at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:2665)
	at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:2634)
	at org.apache.hadoop.hbase.util.MetaUtils.openMetaRegion(MetaUtils.java:276)
	at org.apache.hadoop.hbase.util.MetaUtils.scanMetaRegion(MetaUtils.java:261)
	at org.apache.hadoop.hbase.util.Merge.run(Merge.java:115)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.hbase.util.Merge.main(Merge.java:379)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message