You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "Yikun (via GitHub)" <gi...@apache.org> on 2023/08/01 11:12:42 UTC

[GitHub] [spark] Yikun commented on a diff in pull request #42253: [SPARK-44619][INFRA] Free up disk space for pyspark container jobs

Yikun commented on code in PR #42253:
URL: https://github.com/apache/spark/pull/42253#discussion_r1280475423


##########
.github/workflows/build_and_test.yml:
##########
@@ -408,6 +408,14 @@ jobs:
         key: pyspark-coursier-${{ hashFiles('**/pom.xml', '**/plugins.sbt') }}
         restore-keys: |
           pyspark-coursier-
+    - name: Free up disk space
+      run: |
+        dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
+        df -h
+        rm -rf /__t/CodeQL || echo "fail to delete /__t/CodeQL"
+        rm -rf /__t/go || echo "fail to delete /__t/go"
+        rm -rf /__t/node || echo "fail to delete /__t/node"

Review Comment:
   According the link:
   https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#installed-apt-packages
   
   seems only above package can be unintall by apt, for other one, we can only cleanup by this way, so this PR seems a okay way.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org