Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing : from ENTRYPOINT #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sandyleo26
Copy link

I'm getting errors like below

/opt/spark/bin/spark-class org.apache.spark.deploy.history.HistoryServer: line 1: [/bin/bash,: No such file or directory

with command like

docker run -itd -e SPARK_HISTORY_OPTS="$SPARK_HISTORY_OPTS -Dspark.history.fs.logDirectory=s3a://$FILEPATH -Dspark.hadoop.fs.s3a.access.key=$SPARK_AWS_ACCESS_KEY_ID -Dspark.hadoop.fs.s3a.secret.key=$SPARK_AWS_SECRET_ACCESS_KEY -Dspark.hadoop.fs.s3a.session.token=$SPARK_AWS_SESSION_TOKEN -Dspark.hadoop.fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.TemporaryAWSCredentialsProvider" -p 18080:18080 glue/sparkui:latest "/opt/spark/bin/spark-class org.apache.spark.deploy.history.HistoryServer"

Not sure why : is added. Removing it solves the issue for me.

@slydoggo1
Copy link

+1

Removing the : fixes the warning when building the docker image. Otherwise running the container exits with status code 127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants