You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by Katelyn Mulgrew <Ka...@bjss.com> on 2017/04/03 20:55:14 UTC

Installation Problem?

Impala experts,

I am trying to run the impala shell (what I really want is to see if I installed impala properly).  I am on Ubuntu and have done all the necessary apt-gets.  However, when I write "impala-shell" and hit return, I get a number of errors, as described here https://issues.apache.org/jira/browse/IMPALA-2863.  Can you help me?

Sincerely,

Katelyn Mulgrew
The information included in this email and any attachments transmitted with it may contain information that is confidential. This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, copy, disclose, distribute or take action in reliance upon this email. If you have received this email in error, please notify the sender immediately by return email and promptly delete this message and its attachments from your computer system. In the absence of a signed writing to the contrary, BJSS' relevant standard terms and conditions will apply to instructions or descriptions in this email regarding any work to be undertaken. BJSS shall have no liability for any damages to your system or data caused by any virus transmitted by this email or any attachments. Please carry out virus or such other checks as you consider appropriate. BJSS, Inc. 14 Wall Street, 20th Fl, Suite #2069, New York, NY 10005

Re: Installation Problem?

Posted by Tim Armstrong <ta...@cloudera.com>.
Didn't finish my thought:

Probably the most direct solution is to revert to the older version of
setuptools. Otherwise you could potentially try upgrading to a newer
version or setting up a virtualenv.

On Tue, Apr 4, 2017 at 10:13 AM, Tim Armstrong <ta...@cloudera.com>
wrote:

