removed the dependencies that were causing build failure
return empty result (not null) in case the results are not found
removed the spark sql dependency
set the spark.kryo.referenceTracking on true by default.