You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (JIRA)" <ji...@apache.org> on 2019/03/21 22:31:00 UTC

[jira] [Created] (IMPALA-8337) Dataload fails due to ImportError: cannot import name OrderedDict from impala-shell

Joe McDonnell created IMPALA-8337:
-------------------------------------

             Summary: Dataload fails due to ImportError: cannot import name OrderedDict from impala-shell
                 Key: IMPALA-8337
                 URL: https://issues.apache.org/jira/browse/IMPALA-8337
             Project: IMPALA
          Issue Type: Bug
          Components: Clients
    Affects Versions: Impala 3.3.0
            Reporter: Joe McDonnell


Dataload on centos 6 (with Python 2.6) fails when running "Caching test tables":
{noformat}
15:14:59 ImportError: cannot import name OrderedDict
15:14:59 Traceback (most recent call last):
15:14:59   File "/data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6/repos/Impala/shell/impala_shell.py", line 42, in <module>
15:14:59     from option_parser import get_option_parser, get_config_from_file
15:14:59   File "/data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6/repos/Impala/shell/option_parser.py", line 34, in <module>
15:14:59     from collections import OrderedDict{noformat}
Unfortunately, OrderedDict was introduced in Python 2.7 according to this table:

[https://docs.python.org/2/library/collections.html]

Python 2.6 strikes again.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org