I was looking for an excuse to play with spark, and cooked up a little shell script that pulls historical stock data. It's still a little rough, but it's got some basic validation, and it's good enough for me to use it for the time being.

I might improve on it here and there, but you should feel free to mess around. I'm sure there are others that provide this functionality and much more, but I wanted to write it myself from soup to nuts.