What stack was referring to is the split where we moved IHBase out of
the shipping HBase.  It is now a 3rd party plugin and needs to be
separately downloaded and included.

You will want this:
http://github.com/ykulbak/ihbase

and

http://wiki.github.com/ykulbak/ihbase/getting-started




On Mon, May 17, 2010 at 6:27 PM, Nitin Goel <nitin.g...@in.fujitsu.com> wrote:
> Thanks for your quick reply.
>
> Yes, I do have HBase jar in my classpath. I investigated it and found that 
> this class is even missing in 0.20.4 version, then I have used 0.20.3 version 
> where this class was present. I am not sure why it has been removed from the 
> latest version.
>
> Thanks,
> Nitin Goel
>
> -----Original Message-----
> From: saint....@gmail.com on behalf of Stack
> Sent: Mon 5/17/2010 9:41 PM
> To: hbase-user@hadoop.apache.org
> Subject: Re: ClassNotFoundException: 
> org.apache.hadoop.hbase.client.idx.IdxQualifierType
>
> You have IHBase jar in your CLASSPATH?
> St.Ack
>
> On Mon, May 17, 2010 at 3:56 AM, Nitin Goel <nitin.g...@in.fujitsu.com> wrote:
>> Hi,
>>
>>
>>
>> I am new to HBase and I am trying to use hbql on HBase. There I am
>> getting the following exception
>>
>>
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/hadoop/hbase/client/idx/IdxQualifierType
>>
>>            at
>> org.apache.hadoop.hbase.hbql.mapping.FieldType.<clinit>(FieldType.java:5
>> 0)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.mapping.ColumnDefinition.getFieldType(Colum
>> nDefinition.java:159)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.mapping.ColumnDefinition.newMappedColumn(Co
>> lumnDefinition.java:99)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.antlr.HBqlParser.columnDefinition(HBqlParse
>> r.java:4565)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.antlr.HBqlParser.columnDefinitionnList(HBql
>> Parser.java:4358)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.antlr.HBqlParser.familyMapping(HBqlParser.j
>> ava:4317)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.antlr.HBqlParser.familyMappingList(HBqlPars
>> er.java:4197)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.antlr.HBqlParser.attribMapping(HBqlParser.j
>> ava:2577)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.antlr.HBqlParser.hbqlStmt(HBqlParser.java:9
>> 86)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.antlr.HBqlParser.hbqlStatement(HBqlParser.j
>> ava:463)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.parser.ParserUtil.parseHBqlStatement(Parser
>> Util.java:163)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.impl.Utils.parseHBqlStatement(Utils.java:49
>> )
>>
>>            at
>> org.apache.hadoop.hbase.hbql.impl.HStatementImpl.execute(HStatementImpl.
>> java:159)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.impl.HConnectionImpl.execute(HConnectionImp
>> l.java:314)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.impl.MappingManager.validatePersistentMetad
>> ata(MappingManager.java:59)
>>
>>            at
>> org.apache.hadoop.hbase.hbql.impl.HConnectionImpl.<init>(HConnectionImpl
>> .java:92)
>>
>>            at
>> org.apache.hadoop.hbase.jdbc.impl.ConnectionImpl.<init>(ConnectionImpl.j
>> ava:64)
>>
>>            at
>> org.apache.hadoop.hbase.jdbc.Driver.getConnection(Driver.java:85)
>>
>>            at
>> org.apache.hadoop.hbase.jdbc.Driver.connect(Driver.java:74)
>>
>>            at
>> java.sql.DriverManager.getConnection(DriverManager.java:582)
>>
>>            at
>> java.sql.DriverManager.getConnection(DriverManager.java:207)
>>
>>            at
>> com.fujitsu.fla.tsig.gdb.hbase.HBaseHelper.main(HBaseHelper.java:42)
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.hadoop.hbase.client.idx.IdxQualifierType
>>
>>            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>
>>            at java.security.AccessController.doPrivileged(Native
>> Method)
>>
>>            at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>
>>            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>
>>            at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>>
>>            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>
>>            at
>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>
>>            ... 22 more
>>
>>
>>
>> Could you please let me know in which jar I can find
>> org.apache.hadoop.hbase.client.idx.IdxQualifierType class? I have
>> checked the source code of HBase 0.20.4, however I didn't find the
>> required class?
>>
>>
>>
>> Thanks & Regards,
>>
>> Nitin Goel
>>
>>
>>
>>
>>
>> DISCLAIMER:
>> This e-mail and any attached files may contain confidential and/or 
>> privileged material for the sole use of the intended recipient.  Any review, 
>> use, distribution or disclosure by others is strictly prohibited. If you are 
>> not the intended recipient (or authorized to receive this e-mail for the 
>> recipient), you may not review, copy or distribute this message.  Please 
>> contact the sender by reply e-mail and delete all copies of this 
>> message:Fujitsu Consulting India Pvt Limited
>>
>
>
>
> DISCLAIMER:
> This e-mail and any attached files may contain confidential and/or privileged 
> material for the sole use of the intended recipient.  Any review, use, 
> distribution or disclosure by others is strictly prohibited. If you are not 
> the intended recipient (or authorized to receive this e-mail for the 
> recipient), you may not review, copy or distribute this message.  Please 
> contact the sender by reply e-mail and delete all copies of this 
> message:Fujitsu Consulting India Pvt Limited
>

Reply via email to