Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arkouda_server fails on read_hdf when trying to access rank 4 datasets (corrupted size vs. prev_size) #702

Closed
wolfiex opened this issue Mar 14, 2021 · 6 comments · Fixed by #1552
Assignees
Labels
enhancement New feature or request

Comments

@wolfiex
Copy link

wolfiex commented Mar 14, 2021

Using the same file, I am able to list all the datasets and extract values from datasets with shape Dataset {1/Inf, 101, 545}, however each time I try to do the same on a variable with shape Dataset {1/Inf, 47, 101, 545} the code fails with

*** Error in `/users/xxxx/scratch/arkouda/arkouda_server': corrupted size vs. prev_size: 0x00007fe52806c4c0 ***

Is there a reason this might be happening. I have increased the available memory to well over what is required, with no luck whatsoever.

@mhmerrill
Copy link
Contributor

mhmerrill commented Mar 15, 2021

Are you trying to use a multi-dimensional shape with Arkouda? We don't support that yet. Maybe this is missed in the error handling. @reuster986 @hokiegeek2

@mhmerrill
Copy link
Contributor

@wolfiex people have gotten around this buy rolling their own multi-dimensional wrapper class in python.

@wolfiex
Copy link
Author

wolfiex commented Mar 15, 2021 via email

@mhmerrill mhmerrill added the enhancement New feature or request label Apr 5, 2021
@mhmerrill
Copy link
Contributor

@pierce314159 @Ethan-DeBandi99 now that we have ArrayView should we revisit this?

@Ethan-DeBandi99 Ethan-DeBandi99 self-assigned this May 3, 2022
@Ethan-DeBandi99
Copy link
Contributor

@mhmerrill I would think so. I will touch base with @pierce314159 and see if I can get this functioning properly.

@Ethan-DeBandi99
Copy link
Contributor

@wolfiex - would it be possible for you to share your dataset? I am working on making multi-dimensional hdf5 functional in arkouda.

stress-tess pushed a commit that referenced this issue Jul 14, 2022
* Adds read/write support for multi-dimensional objects in HDF5. Supports read/write of objects as flattened arrays or multidim. Save/load functionality added to arrayview. This is an initial implementation that is stand alone and will require further integration with the rest of the HDF5 module."

* Added FILEIO.md to detail the schema used for multidimensional HDF5.

* Correcting mypy error.

* Correcting circular import

* Pulls array local to write it. This is not ideal, but this code is the first iteration for this.

Adds updated error handling.

* Updated to pull shape local before writing.

* Addressing review comments.

* addressing review comments

* PR Review updates.

* Updating module name to fit standard convention.

* Formatting fix.

* Adding semicolon

* Rewording for Pierce.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants