Re: All RegionServers stuck on BadVersion from ZK after cluster restart

2016-01-28 Thread tsuna
Just to close the loop on this ordeal… I started by clearing /hbase/splitWAL in ZK and restarting all the RS and the HM. This didn’t change anything. On Wed, Jan 27, 2016 at 8:42 AM, tsuna <tsuna...@gmail.com> wrote: > 16/01/27 16:33:39 INFO namenode.FSNamesystem: Recovering [Lease.

Re: All RegionServers stuck on BadVersion from ZK after cluster restart

2016-01-28 Thread tsuna
Resending to u...@hadoop.apache.org now that I’m subscribed to that list. On Thu, Jan 28, 2016 at 10:50 AM, tsuna <tsuna...@gmail.com> wrote: > Just to close the loop on this ordeal… > > I started by clearing /hbase/splitWAL in ZK and restarting all the RS and > the HM.

Re: All RegionServers stuck on BadVersion from ZK after cluster restart

2016-01-27 Thread tsuna
%252C9104%252C1452811286448.default.1453728137282 -- Benoit "tsuna" Sigoure

Re: All RegionServers stuck on BadVersion from ZK after cluster restart

2016-01-27 Thread tsuna
m one unlucky region. > The BadVersion is probably because task has been assumed by another because > lease recovery taking too long. > > I see 1453728374800 is still in the list you paste from Master later in > this thread. > > Try moving it aside. Might have to restart master for it to notice the > move-aside... Try not restarting first. -- Benoit "tsuna" Sigoure

All RegionServers stuck on BadVersion from ZK after cluster restart

2016-01-26 Thread tsuna
ideas / suggestions? -- Benoit "tsuna" Sigoure Wed Jan 27 05:51:58 UTC 2016 Starting regionserver on r12s4.sjc.aristanetworks.com core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (

Re: HBase failing to restart in single-user mode

2015-05-19 Thread tsuna
? This has nothing to do with the OS cleaning up files or anything. I can start HBase, kill it, restart it within the span of less than 2 minutes, and the restart fails. -- Benoit tsuna Sigoure

Re: HBase failing to restart in single-user mode

2015-05-18 Thread tsuna
from my iPhone On 18 May 2015, at 05:55, tsuna tsuna...@gmail.com wrote: Hi all, For testing on my laptop (OSX with JDK 1.7.0_45) I usually build the latest version from branch-1.0 and use the following config: configuration property namehbase.rootdir/name valuefile:///tmp

HBase failing to restart in single-user mode

2015-05-17 Thread tsuna
(ServerCommandLine.java:126) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2002) I noticed that this has something to do with the ZooKeeper data. If I rm -rf $TMPDIR/hbase-tsuna/zookeeper then I can start HBase again. But of course HBase won’t work properly because while

AsyncHBase 1.6.0 has been released

2014-10-07 Thread tsuna
not schedule RPCs known to be NSRE'd for retry when they are first issued. Thanks to the people above who contributed to this release. -- Benoit tsuna Sigoure

Re: [VOTE] The 1st HBase 0.98.0 release candidate is available for download

2014-01-27 Thread tsuna
the first RC of any new major release. :P -- Benoit tsuna Sigoure

Re: [VOTE] The 1st HBase 0.98.0 release candidate is available for download

2014-01-26 Thread tsuna
If this RC sinks, can you please include this one in 0.98.0: https://issues.apache.org/jira/browse/HBASE-10422 -- Benoit tsuna Sigoure

AsyncHBase 1.5.0 has been released

2014-01-24 Thread tsuna
a value at the specified timestamp. -- Benoit tsuna Sigoure

Re: Giving a chance to buggy coprocessors to clean up

2013-12-10 Thread tsuna
. -- Benoit tsuna Sigoure

Giving a chance to buggy coprocessors to clean up

2013-12-09 Thread tsuna
forcefully removing the buggy coprocessor? Or should we maybe add some sort of a cleanUp() method to give a chance to the coprocessor to save face and die gracefully? -- Benoit tsuna Sigoure

Re: AsyncHBase 1.5.0-rc1 available for download and testing (HBase 0.96 compatibility inside)

2013-12-02 Thread tsuna
. -- Benoit tsuna Sigoure

Re: AsyncHBase 1.5.0-rc1 available for download and testing (HBase 0.96 compatibility inside)

2013-11-05 Thread tsuna
bugs prevented AsyncHBase from being able to scan -ROOT- or hbase:meta. - With 0.96, no user-generated RPC could be directed at hbase:meta Pre-compiled JAR: http://tsunanet.net/~tsuna/asynchbase/asynchbase-1.5.0-rc2.jar Also available for Maven users as 1.5.0-SNAPSHOT on OSS Snapshots. Source

Re: 0.96 and Hadoop 2.1.1

2013-10-31 Thread tsuna
ipc.Client.CONNECTION_CONTEXT_CALL_ID is signed (i.e. -3). Contributed by Arun C. Murthy. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.1-beta@152 3887 13f79535-47bb-0310-9956-ffa450edef68 Cosmin On 29/10/13 01:19, tsuna tsuna...@gmail.com wrote

Re: AsyncHBase 1.5.0-rc1 available for download and testing (HBase 0.96 compatibility inside)

2013-10-29 Thread tsuna
code doesn't belong in the repository, except under rare circumstances. Developers are expected to have the right tools at their disposal. If you have multiple versions of protoc installed on your system, simply doing make PROTOC=path/to/protobuf-2.5.0/protoc would do the trick. -- Benoit tsuna

0.96 and Hadoop 2.1.1

2013-10-28 Thread tsuna
) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2768) ... 5 more -- Benoit tsuna Sigoure

