Re: Rethinking REST (Re: HBASE-4368 and friends)

2012-05-27 Thread Ulrich Staudinger
hi there, just some two cent from my side. first of all, it is a great idea. in the activequant master server, i also embed a simple jetty server that answers requests for domain specific data over plain http. tools like R or matlab prefer to receice plain csv data instead of json. particularly fo

Why TestLoadIncrementalHfiles.java creates each file for range keys

2012-05-27 Thread sakin cali
Hi, In TestLoadIncrementalHFiles's runTest method, a hfile is created for each hfile region (between lines 133-138). http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.java?view=markup I couldn't understand the reason f

Writing to a region from a Coprocessor

2012-05-27 Thread Sever
Hello, I did not find any clear documentation on this aspect: is it possible to write from a co-processor that runs on a certain region server to a region that falls within the scope of another region-server? If yes how does this happen? Do the region-servers communicate directly? A use case migh

Re: Writing to a region from a Coprocessor

2012-05-27 Thread Lars George
Hi Sever, Use the getTable() method of the given coprocessor environment. It gives you access to any table in the cluster. Lars On May 27, 2012, at 15:48, Sever wrote: > > Hello, > > I did not find any clear documentation on this aspect: is it possible to > write from a co-processor that r

Re: batch insert performance

2012-05-27 Thread N Keywal
Hi, What version are you using? On trunk, put(Put) and put(List) calls the same code, so I would expect comparable performances when autoflush it set to false. However, with 250K small puts you may have the gc playing a role. What are the results if you do the inserts with 50 times 5K rows? N.

MR not seeing data locality - IP versus Host name

2012-05-27 Thread Tim Robertson
Hi all, When I run MR jobs, I don't see data locality because the TT sees /default-rack/c4n1.gbif.org but the TableInputFormat is giving /default-rack/130.226.238.181 (the same machine) when it determines the splits for the job. Clearly we have set something up wrong - has anyone seen this? I've

Hbase master doesn't start

2012-05-27 Thread Dalia Sobhy
Hi, I have a problem with Hbase master, although namenode, and job tracker are working well. 2012-05-27 09:13:27,587 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server localhost/0:0:0:0:0:0:0:1:21812012-05-27 09:13:27,588 WARN org.apache.zookeeper.ClientCnxn: Session 0x0

Re: MR not seeing data locality - IP versus Host name

2012-05-27 Thread Stack
On Sun, May 27, 2012 at 1:05 PM, Tim Robertson wrote: > Hi all, > > When I run MR jobs, I don't see data locality because the TT sees > /default-rack/c4n1.gbif.org but the TableInputFormat is > giving /default-rack/130.226.238.181 (the same machine) when it determines > the splits for the job. It

Re: Hbase master doesn't start

2012-05-27 Thread Norbert Burger
Looks like localhost is somehow resolving to an IPv6 address. If this is not your intent (usually not recommended), then you can hint the JVM by adding -Djava.net.preferIPv4Stack=true to the HBASE_OPTS var in hbase-env.sh. Norbert On Sun, May 27, 2012 at 5:43 PM, Dalia Sobhy wrote: > > Hi, > I