Hi Aseem, If you are submitting the jar from a shell you could write a simple bash/sh script to solve your problem.
`print /home/pathtojarfolder/$(ls -t /home/pathtojarfolder/*.jar | head -n 1)` The above command can be put in your spark-submit command. Thanks Sudev On Wed, Oct 26, 2016 at 3:33 PM, Aseem Bansal <asmbans...@gmail.com> wrote: > Hi > > Can someone please share their thoughts on http://stackoverflow.com/ > questions/40259022/what-syntax-can-be-used-to-specify- > the-latest-version-of-jar-found-while-using-s >