Re: 0.96 and Hadoop 2.1.1

2013-10-28 Thread tsuna
.cs1 unzip -l hadoop-common-2.1.0-beta.jar~ | grep org.apache.hadoop.util.PlatformName 1707 08-15-2013 20:44 org/apache/hadoop/util/PlatformName.class WTF. -- Benoit tsuna Sigoure

Re: 0.96 and Hadoop 2.1.1

2013-10-28 Thread tsuna
On Mon, Oct 28, 2013 at 4:26 PM, Ted Yu yuzhih...@gmail.com wrote: See this thread: Yes, I've seen this thread (that's the one I referred to in my first post). Why would it not work with 2.1.1? -- Benoit tsuna Sigoure

Re: 0.96 and Hadoop 2.1.1

2013-10-28 Thread tsuna
… -- Benoit tsuna Sigoure

Re: 0.96 and Hadoop 2.1.1

2013-10-28 Thread tsuna
the release? -- Benoit tsuna Sigoure

Re: 0.96 and Hadoop 2.1.1

2013-10-28 Thread tsuna
release? -- Benoit tsuna Sigoure

AsyncHBase 1.5.0-rc1 available for download and testing (HBase 0.96 compatibility inside)

2013-10-28 Thread tsuna
ZooKeeper. Pre-compiled JAR: http://tsunanet.net/~tsuna/asynchbase/asynchbase-1.5.0-rc1.jar Source: https://github.com/tsuna/asynchbase Javadoc: http://tsunanet.net/~tsuna/asynchbase/1.5.0/org/hbase/async/HBaseClient.html $ git diff --stat v1.4.1.. | tail -n 1 70 files changed, 4824 insertions(+), 487

Re: JVM seg fault in HBase region server

2013-05-05 Thread tsuna
On Thu, May 2, 2013 at 1:49 PM, Andrew Purtell apurt...@apache.org wrote: In that blog post Benoît does a fair amount of showing off to end up with So this segfault remains a mystery so far :-) Yeah I never got to the bottom of it. :-/ -- Benoit tsuna Sigoure

Re: AsynchBase client holds stale dead region server for long time even after the META has already been update.

2013-01-25 Thread tsuna
a clue. -- Benoit tsuna Sigoure

HBase 0.94 shell throwing a NoSuchMethodError: hbase.util.Threads.sleep(I)V from ZK code

2013-01-20 Thread tsuna
(s) in 1.0830 seconds I don't have any local changes. Anyone else seeing this? It doesn't seem to impact functionality (i.e. my table was created properly). -- Benoit tsuna Sigoure

Re: async HBase

2011-10-30 Thread tsuna
wanna ask people on the asynchbase mailing list. http://groups.google.com/group/asynchbase If your application is multi-threaded, chances are you'll see a nice speedup, because asynchbase is thread-safe and uses very few threads, unlike HTable + HTablePool. -- Benoit tsuna Sigoure Software Engineer

Re: hbase hashing algorithm and schema design

2011-06-08 Thread tsuna
of data per eventid, then putting the uuid in between the eventid and the -mm-dd will screw up data locality anyway. But the exact details depend on how you pick the uuid. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: hbase hashing algorithm and schema design

2011-06-07 Thread tsuna
are evenly spread across all your physical servers. You can do this from the HBase shell. In the future, when HBase does proper load balancing of regions, this won't be necessary anymore. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Feedback on ACM SOCC paper about elasticity and scalability

2011-05-14 Thread tsuna
. Also if you can explain what led you to believe that the master is in the data path of clients, maybe we can help address the source of this common misconception. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: 0.90 latency performance, cdh3b4

