Skip to content

Instantly share code, notes, and snippets.

@jamesrajendran
Created May 14, 2017 14:24
Show Gist options
  • Select an option

  • Save jamesrajendran/46aa0b2949e1b6249bb2bb13a89d0752 to your computer and use it in GitHub Desktop.

Select an option

Save jamesrajendran/46aa0b2949e1b6249bb2bb13a89d0752 to your computer and use it in GitHub Desktop.
Spark Shell related Tips
// SHELL COMMANDS FROM SPARK SHELL
:sh hdfs dfs -ls /user/cloudera
<result> foreach println //use the result variable like 'res0' in the place of <result>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment