Can you show us code snippet where you add filter to Scan object ? Thanks
On Apr 27, 2014, at 9:43 AM, yeshwanth kumar <yeshwant...@gmail.com> wrote: > hi ted, > > i am using fuzzyrow filter while scanning a table. > my cluster is running on HBase 0.94.6-cdh4.5.0 > but in my webapp i specified hbase 0.94.7. dependency. > > even after changing the dependency i still see the same error. > > thanks, > yeshwanth. > > > > > On Sun, Apr 27, 2014 at 10:03 PM, Ted Yu <yuzhih...@gmail.com> wrote: > >> Did the exception below happen when you were performing some query on the >> region server ? >> >> Can you tell us a bit more whether your query uses FilterList ? >> >> Thanks >> >> >> On Sun, Apr 27, 2014 at 9:28 AM, yeshwanth kumar <yeshwant...@gmail.com >>> wrote: >> >>> hi jean, >>> >>> i am using HBase 0.94.6-cdh4.5.0 >>> >>> i found this in regionservers log, >>> >>> org.apache.hadoop.hbase.io.HbaseObjectWritable >>> Error in readFields >>> java.lang.ClassCastException: >>> org.apache.hadoop.hbase.snapshot.HSnapshotDescription cannot be cast to >>> org.apache.hadoop.hbase.filter.Filter >>> at >>> org.apache.hadoop.hbase.filter.FilterList.readFields(FilterList.java:276) >>> at org.apache.hadoop.hbase.client.Scan.readFields(Scan.java:591) >>> at >> org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:689) >>> at org.apache.hadoop.hbase.ipc.Invocation.readFields(Invocation.java:127) >>> at >> org.apache.hadoop.hbase.ipc.HBaseServer$Connection.processData(HBaseServer.java:1313) >>> at >> org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseServer.java:1228) >>> at >> org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:750) >>> at >> org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.doRunLoop(HBaseServer.java:541) >>> at >> org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.run(HBaseServer.java:516) >>> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:744) >>> >>> how can i fix this dependency issue. >>> >>> >>> >>> >>> On Fri, Apr 25, 2014 at 9:06 PM, yeshwanth kumar <yeshwant...@gmail.com >>>> wrote: >>> >>>> hi jean, >>>> >>>> i haven't written any piece of code to workaround znode, >>>> one of my rest endpoint in webapp reads data from hbase. >>>> it is giving me empty set. >>>> all if found in the logs is >>>> >>>> Reading reply sessionid:0x145974472760023, packet:: clientPath:null >>>> serverPath:null finished:false header:: 42,4 replyHeader:: >>>> 42,77309411972,-101 request:: '/hbase/table/NCSVs,F response:: >>>> hconnection-0x145974472760023 Unable to get data of znode >>>> /hbase/table/NCSVs because node does not exist (not an error) >>>> >>>> this is what i found in zookeeper client >>>> >>>> *$[zk: localhost:2181(CONNECTED) 14] ls /hbase* >>>> *[splitlog, online-snapshot, unassigned, table94, root-region-server, >> rs, >>>> backup-masters, table, draining, master, shutdown, hbaseid]* >>>> >>>> >>>> -yeshwanth >>>> >>>> >>>> On Fri, Apr 25, 2014 at 8:18 PM, Jean-Marc Spaggiari < >>>> jean-m...@spaggiari.org> wrote: >>>> >>>>> Hi Yeshwanth, >>>>> >>>>> What is your webapp looking at the ZNode? If you should the Java >> client >>>>> and >>>>> not look at the ZNode. Not getting why it's looking there. Do yo >> uknow? >>>>> >>>>> JM >>>>> >>>>> >>>>> 2014-04-25 2:01 GMT-04:00 yeshwanth kumar <yeshwant...@gmail.com>: >>>>> >>>>>> hi matteo, >>>>>> >>>>>> my problem isn't solved yet. >>>>>> webapp isn't reading data from hbase. >>>>>> all i see in logs is znode /hbase/table/mytable doesn't exist. >>>>>> but all my tables are present in /hbase/table94/ >>>>>> >>>>>> so how can i fix this problem. >>>>>> >>>>>> thanks, >>>>>> yeshwanth >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Apr 22, 2014 at 9:58 PM, Matteo Bertozzi < >>>>> theo.berto...@gmail.com >>>>>>> wrote: >>>>>> >>>>>>> that is already done by the server. >>>>>>> The ZooKeeperWatcher.java is using conf.get( >>>>>>> "zookeeper.znode.masterTableEnableDisable", "table94")); >>>>>>> >>>>>>> anyway, why are you looking at the znodes? >>>>>>> a client application should never look at the znodes. >>>>>>> The znodes are only carrying transient informations used for >>>>> coordination >>>>>>> >>>>>>> Matteo >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Apr 22, 2014 at 9:20 AM, yeshwanth kumar < >>>>> yeshwant...@gmail.com >>>>>>>> wrote: >>>>>>> >>>>>>>> hi matteo, >>>>>>>> >>>>>>>> how do i specify hbase znode to use /hbase/table94 instead of >>>>>>> /hbase/table >>>>>>>> >>>>>>>> thanks >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Apr 22, 2014 at 9:40 PM, Matteo Bertozzi < >>>>>>> theo.berto...@gmail.com >>>>>>>>> wrote: >>>>>>>> >>>>>>>>> On Tue, Apr 22, 2014 at 9:00 AM, yeshwanth kumar < >>>>>>> yeshwant...@gmail.com >>>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> @matteo >>>>>>>>>> present znode is at /hbase/table where it is empty. >>>>>>>>>> where as all my tables are present in /hbase/table94 >>>>>>>>>> now webapp isn't reading the data from hbase. >>>>>>>>> >>>>>>>>> cdh 4.5.0 doesn't write in /hbase/table due to a compatibility >>>>> issue >>>>>>>>> /hbase/table94 >>>>>>>>> is used. >>>>>>>>> (see HBASE-6710 for details) >>>>>>>>> >>>>>>>>> On Tue, Apr 22, 2014 at 6:56 PM, Matteo Bertozzi < >>>>>>>> theo.berto...@gmail.com >>>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>>> /hbase/table94 is a "compatibility" znode that replaces >>>>>>> /hbase/table >>>>>>>>>>> if you want more details take a look at HBASE-6710. >>>>>>>>>>> >>>>>>>>>>> what is the problem of looking into /hbase/table94 instead >>> of >>>>>>>>>> /hbase/table? >>>>>>>>>>> >>>>>>>>>>> Matteo >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Apr 22, 2014 at 5:18 AM, yeshwanth kumar < >>>>>>>>> yeshwant...@gmail.com >>>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> i am running webapp written on jaxrs framework which >>>>> performs >>>>>>> CRUD >>>>>>>>>>>> opereations on hbase. >>>>>>>>>>>> >>>>>>>>>>>> app was working fine till last week, >>>>>>>>>>>> now when i perform reading opeartion from hbase i don't >>> see >>>>>> any >>>>>>>>> data, >>>>>>>>>> i >>>>>>>>>>>> don't see any errors or exceptions but i found this >> lines >>> in >>>>>> the >>>>>>>> log >>>>>>>>>>>> >>>>>>>>>>>> *""Unable to get data of znode /hbase/table/myTable >>> because >>>>>> node >>>>>>>> does >>>>>>>>>> not >>>>>>>>>>>> exist (not an error)"".* >>>>>>>>>>>> >>>>>>>>>>>> i followed this< >>>>> https://blog.cloudera.com/blog/2013/10/what-are-hbase-znodes/> >>>>>>>>>>>> cloudera >>>>>>>>>>>> article about znodes and this is what i found, >>>>>>>>>>>> >>>>>>>>>>>> *$[zk: localhost:2181(CONNECTED) 14] ls /hbase* >>>>>>>>>>>> *[splitlog, online-snapshot, unassigned, table94, >>>>>>>> root-region-server, >>>>>>>>>> rs, >>>>>>>>>>>> backup-masters, table, draining, master, shutdown, >>> hbaseid]* >>>>>>>>>>>> >>>>>>>>>>>> all the tables were present in /hbase/table94, where as >>>>>>>> /hbase/table >>>>>>>>> is >>>>>>>>>>>> empty. >>>>>>>>>>>> >>>>>>>>>>>> i know what is the problem now, >>>>>>>>>>>> but i don't know how to solve it. >>>>>>>>>>>> >>>>>>>>>>>> can someone help me with this issue. >>>>>>>>>>>> >>>>>>>>>>>> Thanks, >>>>>>>>>>>> Yeshwanth >>