[
https://issues.apache.org/jira/browse/FLINK-19389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-19389:
-----------------------------------
Labels: auto-deprioritized-major stale-minor (was:
auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> Error determining python major version to start fileserver during e-2-e tests
> -----------------------------------------------------------------------------
>
> Key: FLINK-19389
> URL: https://issues.apache.org/jira/browse/FLINK-19389
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Reporter: Di Xu
> Priority: Minor
> Labels: auto-deprioritized-major, stale-minor
>
> Currently the logic to determine python version in command-docker.sh[1] has
> an error:
> * when there is only python3 installed, `command -v python` also returns 0
> and then `python (actually 3) python2_fileserver.py` will be executed then
> it causes an error
> * in the case of python version management tool pyenv[2] is used, the soft
> link to python3 would exist even if user switched to python2, so simply check
> python3 before python(2) will NOT solve the problem.
> The suggested way is:
> python -c 'import sys; print(sys.version_info.major)'
>
> [1]
> [https://github.com/apache/flink/blob/master/flink-end-to-end-tests/test-scripts/common_docker.sh#L57]
> [2] [https://github.com/pyenv/pyenv]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)