You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Praveen Bathala <pb...@gmail.com> on 2011/05/12 17:28:54 UTC

hbase-0.20.3-indexed.jar help

Hi All,
    I started using HBase for a while and i am working on some open source
project which has some old jars from Hadoop and HBase.
Now I am trying to update it to the latest Hadoop and HBase versions and I
have trouble doing it.

Noticably, I have a jar *"hbase-0.20.3-indexed.jar" *  in the project and I
dont find that jar in the latest hbase version (0.20.6), so I am having
problem figuring out following imports in the project

*import **org.apache.hadoop.hbase.client.idx*.IdxColumnDescriptor;
 **
*

import org.apache.hadoop.hbase.client.idx.IdxIndexDescriptor;

import org.apache.hadoop.hbase.client.idx.IdxQualifierType;

Any help how can get this classes in the new HBase version or any
replacements for these in newer versions ?



Thanks in advance

- Prvn
*

**
**

Re: Zookeeper fails with Bind exception

Posted by Praveen Bathala <pb...@gmail.com>.
Thanks for help.
Looks like there is some issue with the port 2181 on my machine, even after reboot there is a process listening on that port which i was able to find only using "fuser"

- Prvn

On Jun 11, 2011, at 12:53 AM, Stack wrote:

> Somthing is already using the port.  Find out what it is.  Use netstat
> --listening|grep PORT_NUMBER or some such facility.  Or just edit they
> zk configs. to use another port.
> 
> St.Ack
> 
> On Fri, Jun 10, 2011 at 8:55 PM, Praveen Bathala <pb...@gmail.com> wrote:
>> Hi,
>> 
>> I have some problem with bringing up my hbase.
>> Zookeeper complains about java Bind exception, but I dont see any other zookeeper instance or process running
>> 
>> stack trace :
>> 
>> localhost: starting zookeeper, logging to /home/xxxxx/hbase/hbase-0.90.3/bin/../logs/hbase-xxxxx-zookeeper-xxxxx-server.out
>> localhost: java.net.BindException: Address already in use
>> localhost:      at sun.nio.ch.Net.bind(Native Method)
>> localhost:      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
>> localhost:      at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:144)
>> localhost:      at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:108)
>> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:78)
>> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:63)
>> 
>> and before this thing happened, my server crashed for some reason, I am not sure why. by the time I was looking at it, it was just booting up and after that I wasn't able to start hbase, no exceptions in zookeeper log too
>> 
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.io.tmpdir=/tmp
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.compiler=<NA>
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.name=Linux
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.arch=amd64
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.version=2.6.38-8-generic
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.name=xxxxx
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.home=/home/xxxxxx
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.dir=/home/xxxx/hbase/hbase-0.90.3
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: tickTime set to 3000
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: minSessionTimeout set to -1
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: maxSessionTimeout set to 180000
>> 2011-06-10 23:48:44,201 INFO org.apache.zookeeper.server.NIOServerCnxn: binding to port 0.0.0.0/0.0.0.0:2181
>> 
>> 
>> 
>> any help ?
>> 
>> 
>> Thanks
>> - Prvn
>> 
>> 


Re: Zookeeper fails with Bind exception

Posted by Praveen Bathala <pb...@gmail.com>.
Configuring a different port worked, but why would that happen when nothing is really happening on the machine is what I am trying to figure out

- Prvn

On Jun 11, 2011, at 12:53 AM, Stack wrote:

> Somthing is already using the port.  Find out what it is.  Use netstat
> --listening|grep PORT_NUMBER or some such facility.  Or just edit they
> zk configs. to use another port.
> 
> St.Ack
> 
> On Fri, Jun 10, 2011 at 8:55 PM, Praveen Bathala <pb...@gmail.com> wrote:
>> Hi,
>> 
>> I have some problem with bringing up my hbase.
>> Zookeeper complains about java Bind exception, but I dont see any other zookeeper instance or process running
>> 
>> stack trace :
>> 
>> localhost: starting zookeeper, logging to /home/xxxxx/hbase/hbase-0.90.3/bin/../logs/hbase-xxxxx-zookeeper-xxxxx-server.out
>> localhost: java.net.BindException: Address already in use
>> localhost:      at sun.nio.ch.Net.bind(Native Method)
>> localhost:      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
>> localhost:      at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:144)
>> localhost:      at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:108)
>> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:78)
>> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:63)
>> 
>> and before this thing happened, my server crashed for some reason, I am not sure why. by the time I was looking at it, it was just booting up and after that I wasn't able to start hbase, no exceptions in zookeeper log too
>> 
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.io.tmpdir=/tmp
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.compiler=<NA>
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.name=Linux
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.arch=amd64
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.version=2.6.38-8-generic
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.name=xxxxx
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.home=/home/xxxxxx
>> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.dir=/home/xxxx/hbase/hbase-0.90.3
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: tickTime set to 3000
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: minSessionTimeout set to -1
>> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: maxSessionTimeout set to 180000
>> 2011-06-10 23:48:44,201 INFO org.apache.zookeeper.server.NIOServerCnxn: binding to port 0.0.0.0/0.0.0.0:2181
>> 
>> 
>> 
>> any help ?
>> 
>> 
>> Thanks
>> - Prvn
>> 
>> 


Re: Zookeeper fails with Bind exception

Posted by Stack <st...@duboce.net>.
Somthing is already using the port.  Find out what it is.  Use netstat
--listening|grep PORT_NUMBER or some such facility.  Or just edit they
zk configs. to use another port.

St.Ack

