Skip to content

Instantly share code, notes, and snippets.

View Jorricks's full-sized avatar
🤓

Jorrick Sleijster Jorricks

🤓
View GitHub Profile
@Jorricks
Jorricks / gist:1bed0f677b0630578a67837a7084201c
Last active November 30, 2023 15:31
Downloading files from HDFS through zipping and Jupyterhub
# Check the files are as expected
!hdfs dfs -ls /user/jorrick/my_file_path/
# Setup
!mkdir /tmp/jorrick
# Create the subdirectory and make sure it has the correct permissions
!mkdir -m 700 /tmp/jorrick/my_file_path
!ls -ll /tmp/jorrick/my_file_path