mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 08:46:54 +08:00
debug: add directory structure inspection before file download
Added weed shell commands to inspect the directory structure: - List /test-spark/ to see what directories exist - List /test-spark/employees/ to see what files are there This will help diagnose why the HTTP API returns empty: - Are files there but HTTP not working? - Are files in a different location? - Were files cleaned up after the test? - Did the volume data persist after container restart? Will show us exactly what's in SeaweedFS after test failure.
This commit is contained in:
13
.github/workflows/spark-integration-tests.yml
vendored
13
.github/workflows/spark-integration-tests.yml
vendored
@@ -153,8 +153,17 @@ jobs:
|
||||
# Install parquet-tools
|
||||
pip3 install parquet-tools
|
||||
|
||||
# List available files
|
||||
echo "Available Parquet files:"
|
||||
# First, check what's in the test-spark directory
|
||||
echo "=== Checking test-spark directory structure ==="
|
||||
echo -e "fs.ls /test-spark/\nexit" | docker compose exec -T seaweedfs-master weed shell
|
||||
|
||||
echo ""
|
||||
echo "=== Checking employees directory ==="
|
||||
echo -e "fs.ls /test-spark/employees/\nexit" | docker compose exec -T seaweedfs-master weed shell
|
||||
|
||||
# List available files via HTTP
|
||||
echo ""
|
||||
echo "=== Available Parquet files via HTTP API ==="
|
||||
echo "Checking: http://localhost:8888/test-spark/employees/"
|
||||
curl -s http://localhost:8888/test-spark/employees/?pretty=y | tee files.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user