[
https://issues.apache.org/jira/browse/SPARK-42787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Rieger updated SPARK-42787:
-------------------------------
Description:
i tested this for 3.1.3 and 3.3.1 from
[https://hub.docker.com/r/apache/spark-py/tags]
while it works for pyspark, it does not for the scala spark-shell.
it seems this is due to scala REPL using {{jline}} for input management.
* creating a \{{.inputrc}} file with mapping for the arrow keys. this wouldn't
work
* finally, building and running from
{{dev/create-release/spark-rm/Dockerfile}} with jline installed as of the
Dockerfile, things worked.
likely not limited to the {{spark-py}} images only.
i'd do a PR, but am unsure if this is even the right Dockerfile to contribute
to in order to fix the docker hub images...
was:
i tested this for 3.1.3 and 3.3.1 from
[https://hub.docker.com/r/apache/spark-py/tags]
while it works for pyspark, it does not for the scala spark-shell.
it seems this is due to scala REPL using {{jline}} for input management.
* creating a \{{.inputrc}} file with mapping for the arrow keys. this wouldn't
work
* finally, building and running from
{{dev/create-release/spark-rm/Dockerfile}} with jline installed as of the
Dockerfile, things worked.
i'd do a PR, but am unsure if this is even the right Dockerfile to contribute
to in order to fix the docker hub images...
> in spark-py docker images, arrowkeys do not work in (scala) spark-shell
> -----------------------------------------------------------------------
>
> Key: SPARK-42787
> URL: https://issues.apache.org/jira/browse/SPARK-42787
> Project: Spark
> Issue Type: Improvement
> Components: Deploy
> Affects Versions: 3.1.3, 3.3.1
> Environment: [https://hub.docker.com/r/apache/spark-py] 3.1.3 and
> 3.3.1 in Docker on M1 MacBook pro OSX ventura
> Reporter: Max Rieger
> Priority: Minor
>
> i tested this for 3.1.3 and 3.3.1 from
> [https://hub.docker.com/r/apache/spark-py/tags]
> while it works for pyspark, it does not for the scala spark-shell.
> it seems this is due to scala REPL using {{jline}} for input management.
> * creating a \{{.inputrc}} file with mapping for the arrow keys. this
> wouldn't work
> * finally, building and running from
> {{dev/create-release/spark-rm/Dockerfile}} with jline installed as of the
> Dockerfile, things worked.
> likely not limited to the {{spark-py}} images only.
> i'd do a PR, but am unsure if this is even the right Dockerfile to contribute
> to in order to fix the docker hub images...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]