hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: 0.20.0 migration
Date Wed, 29 Jul 2009 22:47:52 GMT
I think I came across this also:

https://issues.apache.org/jira/browse/HBASE-1638?focusedCommentId=12735403&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12735403






________________________________
From: Clint Morgan <cm-public@troove.net>
To: hbase-user@hadoop.apache.org
Sent: Wednesday, July 29, 2009 3:34:04 PM
Subject: 0.20.0 migration

I'm trying to migrate some data from 0.19 and experiencing some pain:

I tried running HBaseAdmin.majorCompact() over all the tables, including
catalogs. But when I try to migrate afterward I get error about root not
being compacted. I had called majorCompact(-ROOT-) but never see it being
compacted in the logs.

Then I try to follow the instructions at
http://wiki.apache.org/hadoop/Hbase/HowToMigrate and run

./bin/hbase org.apache.hadoop.hbase.regionserver.HRegion
hdfs:///localhost:7001/opt/troove/data/hadoop/hbase/-ROOT- major-compact

(on head of branches/0.19) and get:

clint-morgan:hbase-clean clint.morgan$ ./bin/hbase
org.apache.hadoop.hbase.regionserver.HRegion
hdfs:///localhost:7001/opt/troove/data/hadoop/hbase/-ROOT- major-compact
09/07/29 15:30:30 INFO regionserver.HLog: HLog configuration:
blocksize=33554432, maxlogentries=100000, flushlogentries=100,
optionallogflushinternal=10000ms
09/07/29 15:30:30 INFO regionserver.HLog: New log writer:
/tmp/hlog-ROOT-1248906630690/hlog.dat.1248906630698
09/07/29 15:30:30 INFO regionserver.HRegion: Closed -ROOT-,,0
Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS:
hdfs:/localhost:7001/opt/troove/data/hadoop/hbase/-ROOT-/70236052/info/mapfiles,
expected: file:///
    at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:322)
    at
org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:52)
    at
org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:416)
    at
org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:244)
    at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:651)
    at org.apache.hadoop.hbase.regionserver.HStore.checkdir(HStore.java:272)
    at org.apache.hadoop.hbase.regionserver.HStore.<init>(HStore.java:219)
    at
org.apache.hadoop.hbase.regionserver.HRegion.instantiateHStore(HRegion.java:1777)
    at
org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:288)
    at
org.apache.hadoop.hbase.regionserver.HRegion.processTable(HRegion.java:2709)
    at org.apache.hadoop.hbase.regionserver.HRegion.main(HRegion.java:2765)

Any idea what is going wrong?
-clint



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message