Datasets:
Dataset viewer: config-parquet fails with "Could not read the parquet files: timed out"
Symptom
The dataset viewer is off for this dataset. /is-valid returns:
{"preview":true,"viewer":false,"search":false,"filter":false,"statistics":false}
/parquet, /size and /info all report config-parquet / config-size / config-info as failed, and /statistics returns:
Could not read the parquet files: timed out (FileSystemError)
/first-rows still works, so the originals are readable β it is the config-parquet-and-info step that fails.
What I checked
The dataset is parquet-native (config audiobooks, data_files: '*/train*.parquet', 21 files, 5.61 GB), so the
worker should take the copy_parquet_files + fill_builder_info path. fill_builder_info only opens each file
and reads its footer, under the patched 10 s HTTP timeout (http_backoff_with_timeout).
I replicated exactly that from outside β HfFileSystem.open() + pq.ParquetFile(f) + f.size β for all 21 files:
- every file returned its metadata in 1.0β2.5 s (slowest: 2.47 s), well under the 10 s timeout
- footers are small: 4β5 kB each
- all 21 files have identical Arrow schemas, and
pa.concat_tablesacross all of them succeeds - all 21 files are plain LFS (none Xet-backed), so they are stored the same way as each other
load_dataset("parquet", ...)with the README's declared features loads all 22,517 rows locally without error
Schema (identical in every file):
duration: double
text: string
file_id: string
id: string
source: string
speaker_id: int64
audio: struct<bytes: binary, path: string>
Additional observations
refs/convert/parquetdoes not exist on the repo βlist_repo_refsreturns no converts, and requesting that
revision 404s. So the conversion has not completed successfully for some time; the/inforesponse that was
being served was a stale cache entry pinned to revisionbdf02796(2025-05-16).- The failure reproduced after a fresh commit to
main(so the job did re-run, and failed again ~17 min later). - Every file in the repo has a single row group of 300β450 MB (uncompressed
total_byte_size). I know this is
well outside the recommended ~100 MB. It should not matter for a footer-only read, but if it is implicated in the
timeout β or if it is what breaksstatistics/filter/searchlater β I am happy to re-shard the whole repo to
~200 MB files with ~50 MB row groups. I would just rather not rewrite 5.6 GB and change every filename if that is
not the actual cause.
Could you take a look at the worker-side logs for this dataset? Happy to provide anything else useful.
Resolved β config-parquet now succeeds (32 files copied as-is, 22,517 rows, partial: false) and the viewer is on.
For anyone hitting the same thing, what changed between the failing and succeeding runs:
- Re-sharded every folder from single 300β450 MB row groups to ~200 MB files with ~50 MB row groups
(20 files β 32). This did not fix it on its own βconfig-parquetstill failed afterwards. - Filled in the previously-absent
num_examples/num_bytes/download_size/dataset_sizein the
README'sdataset_info. The next job run succeeded.
I can't claim (2) is the actual fix: fill_builder_info resets splits/download_size/dataset_size and
recomputes them regardless of what the card declares, so the declared numbers shouldn't short-circuit the
footer reads that were timing out. A likelier explanation is that step 1 landed as nine commits in quick
succession, each re-queueing the job before the previous run finished, and the single quiet commit in
step 2 finally gave it a stable revision to complete against. If that is what happened, it may be worth
making the worker more tolerant of rapid consecutive commits.
Two corrections to my original post: the repo had 20 parquet files, not 21, and preview was working
throughout β only viewer/search/filter/statistics were off.