Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7451318A43 for ; Sun, 3 Apr 2016 04:14:24 +0000 (UTC) Received: (qmail 68423 invoked by uid 500); 3 Apr 2016 04:14:22 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 68354 invoked by uid 500); 3 Apr 2016 04:14:22 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 68342 invoked by uid 99); 3 Apr 2016 04:14:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2016 04:14:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 852EBC0D0C for ; Sun, 3 Apr 2016 04:14:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id TQx9vegT3O9S for ; Sun, 3 Apr 2016 04:14:20 +0000 (UTC) Received: from mail-yw0-f173.google.com (mail-yw0-f173.google.com [209.85.161.173]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id B437D5F20E for ; Sun, 3 Apr 2016 04:14:19 +0000 (UTC) Received: by mail-yw0-f173.google.com with SMTP id g3so217774166ywa.3 for ; Sat, 02 Apr 2016 21:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=nZNvwKKUDQkyxwh427XNaS7FER4ZQvRfwS1Xw+9hcKc=; b=s4/l29/QvwGf5unuF+YbYdus+OHxRn+nBduZKikf0wF0aCz2jhUVAJxN3EtW+rBz5s I9pEMCggqbua3R8qZY3/Vvbsnbk1QxL4gEohHyinjIdZrqZBBfMQSgD8GG5H2s27BnUq h6OCLy9D3FWCJBLWulJzp/1lGpRpGvGlC7+AAzNfkto2Oxaob4XOCgxWS7VcOUEZyLFv 7bX1E68JmgbQ2bXuDeli6mCQVwWXACrZEh6RAiDC3cB+ji1GKoZinecxvdj72taZ1qfp JhF0OKCzlSJHY8o6CFRhW6fFRMJQMpDpKUnGnuSbRamEVzCUbzT2Cq/y/Ghg+L/6gQE6 cbnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=nZNvwKKUDQkyxwh427XNaS7FER4ZQvRfwS1Xw+9hcKc=; b=JqH4UFWH4BsVa8iOPgOtKHfIgOGIA/I0fj1MCRu6kLOxXa4jHYd5xHL1x0B5satmIB WKaaJunRSoYBLa9c2gEaqYuWwyVcXjkiO9eycsheQFcEYqwm50gZ3H9hD5n3+Y5ceaiU e9iqBgJ/ovg2n31a9YEFqNFjfvDZ0X5DioD7GNU3MZxQDL/pd22A+Ud8l0ZxpE0Uawz4 SKDYDhTExycNse/h7iUFO/1fT9d9xwBV+Jcmp+3quwWsR/qEjcgjsNJBROhLE0VsS3Y6 Q7DWeCknAb1qSI14bSD3Q+PLjSmOLnLQAk4ndviTNyb0J/TsblehQ0OlNxeZ3hQqpGSx 12Eg== X-Gm-Message-State: AD7BkJL8jLE8pN2+HpDS3b+GJGJAHXsizOB3lR8QM1xXpiAxf/gwqA3/YlfF7rE4shEqD7u5sR9rUBhxvifiHA== MIME-Version: 1.0 X-Received: by 10.129.98.67 with SMTP id w64mr7505077ywb.38.1459656859191; Sat, 02 Apr 2016 21:14:19 -0700 (PDT) Received: by 10.13.219.73 with HTTP; Sat, 2 Apr 2016 21:14:19 -0700 (PDT) Date: Sun, 3 Apr 2016 00:14:19 -0400 Message-ID: Subject: CDH Hbase 1.0.0 Requested row out of range during auto-split From: Saad Mufti To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a114707f4962b76052f8cd8af --001a114707f4962b76052f8cd8af Content-Type: text/plain; charset=UTF-8 Hi, We have a large 60 node CDH 5.5.2 Hbase 1.0.0 cluster that take a very heavy write load. For increased performance, we are using the BufferedMutator class in hbase-client, although we're using hbase-client version 1.2.0 because it has a small performance fix to this class. It seems to be working fine whether the Hbase region servers are undergoing minor compaction or not, but at some point a lot of them decide to start auto-splitting. We configure the tables at the beginning with an explicit set of splits for a total of 1024 regions at the beginning. By now we are up to 4096 or so regions based on auto-splitting. We have observed that as soon as auto-splitting starts, the mutations in the BufferedMutator start throwing exceptions of the following form (after retries I presume, we are configured for 5 retries and a 3 second RPC timeout): BufferedMutator Failed to send mutation {"totalColumns":1,"row":"0998-f0b05361-5983-46d0-9443-4ca845987aad","families":{"s1":[{"qualifier":"s-10000123-20240198","vlen":28,"tag":[],"timestamp":1459655306487}]},"ttl":72693513} . org.apache.hadoop.hbase.exceptions.FailedSanityCheckException: org.apache.hadoop.hbase.exceptions.FailedSanityCheckException: Requested row out of range for doMiniBatchMutation on HRegion [region-actual-value-removed], startKey='0998-UP27f54301-cf7b-11e5-858a-00163ebce99d', getEndKey()='0999', row='0759-UPbe8df720-c9d5-11e5-947f-00163ee0563a' at org.apache.hadoop.hbase.regionserver.RSRpcServices.doBatchOp(RSRpcServices.java:688) at org.apache.hadoop.hbase.regionserver.RSRpcServices.doNonAtomicRegionMutation(RSRpcServices.java:639) at org.apache.hadoop.hbase.regionserver.RSRpcServices.multi(RSRpcServices.java:1931) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32213) Does anyone know the cause for this? I am new to Hbase, in most other distributed systems I have worked with, the system handles rerouting, so I was expecting that the Hbase region server would automatically route to the correct region server/region during splits. Any help that anyone can provide would be much appreciated. I can provide more config settings if they turn out to be relevant but there are a ton of them in Hbase of course and I am not sure which ones would be relevant here. Thanks in advance. ---- Saad --001a114707f4962b76052f8cd8af--