[ 
https://issues.apache.org/jira/browse/IMPALA-8199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768942#comment-16768942
 ] 

ASF subversion and git services commented on IMPALA-8199:
---------------------------------------------------------

Commit f0a47ab2ca6e5c19f74c55af67927f446785f23c in impala's branch 
refs/heads/master from Thomas Tauber-Marshall
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=f0a47ab ]

IMPALA-8199: Fix stress test: 'No module named RuntimeProfile.ttypes'

A recent commit (IMPALA-6964) broke the stress test because it added
an import of a generated thrift value to a python file that is
included by the stress test. The stress test is intended to be able to
be run without doing a full build of Impala, but in this case the
generated thrift isn't available, leading to an import error.

The solution is to only import the thrift value in the function where
it is used, which is not called by the stress test.

Testing:
- Ran the stress test manually without doing a full build and
  confirmed that it works now.

Change-Id: I7a3bd26d743ef6603fabf92f904feb4677001da5
Reviewed-on: http://gerrit.cloudera.org:8080/12472
Reviewed-by: Thomas Marshall <thomasmarsh...@cmu.edu>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> stress test fails: "No module named RuntimeProfile.ttypes"
> ----------------------------------------------------------
>
>                 Key: IMPALA-8199
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8199
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Thomas Tauber-Marshall
>            Assignee: Thomas Tauber-Marshall
>            Priority: Major
>
> A recent commit (IMPALA-6964) broke the stress test because it added an 
> import of a generated thrift value to a python file that is included by the 
> stress test. The stress test is intended to be able to be run without doing a 
> full build of Impala, but in this case the generated thrift isn't available, 
> leading to an import error.



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

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

Reply via email to