2011-04-22 Thread tsuna
level might shed some light on where the problem comes from. https://github.com/stumbleupon/asynchbase -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: 0.90 latency performance, cdh3b4

2011-04-22 Thread tsuna
% of the cases, you're better off with TCP anyway, because your reliable protocol is almost certainly not going to be as reliable and efficient as, say, Linux's TCP implementation. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: 0.90 latency performance, cdh3b4

2011-04-22 Thread tsuna
implementation. It certainly did for me. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: issue with thrift server pile up.

2011-04-21 Thread tsuna
because our cluster is bigger than 8 RS). -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HBase and Lucene for realtime search

2011-04-20 Thread tsuna
for realtime search? -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HBase and Lucene for realtime search

2011-04-20 Thread tsuna
this to build a river to stream updates from HBase to ES. An another alternative would be to have a sink that uses HBase replication to replicate edits to ES. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HTable not thread safe

2011-04-20 Thread tsuna
, an alternative HBase client that's fully asynchronous and non-blocking and written from the ground-up to be thread safe. It performs much better than HTable for high-throughput low-latency multi-threaded applications: github.com/stumbleupon/asynchbase /plug -- Benoit tsuna Sigoure Software Engineer

Re: java.lang.IndexOutOfBoundsException

2011-04-20 Thread tsuna
applications, look at asynchbase: http://github.com/stumbleupon/asynchbase OpenTSDB uses it and I'm able to push 20 edits per second to 3 RegionServers. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HBase Performance

2011-04-19 Thread tsuna
. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Is HTable threadsafe and cachable?

2011-04-04 Thread tsuna
far fewer threads and has less lock contention. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Why HTableDescriptor DEFAULT_VERSIONS is 3?

2011-04-04 Thread tsuna
of versions appropriately for your needs. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HBase design schema

2011-04-04 Thread tsuna
balancing won't be as good as the insert balancing since some queries are much more popular. I believe this leads to better use of the blockcache though. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Scan rows in reverse order?

