Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # dev >> compiling HBaseFsck.java for 0.20.5


+
Ted Yu 2010-07-03, 14:23
+
Ted Yu 2010-07-03, 16:51
+
Dhruba Borthakur 2010-07-05, 06:02
Copy link to this message
-
Re: compiling HBaseFsck.java for 0.20.5
No.

Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Dhruba Borthakur <[EMAIL PROTECTED]>
Date: Sun, 4 Jul 2010 23:02:54
To: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: compiling HBaseFsck.java for 0.20.5

are you, by any chance, running HBase on a filesystem other than HDFS?

thanks
dhruba

On Sat, Jul 3, 2010 at 9:51 AM, Ted Yu <[EMAIL PROTECTED]> wrote:

> I produced patched version of HBaseFsck.java which is attached.
>
> When I ran it, I got:
>
> Version: 0.20.5
> 10/07/03 09:41:38 DEBUG zookeeper.ZooKeeperWrapper: Read ZNode
> /hbase/root-region-server got 10.32.56.159:60020
> 10/07/03 09:41:38 DEBUG client.HConnectionManager$TableServers: Found ROOT
> at 10.32.56.159:60020
> 10/07/03 09:41:38 DEBUG client.HConnectionManager$TableServers: Cached
> location for .META.,,1 is 10.32.56.160:60020
>
> Number of Tables: 0
> Number of live region servers:2
> Number of dead region servers:0
> Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS:
> hdfs://sjc9-flash-grid04.carrieriq.com:9000/hbase, expected: file:///
>         at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
>         at
> org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:47)
>         at
> org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:273)
>         at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:721)
>         at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:746)
>         at
> org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:465)
>         at
> org.apache.hadoop.hbase.client.HBaseFsck.checkHdfs(HBaseFsck.java:192)
>         at
> org.apache.hadoop.hbase.client.HBaseFsck.doWork(HBaseFsck.java:165)
>         at
> org.apache.hadoop.hbase.client.HBaseFsck.main(HBaseFsck.java:533)
> 10/07/03 09:41:38 INFO zookeeper.ZooKeeper: Closing session:
> 0x1299926deb30004
>
> Please comment.
>
>
> On Sat, Jul 3, 2010 at 7:23 AM, Ted Yu <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> I tried to compile HBaseFsck.java for 0.20.5 but got:
>>
>> compile-core:
>>     [javac] Compiling 338 source files to
>> /Users/tyu/hbase-0.20.5/build/classes
>>     [javac]
>> /Users/tyu/hbase-0.20.5/src/java/org/apache/hadoop/hbase/client/HBaseFsck.java:95:
>> cannot find symbol
>>     [javac] symbol  : constructor
>> HBaseAdmin(org.apache.hadoop.conf.Configuration)
>>     [javac] location: class org.apache.hadoop.hbase.client.HBaseAdmin
>>     [javac]     super(conf);
>>     [javac]     ^
>>     [javac]
>> /Users/tyu/hbase-0.20.5/src/java/org/apache/hadoop/hbase/client/HBaseFsck.java:447:
>> cannot find symbol
>>     [javac] symbol  : method
>> metaScan(org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitor)
>>     [javac] location: class org.apache.hadoop.hbase.client.MetaScanner
>>     [javac]       MetaScanner.metaScan(conf, visitor);
>>     [javac]                  ^
>>     [javac]
>> /Users/tyu/hbase-0.20.5/src/java/org/apache/hadoop/hbase/client/HBaseFsck.java:503:
>> cannot find symbol
>>     [javac] symbol  : method create()
>>     [javac] location: class org.apache.hadoop.hbase.HBaseConfiguration
>>     [javac]     Configuration conf = HBaseConfiguration.create();
>>     [javac]                                            ^
>>     [javac] Note: Some input files use or override a deprecated API.
>>     [javac] Note: Recompile with -Xlint:deprecation for details.
>>     [javac] Note: Some input files use unchecked or unsafe operations.
>>     [javac] Note: Recompile with -Xlint:unchecked for details.
>>     [javac] 3 errors
>>
>> Advice is welcome.
>>
>
>
--
Connect to me at http://www.facebook.com/dhruba

+
Stack 2010-07-05, 17:24
+
Ted Yu 2010-07-06, 01:25
+
Stack 2010-07-06, 16:08
+
Ted Yu 2010-07-06, 16:44
+
Jean-Daniel Cryans 2010-07-06, 16:54
+
Ted Yu 2010-07-06, 17:05
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB