You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ming Ma (JIRA)" <ji...@apache.org> on 2012/10/25 04:28:12 UTC

[jira] [Updated] (HBASE-7048) Regionsplitter requires the hadoop config path to be in hbase classpath

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

Ming Ma updated HBASE-7048:
---------------------------

    Attachment: 7048-trunk.patch
                7048-0.94.patch

Here are the patches for 0.94 and trunk.
                
> Regionsplitter requires the hadoop config path to be in hbase classpath
> -----------------------------------------------------------------------
>
>                 Key: HBASE-7048
>                 URL: https://issues.apache.org/jira/browse/HBASE-7048
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.2
>            Reporter: Ted Yu
>             Fix For: 0.94.3, 0.96.0
>
>         Attachments: 7048-0.94.patch, 7048-trunk.patch
>
>
> When hadoop config path isn't included in hbase classpath, you will get the following:
> {code}
> Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://t3.e.com/hbase/usertable/_balancedSplit, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:454)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:67)
> at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:431)
> at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:301)
> at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1005)
> at org.apache.hadoop.hbase.util.RegionSplitter.getSplits(RegionSplitter.java:643)
> at org.apache.hadoop.hbase.util.RegionSplitter.rollingSplit(RegionSplitter.java:367)
> at org.apache.hadoop.hbase.util.RegionSplitter.main(RegionSplitter.java:295)
> {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