You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "bharath v (JIRA)" <ji...@apache.org> on 2018/04/13 22:06:00 UTC

[jira] [Resolved] (IMPALA-6774) SyntaxError: invalid syntax diagnostics/collect_diagnostics.py

     [ https://issues.apache.org/jira/browse/IMPALA-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bharath v resolved IMPALA-6774.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.12.0
                   Impala 3.0

https://gerrit.cloudera.org/#/c/10056/

> SyntaxError: invalid syntax diagnostics/collect_diagnostics.py
> --------------------------------------------------------------
>
>                 Key: IMPALA-6774
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6774
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 2.13.0
>            Reporter: Michael Ho
>            Assignee: bharath v
>            Priority: Blocker
>             Fix For: Impala 3.0, Impala 2.12.0
>
>
> {noformat}
> 23:50:47 ERROR unittests/test_command.py
> 23:50:47 ==================================== ERRORS ====================================
> 23:50:47 __________________ ERROR collecting unittests/test_command.py __________________
> 23:50:47 ../infra/python/env/lib/python2.6/site-packages/_pytest/python.py:611: in _importtestmodule
> 23:50:47     mod = self.fspath.pyimport(ensuresyspath=importmode)
> 23:50:47 ../infra/python/env/lib/python2.6/site-packages/py/_path/local.py:662: in pyimport
> 23:50:47     __import__(modname)
> 23:50:47 ../infra/python/env/lib/python2.6/site-packages/_pytest/assertion/rewrite.py:171: in load_module
> 23:50:47     py.builtin.exec_(co, mod.__dict__)
> 23:50:47 unittests/test_command.py:27: in <module>
> 23:50:47     from collect_diagnostics import Command
> 23:50:47 E     File "/data/jenkins/workspace/impala-asf-master-core/repos/Impala/bin/diagnostics/collect_diagnostics.py", line 405
> 23:50:47 E       with open(profile_path, "rb") as in_file,\
> 23:50:47 E                                               ^
> 23:50:47 E   SyntaxError: invalid syntax
> 23:50:47 == 1728 passed, 51 skipped, 37 xfailed, 1 xpassed, 1 error in 8249.59 seconds ==
> 23:50:47 ============================= test session starts ==============================
> {noformat}



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