2011-04-03 Thread tsuna
? No. You need to manually create a secondary index where the key is made from `Long.MAX_VALUE - timestamp' so that you can scan that secondary index backwards in time. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: habse schema design and retrieving values through REST interface

2011-03-15 Thread tsuna
and there, and that would be all. http://www.elasticsearch.org/ -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Setting and using cell timestamp values to retrieve data

2011-03-02 Thread tsuna
on multiple points within one row) I recommend using a tall table, since large rows will become unmanageable, especially if they keep growing forever (and HBase cannot split a row that's become too big). -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Large pages, TLB and HBase

2011-03-01 Thread tsuna
it makes on HBase... You could literally run a JVM with a 16GB heap on just 16 pages. It sounds almost ridiculous :) -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HTable client help

2011-02-28 Thread tsuna
like, I'm guessing you'll see that the slow responses you're seeing are indeed really slow and that the problem comes from the server-side. What's your HBase cluster like? How many nodes, what hardware, what configuration? What's you block cache hit ratio? -- Benoit tsuna Sigoure Software

Re: asynch api mailing list?

2011-02-27 Thread tsuna
. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: asynch api mailing list?

2011-02-27 Thread tsuna
higher lock contention (and causes more context switches). Other fields are: syscalls = number of system calls executed by the process, rss = actual memory used (resident set size) in KB before exiting main. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HTable client help

2011-02-26 Thread tsuna
and uses a fixed number of threads (2 * N where N is the number of hardware threads). That's how I solved my scalability problems in OpenTSDB. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: when does put return to the caller?

2011-02-24 Thread tsuna
/asynchbase) as it's an alternative HBase client that is entirely asynchronous and non-blocking. Javadoc is at http://su.pr/1PJCSY -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Why Hbase?

2011-02-07 Thread tsuna
small data items. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HBase as a backend for GUI app?

2011-02-05 Thread tsuna
Just to add on what others said, at StumbleUpon we typically see a 99th percentile lower than 100ms for simple get/put operations. OpenTSDB also uses HBase with an interactive GWT interface and relies on sub-second response times for queries involving many thousands of rows. -- Benoit tsuna

Re: asynchronous hbase for batch inserts?

2011-02-05 Thread tsuna
http://www.tsunanet.net/~tsuna/async/api/com/stumbleupon/async/Deferred.html Deferred is a very powerful API for any kind of asynchronous processing. So overall the code remains the same except that: * You use callbacks to get the result of your operation asynchronously. * You don't give a whole

Re: HBase/Zookeeper -- System Fails when IP Address Changes

2011-02-04 Thread tsuna
interface. This way everything will keep using 127.0.0.1. This has worked well for me to develop on my laptop. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HTable.put(ListPut puts) perform batch insert?

2011-02-01 Thread tsuna
client, while still allowing for higher throughput through batching of edits. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HDFS without Hadoop: Why?

2011-02-01 Thread tsuna
-effective than 10GbE or Infiniband. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Row Keys

2011-01-28 Thread tsuna
are sorted, so sequential scanning is efficient (thanks to data locality). -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: pass in customized path to hbase-default.xml and hbase-site.xml

2011-01-27 Thread tsuna
by creating different HBaseClient instances. No configuration file needed. You only need a single HBaseClient object per cluster, no matter how many tables you're going to use. The Javadoc is at http://su.pr/1WGqav -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HBase 0.90.0 cannot be put more data after running hours

2011-01-27 Thread tsuna
/stumbleupon/asynchbase), an alternative HBase client library that was written to be thread-safe from the ground up. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: reset ResultScanner cursor

2011-01-25 Thread tsuna
in existing ones? Is your pseudo-distributed HBase running on a single machine? If yes, why not use a non-distributed HBase setup (without HDFS)? -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: reset ResultScanner cursor

2011-01-24 Thread tsuna
contention? -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HTable.put(ListPut puts) perform batch insert?

2011-01-14 Thread tsuna
machine is a very slow VM so it doesn't have a lot of horsepower). This client is especially good for throughput oriented workloads and was written to be thread-safe from the ground up (unlike HTable). -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: HTable.put(ListPut puts) perform batch insert?

2011-01-14 Thread tsuna
worth of datapoints). -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: substantial performance degradation when using WAL

2010-12-16 Thread tsuna
at the IO utilization on your boxes and maybe also network utilization. How many disks per box do you have? What type of disks are they? Have you looked at the output of iostat -xkd 1 while the cluster was performing poorly? Do you see a lot of iowait (wa column in top)? -- Benoit tsuna

Re: Where do you get your hardware?

2010-11-05 Thread tsuna
companies that are doing it aren't willing to talk too much about it? I also like ASA Computers Twin Servers (2 nodes in 1U): http://www.asaservers.com/showpages.asp?pid=1280 Good bang for the buck. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Where do you get your hardware?

2010-11-05 Thread tsuna
tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: [RFC] Implementing auto increment for row id

2010-10-19 Thread tsuna
missing something? -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: [RFC] Implementing auto increment for row id

2010-10-19 Thread tsuna
. The code would also be simpler and more efficient. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: asynchbase: A new entirely asynchronous / non-blocking HBase client

2010-09-10 Thread tsuna
-blocking fashion. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Hbase read performance with increasing number of client threads

2010-09-09 Thread tsuna
On Thu, Sep 9, 2010 at 5:10 AM, MauMau maumau...@gmail.com wrote: - Original Message - From: tsuna tsuna...@gmail.com Sent: Thursday, September 09, 2010 7:52 AM If the server side latency consistently remains around 5-15ms but the client side latency shoots up through the roof, you may

asynchbase: A new entirely asynchronous / non-blocking HBase client

2010-09-08 Thread tsuna
be interested in implementing native HBase clients in non-Java languages, so I thought I'd pass this around to save their time. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: asynchbase: A new entirely asynchronous / non-blocking HBase client

2010-09-08 Thread tsuna
On Wed, Sep 8, 2010 at 2:22 AM, tsuna tsuna...@gmail.com wrote: I use Netty extensively, and for a long time I wanted to have a fully asynchronous / non-blocking and thread-safe HBase client.  So I ended up writing one from scratch, which I just released at: http://github.com/stumbleupon

Re: asynchbase: A new entirely asynchronous / non-blocking HBase client

2010-09-08 Thread tsuna
to have moving latency histograms for every RPC type I send and such, so I can hook this up to my monitoring. I already have some code for histograms and percentiles and whatnot, but it will be open sourced in a separate package. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: asynchbase: A new entirely asynchronous / non-blocking HBase client

2010-09-08 Thread tsuna
pattern for non-blocking network programming but would look to be useful beyond this use case, for example implementing a server core. If you would like to read more about Deferred, I encourage you to read http://tsunanet.net/~tsuna/async/api/com/stumbleupon/async/Deferred.html (which has pointers

Re: Hbase read performance with increasing number of client threads

2010-09-08 Thread tsuna
. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com

Re: Ceph as an alternative to HDFS

2010-08-07 Thread tsuna
finally have a sane and reliable distributed filesystem we can build upon. -- Benoit tsuna Sigoure Software Engineer @ www.StumbleUpon.com