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 2D8CB200BEC for ; Thu, 15 Dec 2016 04:48:16 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2C2D1160B2E; Thu, 15 Dec 2016 03:48:16 +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 4CD7C160B19 for ; Thu, 15 Dec 2016 04:48:15 +0100 (CET) Received: (qmail 52478 invoked by uid 500); 15 Dec 2016 03:48:14 -0000 Mailing-List: contact user-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@impala.incubator.apache.org Delivered-To: mailing list user@impala.incubator.apache.org Received: (qmail 52468 invoked by uid 99); 15 Dec 2016 03:48:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 03:48:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C6E96D2B74 for ; Thu, 15 Dec 2016 03:48:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, 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=cloudera-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id C9ezTbubAQ1s for ; Thu, 15 Dec 2016 03:48:12 +0000 (UTC) Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id EDA605FB73 for ; Thu, 15 Dec 2016 03:48:11 +0000 (UTC) Received: by mail-vk0-f52.google.com with SMTP id x186so59762026vkd.1 for ; Wed, 14 Dec 2016 19:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=5SGXxe0GboOnZbqrkYh4mGIDsRhc6ZymsE+W3Flmr2A=; b=ZOhV5pcRWkCfSuWzoNVZAJjatowVlNGroOPXy/zK3552lXQh1aFtxAKXIs4UWr75il XPNNLSCsr74lgmgt6pOZb3EvIa8V4vFnTULMInBxFpwFmp5n8SLvvGuBjX3anuKQdYBE 0/sGUIK0vLYq7YJdFWGTHVmtNUOD4bo9lmTb11V8yyHd951N4mVSSZQZ4yDtcgo725vc KHY+y0YkkSqYmjmMCd5vTxSs86AObaQHdJuGwOgfUJT3arGq7bwqblj9skX/9JiDxPlO F52bkHHavH8F77ejV0CXZa+Zt32BKM/rAWOwgU3GV8H8KYsxGxUDAxT6SplrGJ4J4Xi5 pHyQ== 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=5SGXxe0GboOnZbqrkYh4mGIDsRhc6ZymsE+W3Flmr2A=; b=XbkZyEWDr9+KGggOWisESjJBzk3wmX+uo0WVaFA85k7CWRwV4nJPjmv7iKY/QXID0e +U8lb5avbnQg4mGs1Mjy9xs5yc6Pkx4hdYWFn8B5U5IJilh6VDjt6tg0FNCvAOtkpRMA zUZfCvFe98fWvqiuh7ZJuQLLuEZe9FEdGEeM/zpzrDgxr6spgASjzRADkExFPpfyTfjn RMTqDyUAk4mU6orPDE1p6iHLgCWQOY+NcWhFThCNqmqw4MOY1/0Ix18liTiyAAAUIeKC 3r/4KABqW8R3sE+V+/GOhpuv5YC8+cyDf8i+XIAgGdbFISCVYFi0/C4DBTLo9ZSOK8bw eKqQ== X-Gm-Message-State: AKaTC01MUbXMfPa3CdnEId9+G22zXqKP4MS0O9onfG6JED4BMH+onZkhzgf047C+1XSWLZMnldqL8cJJhQR4JybN X-Received: by 10.31.67.8 with SMTP id q8mr94110vka.43.1481773672040; Wed, 14 Dec 2016 19:47:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.0.106 with HTTP; Wed, 14 Dec 2016 19:47:21 -0800 (PST) In-Reply-To: References: From: Tim Armstrong Date: Wed, 14 Dec 2016 19:47:21 -0800 Message-ID: Subject: Re: impala setup issue To: user@impala.incubator.apache.org Content-Type: multipart/alternative; boundary=001a1148e1f25c25900543aa511b archived-at: Thu, 15 Dec 2016 03:48:16 -0000 --001a1148e1f25c25900543aa511b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable So buildall.sh failed? First you need to fix that failure - it means the Python environment wasn't set up correctly. There's probably an earlier warning like "Warning: Unable to download Python requirements." - that's the error you need to fix if you want the python tooling to work correctly. On Wed, Dec 14, 2016 at 7:26 PM, =E4=BF=8A=E6=9D=B0=E9=99=88 wrote: > Hi > > > > I=E2=80=99m trying to download impala and compile it but have some proble= ms like > following, can anyone help on this? > > > > ./buildall.sh complain no virtualenv**.tag.gz found, I tried download > 15.1 version manually, while the impala-shell.sh can=E2=80=99t load sasl = lib. ( > I=E2=80=99m in Ubuntu 16.04, with GCC5.4 default, and I installed gcc4.9.= 2) > > > > Traceback (most recent call last): > > File "/home/cjj/workspace/incubator-impala/shell/impala_shell.py", line > 38, in > > from impala_client import (ImpalaClient, DisconnectedException, > QueryStateException, > > File "/home/cjj/workspace/incubator-impala/shell/impala_client.py", > line 20, in > > import sasl > > File "/home/cjj/workspace/incubator-impala/infra/python/env/ > local/lib/python2.7/site-packages/sasl/__init__.py", line 15, in > > from sasl.saslwrapper import * > > ImportError: /home/cjj/workspace/incubator-impala/infra/python/env/local/ > lib/python2.7/site-packages/sasl/saslw > > -- > Thanks & Best Regards > --001a1148e1f25c25900543aa511b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
So buildall.sh failed? First you need to fix that fai= lure - it means the Python environment wasn't set up correctly.

=
There's probably an earlier warning like "Warning: Unable to= download Python requirements." - that's the error you need to fix= if you want the python tooling to work correctly.

On Wed, Dec 14, 2016 at 7:26 PM,= =E4=BF=8A=E6=9D=B0=E9=99=88 <cjjnjust@gmail.com> wrote:

Hi

=C2=A0

I=E2=80=99m tryi= ng to download impala and compile it but have some problems like following,= can anyone help on this?

=C2=A0

./buildall.sh c= omplain =C2=A0no virtualenv**.tag.gz found,=C2=A0 I tried download 15.1 ver= sion manually, while the impala-shell.sh can=E2=80=99t load sasl lib.=C2=A0= ( I=E2=80=99m in Ubuntu 16.04, with GCC5.4 default, and I installed gcc4.9= .2)

=C2=A0

Traceback (most recent call last):<= /p>

=C2=A0 File "/home/= cjj/workspace/incubator-impala/shell/impala_shell.py", line = 38, in <module>

= =C2=A0=C2=A0=C2=A0 from impala_client import (ImpalaClient, DisconnectedExc= eption, QueryStateException,

=C2=A0 File "/home/cjj/workspace/incubator-impala/shell/impa= la_client.py", line 20, in <module>

=C2=A0=C2=A0=C2=A0 import sasl

=C2=A0 File "/home/cjj/workspace/in= cubator-impala/infra/python/env/local/lib/python2.7/site-packages/sasl/__init__.py", line 15, in <module>

=C2=A0=C2=A0=C2=A0 from sasl.saslwrapper i= mport *

ImportError: /ho= me/cjj/workspace/incubator-impala/infra/python/env/local/lib/pyth= on2.7/site-packages/sasl/saslw


--
Thanks & Best Regards

--001a1148e1f25c25900543aa511b--