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

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

sandyleo26
Copy link
Contributor

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

@moomindani moomindani merged commit 433d3bc into aws-samples:master Jan 27, 2025
@moomindani
Copy link
Contributor

Thank you for your contribution!

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.

3 participants