Skip to content

Commit

Permalink
Update pr_tests_spark.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ilias1111 committed Aug 2, 2024
1 parent 03e4b6b commit daa9695
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr_tests_spark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,17 @@ jobs:
docker-compose exec -T spark-master bash -c "jps && ps aux | grep spark && netstat -tuln"
docker-compose exec -T spark-worker bash -c "jps && ps aux | grep spark && netstat -tuln"
- name: Check Logs Spark Master
run: docker-compose logs spark-master
- name: Check if the Thrift Server is running in Spark Master
run: docker-compose exec spark-master bash -c "ps aux | grep ThriftServer"
- name: Check if port 10000 is actually listening inside the spark-master container
run: docker-compose exec spark-master bash -c "netstat -tuln | grep 10000"
- name: Try to connect to the Thrift server from the spark-master container itself
run: docker-compose exec spark-master bash -c "curl localhost:10000"
- name: Verify Spark configuration
run: docker-compose exec spark-master bash -c "cat /spark/conf/spark-defaults.conf"

- name: Check Thrift Server
run: |
docker-compose exec -T spark-master bash -c "curl localhost:10000"
Expand Down

0 comments on commit daa9695

Please sign in to comment.