In general IIRC that message means that you need to have your hadoop configuration folder in HBase's classpath.
J-D On Tue, Apr 19, 2011 at 2:05 PM, Ted Yu <[email protected]> wrote: > Hi, > In 0.90.2, I tried to use RegionSplitter: > [hadoop@us01-ciqps1-name01 hbase]$ bin/hbase > org.apache.hadoop.hbase.util.RegionSplitter -r -o 2 > 'M2M-INTEGRATION-DIMENSIONS-1303180666422' > ... > 11/04/19 21:02:33 DEBUG client.HConnectionManager$HConnectionImplementation: > Cache hit for row <> in tableName M2M-INTEGRATION-DIMENSIONS-1303180666422: > location server us01-ciqps1-grid07.carrieriq.com:60020, location region name > M2M-INTEGRATION-DIMENSIONS-1303180666422,,1303180669457.19be2774054a672e905554bcaf73d5e0. > Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: > hdfs:// > us01-ciqps1-name01.carrieriq.com:9000/hbase/M2M-INTEGRATION-DIMENSIONS-1303180666422/_balancedSplit, > expected: file:/// > at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:352) > at > org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:47) > at > org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:368) > at > org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:251) > at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:690) > at > org.apache.hadoop.hbase.util.RegionSplitter.getSplits(RegionSplitter.java:612) > at > org.apache.hadoop.hbase.util.RegionSplitter.rollingSplit(RegionSplitter.java:362) > at > org.apache.hadoop.hbase.util.RegionSplitter.main(RegionSplitter.java:291) > > Has anyone experienced this ? > > Thanks >
