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

Michael Smith edited comment on IMPALA-14501 at 10/24/25 8:16 PM:
------------------------------------------------------------------

I think single_node_perf_run.py needs some fixes: 
https://jenkins.impala.io/job/perf-AB-test-ub2004/335/consoleFull
{code}
Traceback (most recent call last):
  File "./bin/single_node_perf_run.py", line 428, in <module>
    main()
  File "./bin/single_node_perf_run.py", line 418, in main
    perf_ab_test(options, args)
  File "./bin/single_node_perf_run.py", line 322, in perf_ab_test
    compare(temp_dir, hash_a, hash_b, options)
  File "./bin/single_node_perf_run.py", line 191, in compare
    generate_profile_files(file_a, hash_a, base_dir)
  File "./bin/single_node_perf_run.py", line 233, in generate_profile_files
    data = json.loads(fid.read().decode("utf-8", "ignore"))
AttributeError: 'str' object has no attribute 'decode'
{code}


was (Author: JIRAUSER288956):
I think single_node_perf_run.py needs some fixes: 
https://jenkins.impala.io/job/perf-AB-test-ub2004/335/consoleFull

> Switch scripts to use impala-python rather than impala-python3
> --------------------------------------------------------------
>
>                 Key: IMPALA-14501
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14501
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>    Affects Versions: Impala 5.0.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> To fully remove the Python 2 impala-python, we need to switch existing 
> scripts over from impala-python to impala-python3. This may requires some 
> minor fixes. Some code is currently unused (e.g. the random query generator) 
> and may not be testable with impala-python3.
> There are also a bunch of files that have impala-python hash bangs that don't 
> have main functions and are not executable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to