How to use hdfs shell commands with apache zeppelin?
It does but you are using shell interpreter.
Make sure that file
interpreter is installed:
$ ./bin/install-interpreter.sh --list | grep file## file HDFS file interpreter
If not install it
$ ./bin/install-interpreter.sh --name file
Add file
interpreter to the notebook and use it
%filels /
To use hadoop fs
commands you need Hadoop installation (Hadoop binaries and correct configuration and environment variables):
%sh$HADOOP_HOME/bin/hadoop fs -ls /
You will need one for more complex tasks, as HDFS interpreter (a.k.a. file
interpreter)
currently only supports browsing.