On Fri, Jun 10, 2011 at 8:55 PM, Praveen Bathala <pb...@gmail.com> wrote:
> Hi,
>
> I have some problem with bringing up my hbase.
> Zookeeper complains about java Bind exception, but I dont see any other zookeeper instance or process running
>
> stack trace :
>
> localhost: starting zookeeper, logging to /home/xxxxx/hbase/hbase-0.90.3/bin/../logs/hbase-xxxxx-zookeeper-xxxxx-server.out
> localhost: java.net.BindException: Address already in use
> localhost:      at sun.nio.ch.Net.bind(Native Method)
> localhost:      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
> localhost:      at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:144)
> localhost:      at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:108)
> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:78)
> localhost:      at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:63)
>
> and before this thing happened, my server crashed for some reason, I am not sure why. by the time I was looking at it, it was just booting up and after that I wasn't able to start hbase, no exceptions in zookeeper log too
>
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.io.tmpdir=/tmp
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.compiler=<NA>
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.name=Linux
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.arch=amd64
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.version=2.6.38-8-generic
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.name=xxxxx
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.home=/home/xxxxxx
> 2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.dir=/home/xxxx/hbase/hbase-0.90.3
> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: tickTime set to 3000
> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: minSessionTimeout set to -1
> 2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: maxSessionTimeout set to 180000
> 2011-06-10 23:48:44,201 INFO org.apache.zookeeper.server.NIOServerCnxn: binding to port 0.0.0.0/0.0.0.0:2181
>
>
>
> any help ?
>
>
> Thanks
> - Prvn
>
>

Zookeeper fails with Bind exception

Posted by Praveen Bathala <pb...@gmail.com>.
Hi,

I have some problem with bringing up my hbase.
Zookeeper complains about java Bind exception, but I dont see any other zookeeper instance or process running

stack trace :

localhost: starting zookeeper, logging to /home/xxxxx/hbase/hbase-0.90.3/bin/../logs/hbase-xxxxx-zookeeper-xxxxx-server.out
localhost: java.net.BindException: Address already in use
localhost: 	at sun.nio.ch.Net.bind(Native Method)
localhost: 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
localhost: 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
localhost: 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
localhost: 	at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:144)
localhost: 	at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:108)
localhost: 	at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:78)
localhost: 	at org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:63)

and before this thing happened, my server crashed for some reason, I am not sure why. by the time I was looking at it, it was just booting up and after that I wasn't able to start hbase, no exceptions in zookeeper log too

2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.io.tmpdir=/tmp
2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.compiler=<NA>
2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.name=Linux
2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.arch=amd64
2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:os.version=2.6.38-8-generic
2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.name=xxxxx
2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.home=/home/xxxxxx
2011-06-10 23:48:44,175 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:user.dir=/home/xxxx/hbase/hbase-0.90.3
2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: tickTime set to 3000
2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: minSessionTimeout set to -1
2011-06-10 23:48:44,181 INFO org.apache.zookeeper.server.ZooKeeperServer: maxSessionTimeout set to 180000
2011-06-10 23:48:44,201 INFO org.apache.zookeeper.server.NIOServerCnxn: binding to port 0.0.0.0/0.0.0.0:2181



any help ?


Thanks
- Prvn


Re: hbase-0.20.3-indexed.jar help

Posted by Praveen Bathala <pb...@gmail.com>.
I got the contrib on git, but I dont see any classes related to "idx" in
there
- Prvn
On Thu, May 12, 2011 at 12:59 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:

> That contrib was moved to github, see
> https://github.com/hbase-trx/hbase-transactional-tableindexed
>
> J-D
>
> On Thu, May 12, 2011 at 8:28 AM, Praveen Bathala <pb...@gmail.com>
> wrote:
> > Hi All,
> >    I started using HBase for a while and i am working on some open source
> > project which has some old jars from Hadoop and HBase.
> > Now I am trying to update it to the latest Hadoop and HBase versions and
> I
> > have trouble doing it.
> >
> > Noticably, I have a jar *"hbase-0.20.3-indexed.jar" *  in the project and
> I
> > dont find that jar in the latest hbase version (0.20.6), so I am having
> > problem figuring out following imports in the project
> >
> > *import **org.apache.hadoop.hbase.client.idx*.IdxColumnDescriptor;
> >  **
> > *
> >
> > import org.apache.hadoop.hbase.client.idx.IdxIndexDescriptor;
> >
> > import org.apache.hadoop.hbase.client.idx.IdxQualifierType;
> >
> > Any help how can get this classes in the new HBase version or any
> > replacements for these in newer versions ?
> >
> >
> >
> > Thanks in advance
> >
> > - Prvn
> > *
> >
> > **
> > **
> >
>



-- 
+ Praveen

Re: hbase-0.20.3-indexed.jar help

Posted by Jean-Daniel Cryans <jd...@apache.org>.
That contrib was moved to github, see
https://github.com/hbase-trx/hbase-transactional-tableindexed

J-D

On Thu, May 12, 2011 at 8:28 AM, Praveen Bathala <pb...@gmail.com> wrote:
> Hi All,
>    I started using HBase for a while and i am working on some open source
> project which has some old jars from Hadoop and HBase.
> Now I am trying to update it to the latest Hadoop and HBase versions and I
> have trouble doing it.
>
> Noticably, I have a jar *"hbase-0.20.3-indexed.jar" *  in the project and I
> dont find that jar in the latest hbase version (0.20.6), so I am having
> problem figuring out following imports in the project
>
> *import **org.apache.hadoop.hbase.client.idx*.IdxColumnDescriptor;
>  **
> *
>
> import org.apache.hadoop.hbase.client.idx.IdxIndexDescriptor;
>
> import org.apache.hadoop.hbase.client.idx.IdxQualifierType;
>
> Any help how can get this classes in the new HBase version or any
> replacements for these in newer versions ?
>
>
>
> Thanks in advance
>
> - Prvn
> *
>
> **
> **
>