Re: Cannot connect to HBase from a remote machine

2011-02-06 Thread Tost
Try this. config.set("hbase.zookeeper.quorum", "myip"); 2011/2/6 Mark Kerzner > Hi, guys, > > I have these lines trying to connect to the HBase, and it works perfectly > well when I am connecting on that machine that runs HBase, but not when I > am > connecting from the outside. What ports or ot

Re: How to improve the speed of HTable scan

2011-01-25 Thread Tost
Daniel already said. There's not that many mor you should use filter and start row parameter. I recommend RowFilter and ColumnPaginationFilter. byte[] startRow = Bytes.toBytes("96"); byte[] endRow = null; // // // filter = rowFilter; /* * String indexId, *

Re: Simple Hbase jdo module for newbie

2011-01-23 Thread Tost
Thanks stack. I edited http://wiki.apache.org/hadoop/Hbase after wrote hbase-jdo document. 2011/1/22 Stack > Thank you for the sweet addition. > > On Fri, Jan 21, 2011 at 12:09 AM, Tost wrote: > >> I want to contribute this module to hbase > >> absolutely, I'l

Re: installation question

2011-01-23 Thread Tost
hadoop 0.20.x 2011/1/23 John Smith > Hi, > > Can someone tell me which version of HDFS runs with HBase 0.90 version? > Thanks >

Simple Hbase jdo module for newbie

2011-01-21 Thread Tost
> > Hello. > first of all, thanks to hbase members so much , > you helped me a lot. > > I wrote simple jdo module for hbase newbie. I wish this module can help > them. > > Some features > >- simple jdo(used reflection) >- HTable pool ( I already know HTablePool in habse ) >- simple quer

Re: HBase roadmaps

2011-01-21 Thread Tost
Hello. first of all, thanks to hbase members so much , you helped me a lot. I wrote simple jdo module for hbase newbie. I wish this module can help them. Some features - simple jdo(used reflection) - HTable pool ( I already know HTablePool in habse ) - simple query classes ( insert,dele

Re: performance numbers for single query(not reads/sec but single query)

2011-01-11 Thread Tost
You should check like below http://blog.rajeevsharma.in/2009/06/secondary-indexes-in-hbase.html source samples https://issues.apache.org/jira/browse/HBASE-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Th

Hbase transaction mode. recreate row key.

2011-01-10 Thread Tost
ion e){ e.printStackTrace(); if(tran!=null) tran.abort(state); log.debug("transaction commit failed."); } finally{ if(table!=null) table.close(); } // getRow(key0); getRow(key); } Thanks. Tost

Re: how to randomize the primary key which is a timestamp

2011-01-10 Thread Tost
How about SecureRandom class. you can get the key from seed. see http://download.oracle.com/javase/6/docs/api/java/security/SecureRandom.html 2011/1/11 Weishung Chung > Thanks alot, this will get me started :D > > On Mon, Jan 10, 2011 at 11:04 AM, Matt Corgan wrote: > > > You could have prefi

Hbase explorer ( Toad )

2011-01-10 Thread Tost
I already used hadoop eclipse plug-in and hbase explorer. buf, I'd like to find hbase client like sql client. if you concern, check http://toadforcloud.com/thread.jspa?threadID=30532 there is also eclipse plugin. someday, I'll write hbase client by using swing or swt. I'll share it. I hope Thi

Re: How to rename table's family name

2011-01-10 Thread Tost
I couldn't find the way. family cannot be changed without deleting and recreating it. 2011/1/11 Andrey Stepachev > Stack, I don't think, that I know good solution, but I see some possible > way > how > this can be implemented. > > I think, that rename should be atomic (in case of schema in zook

Re: Connecting to Hadoop from Windows

2011-01-09 Thread Tost
hadoop client library. see like below == package com.hadoop; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import

Re: How to lookup the IPs that is connecting the RS?

2011-01-09 Thread Tost
How about netstat, or nmap command in Linux you can check the ips client-server's using port. On 1/10/11, 陈加俊 wrote: > There is many programs that connected the RS and insert or update the data > of some table. I stopped all the program now,but tha data of one table is > growing, I can't find

When you want to upload bigfile by using hbase.

2011-01-09 Thread Tost
Hi. Actually, I tried to find out uploading soluction by using hbase. but, it was impossible because of memory ( hbase is byte stream based module.) So, if you want to upload big file, use hadoop directly. This is sample source. I'm working hbase-util moduls. hbase is nice project for me. but it