add 'tryCatch' around computeCost invocation (only available since Spark 2.0.0)
add 'tryCatch' around computeCost invocation (only available since Spark 2.0.0)

rstudio/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr,rstudio/sparklyr,rstudio/sparklyr