Launching the Spark history server and viewing the Spark UI using Docker

0

Hi,

Have followed the below documentation to set up the Spark History server to see Spark UI Logs. Am able to run the container but not able to access the URL http://localhost:18080 .

docker run -itd -e SPARK_HISTORY_OPTS="$SPARK_HISTORY_OPTS -Dspark.history.fs.logDirectory=s3a://<bucket>/logs/ -Dspark.hadoop.fs.s3a.access.key=<ACCESS KEY> -Dspark.hadoop.fs.s3a.secret.key=<Secret Key>" -p 18080:18080 glue/sparkui:latest "/opt/spark/bin/spark-class org.apache.spark.deploy.history.HistoryServer"

Where do I check whether the history server has been started and what is the Error info?

AWS
질문됨 4달 전214회 조회
1개 답변
0

Hello.

Can you check the container status with the following command?
If it has started without any problems, "running" should be displayed.

docker ps -a

You can check the container log with the following command.
Are there any errors shown in the container logs?

docker logs -f container_id
profile picture
전문가
답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