how to read a table in hbase from the first row to the last?

2008-01-21 Thread ma qiang
Dear colleagues: I am writing some code about reading a table in hbase from the first row to the last . Can you tell me how ? Thank you !

Re: how to terminate a program in hadoop?

2008-01-20 Thread ma qiang
s by pointing your browser to your > jobtracker. > > > On Jan 20, 2008 11:36 PM, ma qiang <[EMAIL PROTECTED]> wrote: > > > Dear colleagues: > > I use eclipse to develop some programs in hadoop, when > > exceptions took place such as death cycle, I don'

how to terminate a program in hadoop?

2008-01-20 Thread ma qiang
Dear colleagues: I use eclipse to develop some programs in hadoop, when exceptions took place such as death cycle, I don't know how to terminate it safely. Can you tell me? Thank you very much! Best wishes! Qiang Ma

without insert method in HTable class

2008-01-20 Thread ma qiang
Dear colleagues: I don't know how to insert new rows in a table, and there's no insert method in HTable class. Can you tell me how to insert some rows in a new table? Thanks. Best wishes! Qiang Ma Department of Computer Science and Engineering Fudan University Shanghai, P. R. Ch

Re: the "127.0.1.1:60020" in HBase

2008-01-18 Thread ma qiang
hbase.regionserver port in my hbase-defaut.xml. > > > hbase.regionserver > 0.0.0.0:60020 > The host and port a HBase region server runs at. > > > > how about yours? > > > On Jan 18, 2008 4:04 PM, Mafish Liu <[EMAIL PROTECTED]> w

Re: the "127.0.1.1:60020" in HBase

2008-01-17 Thread ma qiang
ort, hbase is based on hadoop, it need > to > connent to hadoop. > > > On Jan 18, 2008 12:16 PM, ma qiang <[EMAIL PROTECTED]> wrote: > > > Dear colleagues; > > I run the code as described below: > > HBaseConfiguration conf = new HBaseConfiguration(); &

the "127.0.1.1:60020" in HBase

2008-01-17 Thread ma qiang
Dear colleagues; I run the code as described below: HBaseConfiguration conf = new HBaseConfiguration(); HBaseAdmin admin = new HBaseAdmin(conf); HTableDescriptor[] tables = admin.listTables(); I see errors : 08/01/18 12:11:56 INFO ipc.Client: Retrying connect to server: /127.0.1.1:60020. A

Re: about using HBase?

2008-01-17 Thread ma qiang
I have tried several times after locating hbase-site.xml into ${hadoop-home}/conf, but the same error exist . it connected to 0.0.0.0:6000 not to connect to my own IP . the error the same as last time as below: 08/01/17 18:46:46 INFO ipc.Client: Retrying connect to server: 0.0.0.0:6. Alread

Re: about using HBase?

2008-01-17 Thread ma qiang
I have met this problem, When I run the code HBaseAdmin admin = new HbaseAdmin(conf); the console print these messeages as below: 08/01/17 18:46:46 INFO ipc.Client: Retrying connect to server: /0.0.0.0:6. Already tried 1 time(s). 08/01/17 18:46:47 INFO ipc.Client: Retrying connect to server:

Re: about using HBase?

2008-01-17 Thread ma qiang
Thank you for your help! You metioned hadoop-0.16.* , but I still use hadoop-0.15 ,I can't see hadoop-0.16.* in the http://lucene.apache.org/hadoop/releases.html, and I haven't found the org.apache.hadoop.hbase.hql . .So I'm not sure I use the correct edition. On Jan 17, 2008 4:40 PM, edward yo

Re: about using HBase?

2008-01-17 Thread ma qiang
Thank you very much! I've used the HQL as you metioned, but where is package including HQLClient and ReturnMsg ? On Jan 17, 2008 4:05 PM, edward yoon <[EMAIL PROTECTED]> wrote: > > See the HBaseAdmin and HTable, HConnection classes. > If you use a eclipse for develop, i'd recommend the Outline

Re: about using HBase?

2008-01-16 Thread ma qiang
Thanks very much! When I manipulate the HBase in map and reduce function,I need use the java api about HBase. Can you tell me how to use it? On Jan 17, 2008 3:50 PM, edward yoon <[EMAIL PROTECTED]> wrote: > > Sorry for my broke mail. > > Please copy the hadoop-0.16.*-hbase.jar to ${hadoop_home}/

about using HBase?

2008-01-16 Thread ma qiang
Dear colleagues; Now,I have to use HBase in my map and reduce functions, but I don't know how to use. I have seen the examples in the FQA and org.apache.hadoop.hbase. ,but I can't run it successfully. Can you give me some simple examples make me manipulate HBase using java api in my map an

about the Class of IntWritable and Text

2008-01-15 Thread ma qiang
Dear colleague, In the method of output.collect(key, value), I can set the "value" as Text or IntWritable in the reduce function, but I can only set it as IntWritable in the map function. Would you tell me why? when I set the "value" as Text, the system output the error as follows : java.io

about API of hase

2007-12-18 Thread ma qiang
Hi colleague, After reading the API docs about hbase,I don't know how to manipulate the hase using the java API .Would you please send me some examples? Thank you! Ma Qiang Department of Computer Science and Engineering Fudan University Shanghai, P. R. China