> Hi Katelyn,
>   It looks like the immediate cause of the problem is that you have a
> setuptools 0.7.x version installed. For whatever reason (it's arcane to me)
> that version is incompatible with the standard Python installation tools
> that we use for impala-shell. setuptools 0.6.x (which looks like what is
> provided by default on CentOS 6) or any setuptools version >= 0.8 should
> not have this problem.
>
> We use CentOS 6.4 pretty heavily and it looks like we have 0.6.10
> installed on those systems:
>
> $ yum info python-setuptools
> Name        : python-setuptools
> Arch        : noarch
> Version     : 0.6.10
> Release     : 3.el6
> Size        : 1.5 M
> Repo        : installed
> From repo   : centos-base
> Summary     : Easily build and distribute Python packages
> URL         : http://pypi.python.org/pypi/distribute
> License     : Python or ZPLv2.0
> Description : Setuptools is a collection of enhancements to the Python
> distutils
>             : that allow you to more easily build and distribute Python
>             : packages, especially ones that have dependencies on other
>             : packages.
>             :
>             : This package contains the runtime components of setuptools,
>             : necessary to execute the software that requires
> pkg_resources.py.
>
>
> Probably the most direct solution is to switch to
>
> Cheers,
> Tim
>
> On Tue, Apr 4, 2017 at 9:26 AM, Jim Apple <jb...@cloudera.com> wrote:
>
>> Are you planning to develop Impala or just use it? If just using it, this
>> question might be better suited for user@ rather than dev@.
>>
>> apache.org mailing lists automatically set reply-to to the list. I'm sure
>> people who reply will attempt to cc you, but they may forget. I'd suggest
>> that you will be more likely to get replies by subscribing to the list you
>> are sending it to.
>>
>> What version of Ubuntu are you on? What are the "necessary apt-gets" you
>> have done? How did you originally install Impala?
>>
>> On Tue, Apr 4, 2017 at 5:37 AM, Katelyn Mulgrew <Katelyn.Mulgrew@bjss.com
>> >
>> wrote:
>>
>> > I am not part of the mailing list.  Could you send your response to me
>> at
>> > Katelyn.mulgrew@bjss.com<ma...@bjss.com>?  See the
>> > question below:
>> >
>> > From: Katelyn Mulgrew
>> > Sent: Monday, April 3, 2017 4:55 PM
>> > To: 'dev@impala.incubator.apache.org' <de...@impala.incubator.apache.org>
>> > Subject: Installation Problem?
>> >
>> > Impala experts,
>> >
>> > I am trying to run the impala shell (what I really want is to see if I
>> > installed impala properly).  I am on Ubuntu and have done all the
>> necessary
>> > apt-gets.  However, when I write "impala-shell" and hit return, I get a
>> > number of errors, as described here https://issues.apache.org/
>> > jira/browse/IMPALA-2863.  Can you help me?
>> >
>> > Sincerely,
>> >
>> > Katelyn Mulgrew
>> > The information included in this email and any attachments transmitted
>> > with it may contain information that is confidential. This email and any
>> > attachments are for the exclusive and confidential use of the intended
>> > recipient. If you are not the intended recipient, please do not read,
>> copy,
>> > disclose, distribute or take action in reliance upon this email. If you
>> > have received this email in error, please notify the sender immediately
>> by
>> > return email and promptly delete this message and its attachments from
>> your
>> > computer system. In the absence of a signed writing to the contrary,
>> BJSS'
>> > relevant standard terms and conditions will apply to instructions or
>> > descriptions in this email regarding any work to be undertaken. BJSS
>> shall
>> > have no liability for any damages to your system or data caused by any
>> > virus transmitted by this email or any attachments. Please carry out
>> virus
>> > or such other checks as you consider appropriate. BJSS, Inc. 14 Wall
>> > Street, 20th Fl, Suite #2069, New York, NY 10005
>> >
>>
>
>

Re: Installation Problem?

Posted by Tim Armstrong <ta...@cloudera.com>.
Hi Katelyn,
  It looks like the immediate cause of the problem is that you have a
setuptools 0.7.x version installed. For whatever reason (it's arcane to me)
that version is incompatible with the standard Python installation tools
that we use for impala-shell. setuptools 0.6.x (which looks like what is
provided by default on CentOS 6) or any setuptools version >= 0.8 should
not have this problem.

We use CentOS 6.4 pretty heavily and it looks like we have 0.6.10 installed
on those systems:

$ yum info python-setuptools
Name        : python-setuptools
Arch        : noarch
Version     : 0.6.10
Release     : 3.el6
Size        : 1.5 M
Repo        : installed
From repo   : centos-base
Summary     : Easily build and distribute Python packages
URL         : http://pypi.python.org/pypi/distribute
License     : Python or ZPLv2.0
Description : Setuptools is a collection of enhancements to the Python
distutils
            : that allow you to more easily build and distribute Python
            : packages, especially ones that have dependencies on other
            : packages.
            :
            : This package contains the runtime components of setuptools,
            : necessary to execute the software that requires
pkg_resources.py.


Probably the most direct solution is to switch to

Cheers,
Tim

On Tue, Apr 4, 2017 at 9:26 AM, Jim Apple <jb...@cloudera.com> wrote:

> Are you planning to develop Impala or just use it? If just using it, this
> question might be better suited for user@ rather than dev@.
>
> apache.org mailing lists automatically set reply-to to the list. I'm sure
> people who reply will attempt to cc you, but they may forget. I'd suggest
> that you will be more likely to get replies by subscribing to the list you
> are sending it to.
>
> What version of Ubuntu are you on? What are the "necessary apt-gets" you
> have done? How did you originally install Impala?
>
> On Tue, Apr 4, 2017 at 5:37 AM, Katelyn Mulgrew <Ka...@bjss.com>
> wrote:
>
> > I am not part of the mailing list.  Could you send your response to me at
> > Katelyn.mulgrew@bjss.com<ma...@bjss.com>?  See the
> > question below:
> >
> > From: Katelyn Mulgrew
> > Sent: Monday, April 3, 2017 4:55 PM
> > To: 'dev@impala.incubator.apache.org' <de...@impala.incubator.apache.org>
> > Subject: Installation Problem?
> >
> > Impala experts,
> >
> > I am trying to run the impala shell (what I really want is to see if I
> > installed impala properly).  I am on Ubuntu and have done all the
> necessary
> > apt-gets.  However, when I write "impala-shell" and hit return, I get a
> > number of errors, as described here https://issues.apache.org/
> > jira/browse/IMPALA-2863.  Can you help me?
> >
> > Sincerely,
> >
> > Katelyn Mulgrew
> > The information included in this email and any attachments transmitted
> > with it may contain information that is confidential. This email and any
> > attachments are for the exclusive and confidential use of the intended
> > recipient. If you are not the intended recipient, please do not read,
> copy,
> > disclose, distribute or take action in reliance upon this email. If you
> > have received this email in error, please notify the sender immediately
> by
> > return email and promptly delete this message and its attachments from
> your
> > computer system. In the absence of a signed writing to the contrary,
> BJSS'
> > relevant standard terms and conditions will apply to instructions or
> > descriptions in this email regarding any work to be undertaken. BJSS
> shall
> > have no liability for any damages to your system or data caused by any
> > virus transmitted by this email or any attachments. Please carry out
> virus
> > or such other checks as you consider appropriate. BJSS, Inc. 14 Wall
> > Street, 20th Fl, Suite #2069, New York, NY 10005
> >
>

Re: Installation Problem?

Posted by Jim Apple <jb...@cloudera.com>.
Are you planning to develop Impala or just use it? If just using it, this
question might be better suited for user@ rather than dev@.

apache.org mailing lists automatically set reply-to to the list. I'm sure
people who reply will attempt to cc you, but they may forget. I'd suggest
that you will be more likely to get replies by subscribing to the list you
are sending it to.

What version of Ubuntu are you on? What are the "necessary apt-gets" you
have done? How did you originally install Impala?

On Tue, Apr 4, 2017 at 5:37 AM, Katelyn Mulgrew <Ka...@bjss.com>
wrote:

> I am not part of the mailing list.  Could you send your response to me at
> Katelyn.mulgrew@bjss.com<ma...@bjss.com>?  See the
> question below:
>
> From: Katelyn Mulgrew
> Sent: Monday, April 3, 2017 4:55 PM
> To: 'dev@impala.incubator.apache.org' <de...@impala.incubator.apache.org>
> Subject: Installation Problem?
>
> Impala experts,
>
> I am trying to run the impala shell (what I really want is to see if I
> installed impala properly).  I am on Ubuntu and have done all the necessary
> apt-gets.  However, when I write "impala-shell" and hit return, I get a
> number of errors, as described here https://issues.apache.org/
> jira/browse/IMPALA-2863.  Can you help me?
>
> Sincerely,
>
> Katelyn Mulgrew
> The information included in this email and any attachments transmitted
> with it may contain information that is confidential. This email and any
> attachments are for the exclusive and confidential use of the intended
> recipient. If you are not the intended recipient, please do not read, copy,
> disclose, distribute or take action in reliance upon this email. If you
> have received this email in error, please notify the sender immediately by
> return email and promptly delete this message and its attachments from your
> computer system. In the absence of a signed writing to the contrary, BJSS'
> relevant standard terms and conditions will apply to instructions or
> descriptions in this email regarding any work to be undertaken. BJSS shall
> have no liability for any damages to your system or data caused by any
> virus transmitted by this email or any attachments. Please carry out virus
> or such other checks as you consider appropriate. BJSS, Inc. 14 Wall
> Street, 20th Fl, Suite #2069, New York, NY 10005
>

RE: Installation Problem?

Posted by Katelyn Mulgrew <Ka...@bjss.com>.
I am not part of the mailing list.  Could you send your response to me at Katelyn.mulgrew@bjss.com<ma...@bjss.com>?  See the question below:

From: Katelyn Mulgrew
Sent: Monday, April 3, 2017 4:55 PM
To: 'dev@impala.incubator.apache.org' <de...@impala.incubator.apache.org>
Subject: Installation Problem?

Impala experts,

I am trying to run the impala shell (what I really want is to see if I installed impala properly).  I am on Ubuntu and have done all the necessary apt-gets.  However, when I write "impala-shell" and hit return, I get a number of errors, as described here https://issues.apache.org/jira/browse/IMPALA-2863.  Can you help me?

Sincerely,

Katelyn Mulgrew
The information included in this email and any attachments transmitted with it may contain information that is confidential. This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, copy, disclose, distribute or take action in reliance upon this email. If you have received this email in error, please notify the sender immediately by return email and promptly delete this message and its attachments from your computer system. In the absence of a signed writing to the contrary, BJSS' relevant standard terms and conditions will apply to instructions or descriptions in this email regarding any work to be undertaken. BJSS shall have no liability for any damages to your system or data caused by any virus transmitted by this email or any attachments. Please carry out virus or such other checks as you consider appropriate. BJSS, Inc. 14 Wall Street, 20th Fl, Suite #2069, New York, NY 10005