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 87EC1200BE4 for ; Wed, 21 Dec 2016 07:58:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8657A160B26; Wed, 21 Dec 2016 06:58:20 +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 A58BE160B0C for ; Wed, 21 Dec 2016 07:58:19 +0100 (CET) Received: (qmail 50446 invoked by uid 500); 21 Dec 2016 06:58:18 -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 50434 invoked by uid 99); 21 Dec 2016 06:58:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2016 06:58:18 +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 0B3E01A9F28 for ; Wed, 21 Dec 2016 06:58:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.5 X-Spam-Level: ** X-Spam-Status: No, score=2.5 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, WEIRD_QUOTING=0.001] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id h_cLqoFOj-pl for ; Wed, 21 Dec 2016 06:58:15 +0000 (UTC) Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 96DD25F24B for ; Wed, 21 Dec 2016 06:58:14 +0000 (UTC) Received: by mail-io0-f170.google.com with SMTP id 15so15982020iom.2 for ; Tue, 20 Dec 2016 22:58:14 -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=chpick1JeOin8wJAfBepHDRS9UQKMwL8tXx12KiZyaA=; b=Qd4IXTdEsl4FUTQHMwa2AKX/GEkn0TTXlSR4b6s1me+Y6ygZQ2xppOQqsMnXjd10qV QakGAXpV17uoWknvqW1yw1NmwfY2/QLtYB0GU1EmP3rXfGyd8DwmaG08bUMoOcn6Pzu+ uvl1cWuwsukVj9C1X+bvqWi1qPTG2MSAreZsGNM1j+sgsUBu42uhsDhEUBlutfG2qXkr 0Z5KvRCw4ZRd4KaXtsVubIs2I+/mJr4V9N3PDTJbh4hNwAjbKJsGZoWd6xM7NSGR8OUe 2IrHrMCemKLmxFzzOXG0uYM+vnWnDhxtv/P+x3oLtqjW8aNEA9mvTxQgwTeme1KDl4SV a7oA== 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=chpick1JeOin8wJAfBepHDRS9UQKMwL8tXx12KiZyaA=; b=HuJdcWRNafrhJo6I6l5aPDykwO70EDoBEBKcQozJIEWdzhG8oBOKurFgZnrVF0PFdQ +teu9CS8Llr/o8ry7cDWoMfWbVcqLWfRRZhpEc5FCy+wjMzdO4BxcuBVhzyE7p68/N3a nfXesOP/EcmgBRbYt5VSmYJeWgLm4uJhuaAvszwN971H/rPLi4Vj26zxcDmchoGKoZDr twWyS+b+q1T8ZyL/q3OVRU85t/YOLNSyxBir7anDLO6ukGl012tIwaA9pC84gtP6NeLQ 9YCypi/3mTZT98xfIaNiWXhz4B3ePSuOuS7ozzwR/bqLfwbIlY5IzMv1Yhz9HknaRr0j hkAA== X-Gm-Message-State: AIkVDXI2QA/GryexinXx2uoANd1c793WovxdE3ytiqnchsVmkFw2MZO2eyWL8/RhyPeDvW14Xxlo5CGhDkYhyeNx X-Received: by 10.107.131.150 with SMTP id n22mr3903490ioi.71.1482303493918; Tue, 20 Dec 2016 22:58:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.142.205 with HTTP; Tue, 20 Dec 2016 22:58:13 -0800 (PST) In-Reply-To: References: From: Ming Li Date: Wed, 21 Dec 2016 14:58:13 +0800 Message-ID: Subject: Re: unrecognized configuration parameter "ONETARY" To: Radar Da lei Cc: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113ed15c346843054425ad3a archived-at: Wed, 21 Dec 2016 06:58:20 -0000 --001a113ed15c346843054425ad3a Content-Type: text/plain; charset=UTF-8 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 >>> > > > > >>> > > > >>> > > >>> > >>> >> >> > --001a113ed15c346843054425ad3a--