Sławek Trybus | 2 Nov 2009 12:38
Picon

Java client connection to HBase 0.20.1 problem

Hi to everyone in the forum!

I'm getting started with HBase 0.20.1 and I'm trying to prepare dev
environment for web application development based on HBase as storage.

In my test desktop java application I'm getting console output like this:

09/11/02 01:59:57 INFO zookeeper.ZooKeeper: Client
environment:user.dir=C:\Data\Users\slawek\workspace\HBaseTestClient
09/11/02 01:59:57 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=192.168.219.129:2181 sessionTimeout=60000
watcher=org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher <at> 4741d6
09/11/02 01:59:57 INFO zookeeper.ClientCnxn: zookeeper.disableAutoWatchReset
is false
09/11/02 01:59:57 INFO zookeeper.ClientCnxn: Attempting connection to server
/192.168.219.129:2181
09/11/02 01:59:57 INFO zookeeper.ClientCnxn: Priming connection to
java.nio.channels.SocketChannel[connected local=/192.168.219.1:54027remote=/
192.168.219.129:2181]
09/11/02 01:59:57 INFO zookeeper.ClientCnxn: Server connection successful
*09/11/02 01:59:59 INFO ipc.HbaseRPC: Server at /127.0.0.1:35565 could not
be reached after 1 tries, giving up.*
*09/11/02 02:00:02 INFO ipc.HbaseRPC: Server at /127.0.0.1:35565 could not
be reached after 1 tries, giving up.*
this info is appearing with no end -> *09/11/02 02:00:05 INFO ipc.HbaseRPC:
Server at /127.0.0.1:35565 could not be reached after 1 tries, giving up.*
...

I'm working on Windows Vista (running my java client application in eclipse)
and HBase is installed on Ubuntu 9.04 installed on VMware. Ubuntu virtual
(Continue reading)

Amandeep Khurana | 2 Nov 2009 12:44
Picon
Gravatar

Re: Java client connection to HBase 0.20.1 problem

Add the following in your /etc/hosts

<ip address> <hostname>

That might be the problem

On Mon, Nov 2, 2009 at 3:38 AM, Sławek Trybus <slawek.trybus@...>wrote:

> Hi to everyone in the forum!
>
> I'm getting started with HBase 0.20.1 and I'm trying to prepare dev
> environment for web application development based on HBase as storage.
>
> In my test desktop java application I'm getting console output like this:
>
> 09/11/02 01:59:57 INFO zookeeper.ZooKeeper: Client
> environment:user.dir=C:\Data\Users\slawek\workspace\HBaseTestClient
> 09/11/02 01:59:57 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=192.168.219.129:2181 sessionTimeout=60000
>
> watcher=org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher <at> 4741d6
> 09/11/02 01:59:57 INFO zookeeper.ClientCnxn:
> zookeeper.disableAutoWatchReset
> is false
> 09/11/02 01:59:57 INFO zookeeper.ClientCnxn: Attempting connection to
> server
> /192.168.219.129:2181
> 09/11/02 01:59:57 INFO zookeeper.ClientCnxn: Priming connection to
> java.nio.channels.SocketChannel[connected local=/192.168.219.1:54027
> remote=/
(Continue reading)

Amandeep Khurana | 2 Nov 2009 12:46
Picon
Gravatar

Re: Java client connection to HBase 0.20.1 problem

Restart the network interfaces after you edit the hosts file:

sudo /etc/init.d/networking restart

On Mon, Nov 2, 2009 at 3:44 AM, Amandeep Khurana <amansk@...> wrote:
>
> Add the following in your /etc/hosts
>
> <ip address> <hostname>
>
> That might be the problem
>
> On Mon, Nov 2, 2009 at 3:38 AM, Sławek Trybus <slawek.trybus <at> gmail.com>
wrote:
>>
>> Hi to everyone in the forum!
>>
>> I'm getting started with HBase 0.20.1 and I'm trying to prepare dev
>> environment for web application development based on HBase as storage.
>>
>> In my test desktop java application I'm getting console output like this:
>>
>> 09/11/02 01:59:57 INFO zookeeper.ZooKeeper: Client
>> environment:user.dir=C:\Data\Users\slawek\workspace\HBaseTestClient
>> 09/11/02 01:59:57 INFO zookeeper.ZooKeeper: Initiating client connection,
>> connectString=192.168.219.129:2181 sessionTimeout=60000
>>
watcher=org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher <at> 4741d6
>> 09/11/02 01:59:57 INFO zookeeper.ClientCnxn:
zookeeper.disableAutoWatchReset
(Continue reading)

stack | 2 Nov 2009 18:35

Re: Issue with bulk loader tool

Murali:

Any developments worth mentioning?

St.Ack

On Fri, Oct 30, 2009 at 10:14 AM, stack <stack@...> wrote:

> That is interesting.  It'd almost point to a shell issue.  Enable DEBUG so
> client can see it.  Then rerun shell.  Is it at least loading the right
> region?  (The regions start and end keys span the asked for key?).  I took a
> look at your attached .META. scan.  All looks good there.  The region
> specifications look right.  If you want to bundle up the region that is
> failing -- the one that the failing key comes out of, I can take a look
> here.  You could also try playing with the HFile tool: ./bin/hbase
> org.apache.hadoop.hbase.io.hfile.HFile.  Run the former and it'll output
> usage.  You should be able to get it to dump content of the region (You need
> to supply flags like -v to see actual keys to the HFile tool else it just
> runs its check silently).    Check for your key.  Check things like
> timestamp on it.  Maybe its 100 years in advance of now or something?
>
> Yours,
> St.Ack
>
>
> On Fri, Oct 30, 2009 at 9:01 AM, Murali Krishna. P <muralikpbhat@...
> > wrote:
>
>> Attached ".META"
>>
(Continue reading)

bmdevelopment | 2 Nov 2009 20:02
Picon

New Filter Functionality Required [was: Re: Problem using RowFilter]

Hello,
I am back to where I am going to need the functionality I have described 
below - basically a SCVF that works on all versions. I was wondering if 
I may go ahead and open an issue for this and begin to contribute some 
code. Granted, I will have to do some digging to get my head around the 
filtering at the moment. If that is fine, then I will go ahead and do so 
and post in JIRA once I have something working.
Thanks
J

Bluemetrix Development wrote:
> Hi, Thanks for the response.
> Yes, ValueFilter does compare against all versions. Thanks for
> pointing this out. I'm getting closer. :)
> 
> Basically, I am wanting to do the following:
> Get all values (for all versions) of a row where a specific value (for
> any version), specified by family:qualifier, matches a string.
> 
> The problems I am having now are that
> 1.) I can specify a string to match with ValueFilter, but now only
> that value is returned with the row. I want all values in that row
> returned.
> 2.) I cannot specify which family:qualifier to match against for a
> past version. This causes problems if the value I am looking for is,
> by chance, in a column other than the one I want to search, therefore
> returning a row that I do not really want. SCVF solves this, but does
> not work for past versions.
> 
> I've started to work around this by filtering on the client side after
(Continue reading)

