load_dataset error
MEMBER
Hi, @lion-ops.

In our Continuous Integration we have many tests on loading JSON files and all of them work properly.

Could you please share your "train.json" file, so that we can try to reproduce the issue you have? 
2024-06-04T04:24:47Z
https://github.com/huggingface/datasets/issues/6949#issuecomment-2146578527
https://api.github.com/repos/huggingface/datasets/issues/6949
IC_kwDODunzps5_8jBf
https://api.github.com/repos/huggingface/datasets/issues/comments/2146578527/reactions
2024-06-04T04:24:47Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2146578527
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
> Hi, @lion-ops.
> 
> In our Continuous Integration we have many tests on loading JSON files and all of them work properly.
> 
> Could you please share your "train.json" file, so that we can try to reproduce the issue you have?

Thank you for your reply. I can load it normally in another server. Is it possible that the disk of my server is a network disk in the LAN, so it will be downloaded from the LAN and get stuck?
2024-06-04T05:54:54Z
https://github.com/huggingface/datasets/issues/6949#issuecomment-2146670365
https://api.github.com/repos/huggingface/datasets/issues/6949
IC_kwDODunzps5_85cd
https://api.github.com/repos/huggingface/datasets/issues/comments/2146670365/reactions
2024-06-04T05:54:54Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2146670365
https://avatars.githubusercontent.com/u/27952522?v=4
https://api.github.com/users/frederichen01/events{/privacy}
https://api.github.com/users/frederichen01/followers
https://api.github.com/users/frederichen01/following{/other_user}
https://api.github.com/users/frederichen01/gists{/gist_id}
https://github.com/frederichen01
frederichen01
MDQ6VXNlcjI3OTUyNTIy
https://api.github.com/users/frederichen01/orgs
https://api.github.com/users/frederichen01/received_events
https://api.github.com/users/frederichen01/repos
https://api.github.com/users/frederichen01/starred{/owner}{/repo}
https://api.github.com/users/frederichen01/subscriptions
User
https://api.github.com/users/frederichen01
public
### Describe the bug

Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r').

### Steps to reproduce the bug

1. pip install datasets==2.19.2
2. from datasets import Dataset, DatasetDict, NamedSplit, Split, load_dataset
3. data = load_dataset('json', data_files='train.json')

### Expected behavior

It is able to load my json correctly

### Environment info

datasets==2.19.2