Re: java.lang.NoSuchMethodException: hbase-0.90

2011-01-17 Thread Stack
On Sun, Jan 16, 2011 at 6:58 PM, Abinash Karana (Bizosys) abin...@bizosys.com wrote: Here goes the exception details.. I again encountered... You are running on local filesystem? java.io.IOException: Unable to delete src dir: file:/tmp/hbase-karan/hbase/.logs/abinash,3620,1295188307109 You

RE: java.lang.NoSuchMethodException: hbase-0.90

2011-01-17 Thread Abinash Karana (Bizosys)
: java.lang.NoSuchMethodException: hbase-0.90 On Sun, Jan 16, 2011 at 6:58 PM, Abinash Karana (Bizosys) abin...@bizosys.com wrote: Here goes the exception details.. I again encountered... You are running on local filesystem? java.io.IOException: Unable to delete src dir: file:/tmp/hbase-karan/hbase/.logs/abinash

RE: java.lang.NoSuchMethodException: hbase-0.90

2011-01-16 Thread Abinash Karana (Bizosys)
: Skipping entry: hbase-webapps/static/hbase_logo_med.gif -Original Message- From: Ted Dunning [mailto:tdunn...@maprtech.com] Sent: Saturday, January 08, 2011 2:28 AM To: dev@hbase.apache.org Subject: Re: java.lang.NoSuchMethodException: hbase-0.90 Great. I will file a patch to move

java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread Abinash Karana (Bizosys)
11/01/07 14:46:11 WARN wal.SequenceFileLogReader: Error while trying to get accurate file length. Truncation / data loss may occur if RegionServers d ie. java.lang.NoSuchMethodException: org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.getFileLength () at

Re: java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread Ted Dunning
This is on 0.90, right? Were you using HDFS to store your region tables? I just ran into the same thing and looked into the org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader$WALReader$WALReaderFSDataInputStream.getPos method. That method does some truly hideous reflection things

RE: java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread Abinash Karana (Bizosys)
down to 235ms. Regards Abinash -Original Message- From: Ted Dunning [mailto:tdunn...@maprtech.com] Sent: Friday, January 07, 2011 9:23 PM To: dev@hbase.apache.org; abin...@bizosys.com Subject: Re: java.lang.NoSuchMethodException: hbase-0.90 This is on 0.90, right? Were you using HDFS

Re: java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread Stack
On Fri, Jan 7, 2011 at 7:53 AM, Ted Dunning tdunn...@maprtech.com wrote: This is on 0.90, right?  Were you using HDFS to store your region tables? I just ran into the same thing and looked into the

Re: java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread M. C. Srivas
On Fri, Jan 7, 2011 at 10:30 AM, Stack st...@duboce.net wrote: On Fri, Jan 7, 2011 at 7:53 AM, Ted Dunning tdunn...@maprtech.com wrote: This is on 0.90, right? Were you using HDFS to store your region tables? I just ran into the same thing and looked into the

Re: java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread Ted Dunning
On Fri, Jan 7, 2011 at 10:30 AM, Stack st...@duboce.net wrote: As to your question Ted, it does seem like we could do the reflection once-only in the constructor rather than every time we do a getPos. Let me ask Nicolas. Maybe he had reason for having to do it each time. As to its

Re: java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread Ted Dunning
I think a simple check for the presence of the method is better. On Fri, Jan 7, 2011 at 11:32 AM, M. C. Srivas mcsri...@gmail.com wrote: How about checking to see if in is instanceOf DFSInputStream before doing the rest of the stuff? St.Ack

Re: java.lang.NoSuchMethodException: hbase-0.90

2011-01-07 Thread Ted Dunning
Great. I will file a patch to move the check to the constructor and fail back to old process if the method is missing. For our case, I just implemented getFileLength and all is happy (on that front) On Fri, Jan 7, 2011 at 12:38 PM, Stack st...@duboce.net wrote: Let me open an issue to add