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 4BA02200BE3 for ; Thu, 22 Dec 2016 18:30:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 49A1C160B26; Thu, 22 Dec 2016 17:30:45 +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 9340C160B1B for ; Thu, 22 Dec 2016 18:30:44 +0100 (CET) Received: (qmail 82554 invoked by uid 500); 22 Dec 2016 17:30:43 -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 Delivered-To: moderator for dev@hawq.incubator.apache.org Received: (qmail 83368 invoked by uid 99); 22 Dec 2016 08:56:32 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.801 X-Spam-Level: X-Spam-Status: No, score=-0.801 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=icloud.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1482396966; bh=nud1vK2dpKN6ESH3uLB6pTjMs6oYjfvlhW7rK5cZGZ4=; h=From:Content-type:MIME-version:Date:Subject:Message-id:To; b=SoK9m7p1U8ROfK22/byET7mzUOeQyB4kGb0laTDzuSaUOrSLDp1aW+JcMdfiW0hpa NZDRV3Pctcpu5ID6mbiqjVLaxv+qu//jYJwZbFw60ILC3QOzFFXqRGvILQznIpN9T3 OcDU98eLu6H91NR0D0hIvqiBjkmY+bsj1CJt2dH91OG1aUJHL8Ch9VU8hXhX4PxNDE p8t3aN7v0w23+uQstGx9p4xqmCR7OvSaXmdP6SF3Xd/z9PvZqMjhVnylOt9G6rGh90 EYbyrAR5SbmHHikprvrceAJxRmDCI/eRaM/sWxYGdvULcL5Y+/ZK6FnyMlfh/lwsFe QSZvg8Kuc+e6g== X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-12-22_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1612220151 From: =?GB2312?B?uvrP/g==?= Content-type: text/plain; charset=cp936 Content-transfer-encoding: quoted-printable MIME-version: 1.0 (1.0) Date: Thu, 22 Dec 2016 16:55:51 +0800 Subject: Re: hawq stop cluster error Message-id: <9A5D76C7-7149-4F5A-9B2A-E19C4361DD3D@icloud.com> References: In-reply-to: To: dev@hawq.incubator.apache.org X-Mailer: iPhone Mail (14C92) archived-at: Thu, 22 Dec 2016 17:30:45 -0000 Hi=A3=ACKai I think you must make sure the installation of this python module=20 =B7=A2=D7=D4=CE=D2=B5=C4 iPhone > =D4=DA 2016=C4=EA12=D4=C222=C8=D5=A3=AC15:52=A3=ACRadar Da lei =D0=B4=B5=C0=A3=BA >=20 > Hi Kai, >=20 > This seems like pygresql install issue. >=20 > Are you using latest hawq? How do you reinstall pygresql? >=20 > Make sure you don't see any compile errors while making pygresql. >=20 > Thanks. >=20 > Regards, > Radar >=20 >> On Thu, Dec 22, 2016 at 3:27 PM, Ma Hongxu wrote: >>=20 >> Hi kai >>=20 >> It seems that you didn't source greenplum_path.sh in your >> {hawq-install-dir}. >> You can also check PYTHONPATH environment variable, it should be >> '{hawq-install-dir}/lib/python:{other}'. And which version of python do >> you have installed? >>=20 >>=20 >> =D4=DA 22/12/2016 15:04, Guo Kai =D0=B4=B5=C0: >>=20 >> hello, when I execute 'hawq stop cluster', it goes wrong. >>=20 >> The error shows: >>=20 >> [hadoop@Master ~]$ hawq stop cluster >> 20161217:19:59:31:004594 hawq_stop:Master:hadoop-[INFO]:-Prepare to do >> 'hawq stop' >> 20161217:19:59:31:004594 hawq_stop:Master:hadoop-[INFO]:-You can check lo= g >> in /home/hadoop/hawqAdminLogs/hawq_stop_20161217.log >> 20161217:19:59:31:004594 hawq_stop:Master:hadoop-[INFO]:-Stop hawq with >> args: ['stop', 'cluster'] >>=20 >> Continue with HAWQ service stop Yy|Nn (default=3DN): >>=20 >> 20161217:19:59:38:004594 hawq_stop:Master:hadoop-[INFO]:-No standby host >> configured >> 20161217:19:59:38:004594 hawq_stop:Master:hadoop-[INFO]:-Stop hawq cluste= r >> Traceback (most recent call last): >> File "/home/hadoop/hawq/bin/hawq_ctl", line 1276, in >> stop_hawq(opts, hawq_dict) >> File "/home/hadoop/hawq/bin/hawq_ctl", line 1043, in stop_hawq >> instance.run() >> File "/home/hadoop/hawq/bin/hawq_ctl", line 891, in run >> check_return_code(self._stopAll()) >> File "/home/hadoop/hawq/bin/hawq_ctl", line 816, in _stopAll >> master_result =3D self._stop_master() >> File "/home/hadoop/hawq/bin/hawq_ctl", line 760, in _stop_master >> self._stop_master_checks() >> File "/home/hadoop/hawq/bin/hawq_ctl", line 712, in _stop_master_checks >> self.conn =3D dbconn.connect(self.dburl, utility=3DTrue) >> File "/home/hadoop/hawq/lib/python/gppylib/db/dbconn.py", line 211, in >> connect >> cnx =3D pgdb._connect_(cstr, dbhost, dbport, dbopt, dbtty, dbuser, >> dbpasswd) >> AttributeError: 'module' object has no attribute '_connect_' >>=20 >> I tried to reinstall pygresql, but it still failed. >>=20 >> I am looking forward your reply. :) >>=20 >>=20 >>=20 >>=20