Initial version of getipv4randomsample working in Scala - not yet using spark submit though
Scala version reduction to work on XDATA cluster