Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9DDE6200C10 for ; Fri, 20 Jan 2017 01:33:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9CB11160B59; Fri, 20 Jan 2017 00:33:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EC6D9160B57 for ; Fri, 20 Jan 2017 01:33:18 +0100 (CET) Received: (qmail 29609 invoked by uid 500); 20 Jan 2017 00:33:17 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 28983 invoked by uid 99); 20 Jan 2017 00:33:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2017 00:33:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 36255185F35; Fri, 20 Jan 2017 00:33:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.129 X-Spam-Level: *** X-Spam-Status: No, score=3.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_INFOUSMEBIZ=0.75, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aZBu4HOT6o6k; Fri, 20 Jan 2017 00:33:16 +0000 (UTC) Received: from mail-yw0-f170.google.com (mail-yw0-f170.google.com [209.85.161.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3A13E5F365; Fri, 20 Jan 2017 00:33:15 +0000 (UTC) Received: by mail-yw0-f170.google.com with SMTP id u68so18852825ywg.0; Thu, 19 Jan 2017 16:33:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=CMcY7i337saRmzGLK8pS+RUUf4TNMHQK/q/df0V9VRY=; b=POhQvBJ3yh2dhteqI4Rxdk/dur0F9IY9+5rVDQ/KVgPwhOmbVT2h7+etAyM+Bkx8M7 In7os6inbXjptZZwUUf82dgF5uXDR4TU3m/ZTaStMWhpy8HrbT2R5E/58S7M4th0Ojvl YnEp3x/PWKSPhLxbD1IUh7l94+LuwH+C/RREX3WD4jjSj4XZZy/35ID6nnE2vsUKlYez ADUW6e6DZYJdRA50V2zUkc5BsJIUqGlQe8Fohkm+9wq25smx23GRMjGnvFaRlsA9PEfS 7BjsyCx4C9yjijvS6qKkkxR7k2Ar4FmlosFvWq+1T0sSrm7nmJReDCNk14vdF1bWYxz6 jX6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=CMcY7i337saRmzGLK8pS+RUUf4TNMHQK/q/df0V9VRY=; b=P6/TrrLT+hCKhWgWJ/aQdYOfON4c022u+6kPll0i/QPeL5PMg/GwXjPpplBKMxtYpT RYBj5YiXblPJVHuWlKyawSTUXmK6xsud7kx2VymR/FyExGdcrSryOYNDUZmJa+sQB1Zt b8IycONtQisCgAbp+32wIi13FeMfx5c1repxYlTevuYNZIwcXBBjLBp4U0OfJQRD6qel 9Tu4yhhyuzlkvjMnNkiwFNnnKjbHXwZ1Z/EyfQezFhBsz+2dgHwCF2Lqkyh3yARfxkTM zCtTQUWHoXkyRJjnMsLr0f7NvOtJrkgI5aSOtTWCIYBwEue8jdln0CFr4MpxvUgo/Ucs mYPg== X-Gm-Message-State: AIkVDXJ60yx2jxmxDkLVETn5VvjV3wz1YgsOl/WHyY+sulMa3wb612FQxOeHBpnhxaoSBoRtW6IdxdSxCWnzpg== X-Received: by 10.55.21.84 with SMTP id f81mr10537130qkh.5.1484872391516; Thu, 19 Jan 2017 16:33:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.168.233 with HTTP; Thu, 19 Jan 2017 16:33:11 -0800 (PST) In-Reply-To: References: From: Tulasi Paradarami Date: Thu, 19 Jan 2017 16:33:11 -0800 Message-ID: Subject: Re: Timeline consistency using PQS To: user@phoenix.apache.org, dev@phoenix.apache.org Content-Type: multipart/alternative; boundary=001a1147b9046efcee05467bcb22 archived-at: Fri, 20 Jan 2017 00:33:19 -0000 --001a1147b9046efcee05467bcb22 Content-Type: text/plain; charset=UTF-8 Could someone clarify how this property is used by Phoenix: phoenix.connection.consistency If I set it in hbase-site.xml, does phoenix utilize it for every query (even queries from PQS)? It's not documented on the website but it's defined in QueryServices.java: // consistency configuration setting public static final String CONSISTENCY_ATTRIB = "phoenix.connection.consistency"; And used in PhoenixConnection.java this.consistency = JDBCUtil.getConsistencyLevel(url, this.info, this.services.getProps().get("phoenix.connection.consistency", QueryServicesOptions.DEFAULT_CONSISTENCY_LEVEL)); On Thu, Jan 19, 2017 at 2:35 PM, Tulasi Paradarami < tulasi.krishna.p@gmail.com> wrote: > Hi, > > Does PQS support HBase's timeline consistency (HBASE-10070)? > > Looking at the connection properties implementation within Avatica, I see > that following are defined: ["transactionIsolation", "schema", "readOnly", > "dirty", "autoCommit", "catalog"] but there's isn't a property defined for > setting consistency. > > org.apache.calcite.avatica.ConnectionPropertiesImpl.java: > @JsonCreator > public ConnectionPropertiesImpl( > @JsonProperty("autoCommit") Boolean autoCommit, > @JsonProperty("readOnly") Boolean readOnly, > @JsonProperty("transactionIsolation") Integer transactionIsolation, > @JsonProperty("catalog") String catalog, > @JsonProperty("schema") String schema) { > this.autoCommit = autoCommit; > this.readOnly = readOnly; > this.transactionIsolation = transactionIsolation; > this.catalog = catalog; > this.schema = schema; > } > > --001a1147b9046efcee05467bcb22--