That's the workaround for the code as per above: 

SparkConf conf = new SparkConf().set("spark.sql.warehouse.dir",
"file:///C:/Users/marchifl/scalaWorkspace/SparkStreamingApp2/spark-warehouse");
                
SparkSession spark = SparkSession
                                .builder()
                                .config(conf)
                                .master("local[*]")
                                .appName("JavaRandomForestRegressorExample")
                                .getOrCreate();



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/java-net-URISyntaxException-Relative-path-in-absolute-URI-tp27466p27487.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to