Serving datasets with bitshuffle compression in POSIX files
@mattjala ya está trabajando en esto.
Desde el 25/8/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
I am trying to serve POSIX files that contain datasets compressed with the bitshuffle filter.
hsload --link works without any trouble as do requests to metadata and uncompressed datasets. However, requests to the compressed datasets fail with the following errors in the datanode:
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/hsds/chunk_dn.py", line 259, in GET_Chunk
chunk_arr = await get_chunk(app, chunk_id, dset_json, bucket=bucket, s3path=s3path, s3offset=s3offset, s3size=s3size, chunk_init=False)
File "/usr/local/lib/python3.8/site-packages/hsds/datanode_lib.py", line 386, in get_chunk
chunk_arr = bytesToArray(chunk_bytes, dt, dims)
File "/usr/local/lib/python3.8/site-packages/hsds/util/arrayUtil.py", line 453, in bytesToArray
arr = np.frombuffer(data, dtype=dt)
ValueError: buffer size must be a multiple of element size
and
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/hsds/chunk_dn.py", line 259, in GET_Chunk
chunk_arr = await get_chunk(app, chunk_id, dset_json, bucket=bucket, s3path=s3path, s3offset=s3offset, s3size=s3size, chunk_init=False)
File "/usr/local/lib/python3.8/site-packages/hsds/datanode_lib.py", line 386, in get_chunk
chunk_arr = bytesToArray(chunk_bytes, dt, dims)
File "/usr/local/lib/python3.8/site-packages/hsds/util/arrayUtil.py", line 459, in bytesToArray
arr = arr.reshape(shape)
ValueError: cannot reshape array of size 6987 into shape (66,123)
.
How should I proceed to be able to request such datasets ? Given that I do hsload --link, should I look into HSDS rather than h5pyd ?
- Lenguaje dominante
- Python
- Estrellas
- 158
- Forks
- 61
- Merge medio
- 4 d 17 h
- PR fusionados (30 d)
- 6
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de HDFGroup/hsds
-
Links orderQuizá libre de nuevo @mattjala la tomó hace 79 días y no hay ningún pull request abierto. Abiertoquestion
-
codespace starts with config complaint, can't run testall.pyQuizá libre de nuevo @mattjala la tomó hace 79 días y no hay ningún pull request abierto. Abiertobug
-
How to use config.ymlQuizá libre de nuevo @mattjala la tomó hace 79 días y no hay ningún pull request abierto. Abiertobug
-
HSDS azure kubernetes lockupQuizá libre de nuevo @mattjala la tomó hace 79 días y no hay ningún pull request abierto. Abiertobug
-
Support HEAD requests for dataset selectionQuizá libre de nuevo @mattjala la tomó hace 79 días y no hay ningún pull request abierto. Abiertoenhancement
Todos los issues de HDFGroup/hsds
Issues similares
-
AI bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
btclib-org/btclib-wallet#872 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Scheduled returns scan all accepted minion keys causing extreme loadPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
saltstack/salt#70789 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
btclib-org/btclib#3093 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día