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 2AC9918E6B for ; Mon, 1 Jun 2015 18:10:43 +0000 (UTC) Received: (qmail 67767 invoked by uid 500); 1 Jun 2015 18:10:39 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 67661 invoked by uid 500); 1 Jun 2015 18:10:39 -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 67639 invoked by uid 99); 1 Jun 2015 18:10:39 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 18:10:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 967541A4050; Mon, 1 Jun 2015 18:10:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Bz3Rta6RZsJS; Mon, 1 Jun 2015 18:10:37 +0000 (UTC) Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id B5FDD23142; Mon, 1 Jun 2015 18:10:36 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so68098245igb.1; Mon, 01 Jun 2015 11:10:35 -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:content-type; bh=eESL16vpTfrZYlBcVHVQzqwlyu4f11Q7ajcApztZwZ8=; b=hrvRQSSvEz0b3CrBIRyQYNkwF7rZLjbgXUbuRBq78ZnNmWP+ImZuYFgTBw3nOAEyd3 QKmQoFLGWIaTjrtCVYfMwSVsRl1QGCp84Py05T5ekjTvEHLcnhTE/V/l7ToO3vMeQncD i2VMDuxC025Wg6igpFqUztowOBB/gb5uIxYOX/q0d8wLLZgIMNAewlWgGrgND4zSjlWL ROUCKO4SimYw7I8EUz4k8vdj29uK/4N/0hprPlROscQQ+4F5jIsXCVYkHdtKqYiAK2K+ S5pEWn/RUz7N6zBR8PAT/O8wC5KEAIWYhQ2RWIMIytHjR3bDLtvMPuJFNxpLeTZiBEvY MsBA== MIME-Version: 1.0 X-Received: by 10.107.168.92 with SMTP id r89mr28800760ioe.20.1433182235719; Mon, 01 Jun 2015 11:10:35 -0700 (PDT) Received: by 10.107.154.144 with HTTP; Mon, 1 Jun 2015 11:10:35 -0700 (PDT) Date: Mon, 1 Jun 2015 11:10:35 -0700 Message-ID: Subject: PhoenixIOException resolved only after compaction, is there a way to avoid it? From: Siva To: dev , user@phoenix.apache.org, hbase-dev , "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a1142cad00f0055051778be93 --001a1142cad00f0055051778be93 Content-Type: text/plain; charset=UTF-8 Hi Everyone, We load the data to Hbase tables through BulkImports. If the data set is small, we can query the imported data from phoenix with no issues. If data size is huge (with respect to our cluster, we have very small cluster), I m encountering the following error (org.apache.phoenix.exception.PhoenixIOException). 0: jdbc:phoenix:172.31.45.176:2181:/hbase> select count(*) . . . . . . . . . . . . . . . . . . . . .> from "ldll_compression" ldll join "ds_compression" ds on (ds."statusid" = ldll."statusid") . . . . . . . . . . . . . . . . . . . . .> where ldll."logdate" >= '2015-02-04' . . . . . . . . . . . . . . . . . . . . .> and ldll."logdate" <= '2015-02-06' . . . . . . . . . . . . . . . . . . . . .> and ldll."dbname" = 'lmguaranteedrate'; +------------------------------------------+ | COUNT(1) | +------------------------------------------+ java.lang.RuntimeException: org.apache.phoenix.exception.PhoenixIOException: org.apache.phoenix.exception.PhoenixIOException: Failed after attempts=36, exceptions: Mon Jun 01 13:50:57 EDT 2015, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=62358: row '' on table 'ldll_compression' at region=ldll_compression,,1432851434288.1a8b511def7d0c9e69a5491c6330d715., hostname=ip-172-31-32-181.us-west-2.compute.internal,60020,1432768597149, seqNum=16566 at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2440) at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2074) at sqlline.SqlLine.print(SqlLine.java:1735) at sqlline.SqlLine$Commands.execute(SqlLine.java:3683) at sqlline.SqlLine$Commands.sql(SqlLine.java:3584) at sqlline.SqlLine.dispatch(SqlLine.java:821) at sqlline.SqlLine.begin(SqlLine.java:699) at sqlline.SqlLine.mainWithInputRedirection(SqlLine.java:441) at sqlline.SqlLine.main(SqlLine.java:424) I did the major compaction for "ldll_compression" through Hbase shell(major_compact 'ldll_compression'). Same query ran successfully after the compaction. 0: jdbc:phoenix:172.31.45.176:2181:/hbase> select count(*) . . . . . . . . . . . . . . . . . . . . .> from "ldll_compression" ldll join "ds_compression" ds on (ds."statusid" = ldll."statusid") . . . . . . . . . . . . . . . . . . . . .> where ldll."logdate" >= '2015-02-04' . . . . . . . . . . . . . . . . . . . . .> and ldll."logdate" <= '2015-02-06' . . . . . . . . . . . . . . . . . . . . .> and ldll."dbname" = 'lmguaranteedrate' . . . . . . . . . . . . . . . . . . . . .> ; +------------------------------------------+ | COUNT(1) | +------------------------------------------+ | 13480 | +------------------------------------------+ 1 row selected (72.36 seconds) Did anyone face the similar issue? Is IO exception is because of Phoenix not able to read from multiple regions since error was resolved after the compaction? or Any other thoughts? Thanks, Siva. --001a1142cad00f0055051778be93--