Hi, You maybe need one more '!', like
"hadoop fs -ls /user/hdfs/files"!! Thanks, moon On Tue, Aug 18, 2015 at 10:25 AM MrAsanjar . <afsan...@gmail.com> wrote: > Sorry for the stupid question, I am new to scala. > When I execute following simple hadoop commands within zeppelin scala > interpreter panel, I don't get any outputs except res120: Int = 0 > is this normal? what would be the best way to parse hdfs from zeppelin? > > import sys.process._ > "hadoop fs -ls /user/hdfs/files" ! > > import sys.process._ warning: there were 1 feature warning(s); re-run with > -feature for details res120: Int = 0 >