stack | 2 Nov 2009 20:45

Re: New Filter Functionality Required [was: Re: Problem using RowFilter]

On Mon, Nov 2, 2009 at 11:02 AM, bmdevelopment <bmdevelopment@...>wrote:

> Hello,
> I am back to where I am going to need the functionality I have described
> below - basically a SCVF that works on all versions. I was wondering if I
> may go ahead and open an issue for this and begin to contribute some code.
> Granted, I will have to do some digging to get my head around the filtering
> at the moment. If that is fine, then I will go ahead and do so and post in
> JIRA once I have something working.
>

Please do.  Let us know if we can help out.  Make sure you get latest code.
Some fixes have gone in for filters recently.

Yours,
St.Ack

> Thanks
> J
>
> Bluemetrix Development wrote:
>
>> Hi, Thanks for the response.
>> Yes, ValueFilter does compare against all versions. Thanks for
>> pointing this out. I'm getting closer. :)
>>
>> Basically, I am wanting to do the following:
>> Get all values (for all versions) of a row where a specific value (for
>> any version), specified by family:qualifier, matches a string.
>>
(Continue reading)

jaydeepmail | 3 Nov 2009 07:37
Picon

How to load file from remote place in HDFS


I dont want to do scp from remote place to local and than local to hdfs. Is
there any by that i can do scp from remote place to directly in hdfs ? 

--

-- 
View this message in context: http://old.nabble.com/How-to-load-file-from-remote-place-in-HDFS-tp26159991p26159991.html
Sent from the HBase User mailing list archive at Nabble.com.

jaydeepmail | 3 Nov 2009 07:37
Picon

How to load file from remote place in HDFS


I dont want to do scp from remote place to local and than local to hdfs. Is
there any by that i can do scp from remote place to directly in hdfs ? 

--

-- 
View this message in context: http://old.nabble.com/How-to-load-file-from-remote-place-in-HDFS-tp26159992p26159992.html
Sent from the HBase User mailing list archive at Nabble.com.

jaydeepmail | 3 Nov 2009 07:40
Picon

How to load file from remote place in HDFS


I dont want to do scp from remote place to local and than local to hdfs. Is
there any by that i can do scp from remote place to directly in hdfs ? 

--

-- 
View this message in context: http://old.nabble.com/How-to-load-file-from-remote-place-in-HDFS-tp26159995p26159995.html
Sent from the HBase User mailing list archive at Nabble.com.

jaydeepmail | 3 Nov 2009 07:41
Picon

How to load file from remote place in HDFS


I dont want to do scp from remote place to local and than local to hdfs. Is
there any by that i can do scp from remote place to directly in hdfs ? 

--

-- 
View this message in context: http://old.nabble.com/How-to-load-file-from-remote-place-in-HDFS-tp26159997p26159997.html
Sent from the HBase User mailing list archive at Nabble.com.


Gmane