Skip to content

Instantly share code, notes, and snippets.

@sorenmacbeth
Created January 16, 2012 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorenmacbeth/1623264 to your computer and use it in GitHub Desktop.
Save sorenmacbeth/1623264 to your computer and use it in GitHub Desktop.
(gen-class :name ybot.transfer.GlobPathLister
:implements [backtype.hadoop.PathLister]
:prefix "lister-")
(defn lister-getFiles [this ^FileSystem fs ^Path p]
(for [status (.globStatus fs p)]
[(.getPath status)]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment