HDFS files
Binding: %file.hdfs
Browses and reads files on HDFS-compatible storage over WebHDFS, without leaving the notebook — handy for a quick look at a file's contents before pointing a Spark or Python job at it.
%file.hdfs
ls /data/incoming
Configuration
| Property | Default | Description |
|---|---|---|
hdfs.url | http://localhost:50070/webhdfs/v1/ | The WebHDFS endpoint URL. |
hdfs.user | hdfs | The WebHDFS user to connect as. |
hdfs.maxlength | 1000 | Maximum number of lines fetched from a file. |
These are set by your administrator from the interpreter settings screen.