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 D5544200BFA for ; Thu, 29 Dec 2016 00:09:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D3E2F160B34; Wed, 28 Dec 2016 23:09:07 +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 02442160B2E for ; Thu, 29 Dec 2016 00:09:06 +0100 (CET) Received: (qmail 22414 invoked by uid 500); 28 Dec 2016 23:09:06 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 22401 invoked by uid 99); 28 Dec 2016 23:09:05 -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; Wed, 28 Dec 2016 23:09:05 +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 7080AC0922 for ; Wed, 28 Dec 2016 23:09:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.781 X-Spam-Level: * X-Spam-Status: No, score=1.781 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, WEIRD_QUOTING=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-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 qYv88NaLmIMu for ; Wed, 28 Dec 2016 23:09:02 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AD8CE5FADB for ; Wed, 28 Dec 2016 23:09:01 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id c13so212262180lfg.0 for ; Wed, 28 Dec 2016 15:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9uMehOWi+Tz4zERFcCsLlnTzYsV8lsvj8njanAJgPjY=; b=xu1tJSgCSggGNGe479LSRvtnL+7FZUQEpiE4cS60S2Ch8YFiCaK8oDRW0sAYaYS7TA fpwz3vNUiEBC9MMS/yU7XLCP4s5LDrLNzXNK+EpV+E38AgZZDcwtU7hKMYWezTEHY8u+ yOJDqSw4eXiNnyCIrreRH1SZfXunxMeaofaNOqrAG1LpNXo5/BX6uw6Usuqqbrp6XkIb pd4cXAAaxsXBFSuaFlrCFD3lEKnu9XEWUAAxd9BbTDXsszC0HwehynLqIJpL77d9gtIU 5sScKZIVPmym1vjjvL/pIGJ4kcle+oulsgcW9JJVHkEfOHFNMg4G0FYhW0t3Z7Ii8d9c +WTg== 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:cc; bh=9uMehOWi+Tz4zERFcCsLlnTzYsV8lsvj8njanAJgPjY=; b=iO2Eh7X6mEZUS40yEqDKYtWk8orVcCNlf5nZ7LmWgFd0LWBd6OJMzmaSgOPZQDm5oO d/T6kHJlRhncNrOO/ngEhcwmY4YJzRxbVD19XlmJRzjqat4wGgTq3MhbH6/W39iZOIqH 9fmezg8Jo7nGxWat0XIDdlJC1TMy4V/QZqGTLsp9DlYimAuLMxdh0F6aBVDYvrcDDeCp Th0QkmwJw2mTbj7BU2o/Ko+e3FDHdVzA7F8lFfPuTU/BaoYSLa665Qfa4YdFQfRfnQck jNo2mGKwVbpfxEwZjGXz789Mfym55aDJYFydCZZQiMUyy6u+knLZmLKFn4Rx6hbVhMke Rlyw== X-Gm-Message-State: AIkVDXJ+fU4Z3OTYQviKluclNrBHKzJJtVM4hE+3mccjv9jyknmcIzboH4PrJN/3ZZ8/uPA9Ft/nQ3itDr1Fohc5 X-Received: by 10.25.204.86 with SMTP id c83mr9398759lfg.107.1482966533725; Wed, 28 Dec 2016 15:08:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.76.136 with HTTP; Wed, 28 Dec 2016 15:08:53 -0800 (PST) In-Reply-To: References: From: Yi Jin Date: Thu, 29 Dec 2016 10:08:53 +1100 Message-ID: Subject: Re: unrecognized configuration parameter "ONETARY" To: dev Cc: Radar Da lei Content-Type: multipart/alternative; boundary=001a114a73aa74f8d90544c00d86 archived-at: Wed, 28 Dec 2016 23:09:08 -0000 --001a114a73aa74f8d90544c00d86 Content-Type: text/plain; charset=UTF-8 Jon, Thank you, yes, I am looking into this bug now. Best, Yi On Thu, Dec 29, 2016 at 2:33 AM, Jon Roberts wrote: > I created a Jira for this bug: > https://issues.apache.org/jira/browse/HAWQ-1244 > > Jon Roberts > Principal Engineer | jroberts@pivotal.io | 615-426-8661 > > On Wed, Dec 21, 2016 at 12:58 AM, Ming Li wrote: > > > Thanks Radar, > > > > It is strange that 'unrecognized configuration' will issue FATAL error, I > > config in hawq-site.xml, and grep pg_log on master and segment date > > directory, no FATAL error of 'unrecognized configuration'. Any ideas? > > > > On Wed, Dec 21, 2016 at 2:45 PM, Radar Da lei wrote: > > > > > Hi Ming, > > > > > > 'hawq_lc_monetary' is only used to store user defined '--lc-monetary' > > value > > > then pass below option to initdb: > > > '--lc-monetary=${hawq_lc_monetary} ' > > > > > > So finally we give '--lc-monetary=en_US.utf8 ' to initdb. Base on this > I > > > don't think the GUC 'ONETARY' have any dependencies with hawq admin > > > tools. Thanks. > > > > > > Regards, > > > Radar > > > > > > On Tue, Dec 20, 2016 at 10:18 AM, Ming Li wrote: > > > > > >> Hi Radar, > > >> > > >> It seems that the config param 'hawq_lc_monetary' can only be > recognized > > >> by hawq admin tools in python, and set hawq guc 'lc-monetary' finally. > > >> > > >> My question is: Why not directly using 'lc-monetary' instead of ' > > >> hawq_lc_monetary' in the hawq admin tools? Is there any possible to > > >> conflict? > > >> > > >> Thanks. > > >> > > >> On Tue, Dec 20, 2016 at 6:45 AM, Yi Jin wrote: > > >> > > >>> Thank you jon, I will specially recheck the guc population logic. Yi > > >>> > > >>> On Tue, Dec 20, 2016 at 4:07 AM, Jon Roberts > > >>> wrote: > > >>> > > >>> > The segment actually has this error: > > >>> > 2016-12-14 13:47:34.760839 > > >>> > UTC,"gpadmin","gpadmin",p737499,th542214432,"172.21. > > >>> > 13.196","40327",2016-12-14 > > >>> > 13:47:34 UTC,0,con23798,,seg-10000,,,,, > "FATAL","42704","unrecognized > > >>> > configuration parameter ""ONETARY""",,,,,,,0,,"guc.c",10006, > > >>> > > > >>> > This made me check out the configs because the error was raised > from > > >>> > guc.c. I found that /usr/local/hawq/etc/_mgmt_config has > "onetary" > > >>> text: > > >>> > hawq_lc_monetary=en_US.utf8 > > >>> > > > >>> > I'm using nodes with 24 drives so I have 24 temp directories set > for > > >>> both > > >>> > the master and the segments. Thinking that possibly the problem is > > >>> related > > >>> > to the number of vSegs * the size of the config file exceeding a > > >>> variable > > >>> > size, I decided to reduce the temp directories down to just two for > > >>> both > > >>> > the master and segments. > > >>> > > > >>> > After restarting HAWQ, I could get the query to use 16 and even 24 > > >>> vSegs > > >>> > without a problem. > > >>> > > > >>> > So maybe the guc logic needs revisiting to make sure there isn't an > > >>> issue > > >>> > with parsing the GUCs when there are many vSegs and many temp > > >>> directories. > > >>> > I would think this would be a problem even with the default number > of > > >>> vSegs > > >>> > per host on really large clusters. > > >>> > > > >>> > > > >>> > Jon Roberts > > >>> > Principal Engineer | jroberts@pivotal.io | 615-426-8661 > > >>> <(615)%20426-8661> > > >>> > > > >>> > On Mon, Dec 19, 2016 at 4:44 AM, Yi Jin wrote: > > >>> > > > >>> > > Hi Jon, > > >>> > > > > >>> > > I think there is no ONTARY configuration item, so maybe I need > the > > >>> full > > >>> > log > > >>> > > containing that error to check the error routine. > > >>> > > > > >>> > > Best, > > >>> > > Yi > > >>> > > > > >>> > > On Mon, Dec 19, 2016 at 5:39 PM, Paul Guo > > wrote: > > >>> > > > > >>> > > > You could grep the log to see whether there is "ONETARY" > setting > > >>> before > > >>> > > > this error occurs, and also grep configuration files and > related > > >>> test > > >>> > > files > > >>> > > > to find who tried to set this. > > >>> > > > > > >>> > > > 2016-12-14 22:36 GMT+08:00 Jon Roberts : > > >>> > > > > > >>> > > > > I'm getting the error message: unrecognized configuration > > >>> parameter > > >>> > > > > "ONETARY" with a few of the TPC-DS queries where I'm > increasing > > >>> the > > >>> > > > number > > >>> > > > > of vsegs to get better performance. The error message alone > is > > >>> > > confusing > > >>> > > > > so even if I am doing something wrong, the message should be > > >>> > improved. > > >>> > > > > > > >>> > > > > My environment: > > >>> > > > > > > >>> > > > > AWS d2.8xlarge nodes > > >>> > > > > - 24 2 TB disks > > >>> > > > > - 252 GB RAM > > >>> > > > > - 36 cores > > >>> > > > > - Centos 6 > > >>> > > > > - 10 nodes > > >>> > > > > - 1 admin node > > >>> > > > > - 10GB network > > >>> > > > > - 7 TB of data > > >>> > > > > - Standard TPC-DS Queries > > >>> > > > > - hawq_rm_memory_limit_perseg = 200gb > > >>> > > > > - hawq_rm_stmt_vseg_memory = 16gb > > >>> > > > > - Random distribution on all tables > > >>> > > > > > > >>> > > > > I'm tried reducing the statement memory but that doesn't > change > > >>> > > anything. > > >>> > > > > > > >>> > > > > Query 88 is a good example of this because it fails quickly. > > >>> > > > > > > >>> > > > > set hawq_rm_nvseg_perquery_perseg_limit=12; > > >>> > > > > > > >>> > > > > time psql -f 188.tpcds.88.sql > > >>> > > > > SET > > >>> > > > > Timing is on. > > >>> > > > > SET > > >>> > > > > Time: 0.157 ms > > >>> > > > > h8_30_to_9 | h9_to_9_30 | h9_30_to_10 | h10_to_10_30 | > > >>> h10_30_to_11 > > >>> > | > > >>> > > > > h11_to_11_30 | h11_30_to_12 | h12_to_12_30 > > >>> > > > > ------------+------------+-------------+--------------+----- > > >>> > > > > ---------+--------------+--------------+-------------- > > >>> > > > > 16279055 | 32496701 | 32493080 | 48732586 | > > >>> 48782652 > > >>> > | > > >>> > > > > 28460584 | 28453299 | 32518016 > > >>> > > > > (1 row) > > >>> > > > > > > >>> > > > > Time: 259695.969 ms > > >>> > > > > > > >>> > > > > real 4m19.706s > > >>> > > > > user 0m0.001s > > >>> > > > > sys 0m0.003s > > >>> > > > > > > >>> > > > > Next: > > >>> > > > > set hawq_rm_nvseg_perquery_perseg_limit=14; > > >>> > > > > > > >>> > > > > time psql -f 188.tpcds.88.sql > > >>> > > > > SET > > >>> > > > > Timing is on. > > >>> > > > > SET > > >>> > > > > Time: 0.171 ms > > >>> > > > > psql:188.tpcds.88.sql:95: ERROR: Error dispatching to seg25 > > >>> > > > > ip-172-21-13-189.ec2.internal:40000: connection pointer is > > NULL > > >>> > > > > DETAIL: Master unable to connect to seg25 > > >>> > > > > ip-172-21-13-189.ec2.internal:40000: FATAL: unrecognized > > >>> > > configuration > > >>> > > > > parameter "ONETARY" > > >>> > > > > > > >>> > > > > real 0m8.787s > > >>> > > > > user 0m0.003s > > >>> > > > > sys 0m0.002s > > >>> > > > > > > >>> > > > > > > >>> > > > > Jon Roberts > > >>> > > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > >> > > >> > > > > > > --001a114a73aa74f8d90544c00d86--