Importing to HBase from Java problem

2010-12-06 Thread Gökhan Çapan
Hi, I am facing with some issues when I try to write the results of my Reducer to an HBase table, in pseudo-distributed mode. HBase version: 0.20.6 Hadoop version: 0.20.2 I let HBase manage Zookeeper. After starting HBase, I can successfully start HBase shell, and create a table. In my MapRedu

Re: Importing to HBase from Java problem

2010-12-06 Thread Gökhan Çapan
r > MapReduce CLASSPATH. > > St.Ack > I hadn't added the hbase conf directory to my MapReduce CLASSPATH. Unfortunately, now I am not able to try. I will try tomorrow, and let you know. Thanks. > > > On Mon, Dec 6, 2010 at 8:12 AM, Gökhan Çapan wrote: > > Hi, > &g

Re: Importing to HBase from Java problem

2010-12-07 Thread Gökhan Çapan
I had forgotten add HBase-conf to MapReduce ClassPath. That solved the problem, Thanks. On Mon, Dec 6, 2010 at 8:40 PM, Gökhan Çapan wrote: > > > On Mon, Dec 6, 2010 at 7:54 PM, Stack wrote: > >> That looks like a mismatch between client and server hbase versions. >&

Re: Importing to HBase from Java problem

2010-12-08 Thread Gökhan Çapan
5) at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:723) at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:328) ... 13 more On Tue, Dec 7, 2010 at 11:30 AM, Gökhan Çapan wrote: > I had forgotten add HBase-conf to MapReduce ClassPath. > > That solved the problem, > &g

Re: Importing to HBase from Java problem

2010-12-08 Thread Gökhan Çapan
0.20.6 does > going by the log below. > St.Ack > > On Wed, Dec 8, 2010 at 6:44 AM, Gökhan Çapan wrote: > > Hi, > > > > Now I am getting the same Exception while trying to run a simple HBase > > client. > > > > HBase 0.20.6 is both in classpath of Had

Re: Importing to HBase from Java problem

2010-12-08 Thread Gökhan Çapan
s is not a great plan > > Dave > > -Original Message- > From: Gökhan Çapan [mailto:gkhn...@gmail.com] > Sent: Wednesday, December 08, 2010 1:19 PM > To: user@hbase.apache.org > Subject: Re: Importing to HBase from Java problem > > Sure. > > This is a pro

Re: Importing to HBase from Java problem

2010-12-08 Thread Gökhan Çapan
On Thu, Dec 9, 2010 at 12:44 AM, Stack wrote: > On Wed, Dec 8, 2010 at 1:19 PM, Gökhan Çapan wrote: > > > > There is another module with exactly same dependencies. This is a "has > > nothing but a main" class that performs some scans on the HBase table &g

Determine in which row a column exists

2010-12-10 Thread Gökhan Çapan
Hi, We have the output of a clustering algorithm in an hbase table which has the following structure: {NAME => 'clusters', FAMILIES => [{NAME => 'products', COMPRESS true ION => 'NONE', VERSIONS => '3', TTL => '2147483647', BLOCKSIZE => '655 36', IN_MEMORY => 'false', BLOCKCACHE => 'true'}]} r

Re: Determine in which row a column exists

2010-12-10 Thread Gökhan Çapan
.it> wrote: > What about a thin table? rowkey:productid columname:clusterid? > > > On 12/10/10 10:52 AM, Gökhan Çapan wrote: > > Hi, > > > > We have the output of a clustering algorithm in an hbase table which has > the > > following structure: > > > > {NA