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()
0.0, whose tasks
have all completed, from pool
16/08/03 18:18:49 INFO DAGScheduler: Job 0 finished: reduce at
MLUtils.scala:92, took 0.432523 s
Exception in thread "main" java.lang.IllegalArgumentException:
java.net.URISyntaxException: Relative path in absolute URI:
file:C:/User
n Wed, Aug 3, 2016 at 11:05 AM, Flavio <marchifla...@gmail.com> wrote:
> > Hello everyone,
> >
> > I am try to run a very easy example but unfortunately I am stuck on the
> > follow exception:
> >
> > Exception in thread "main" java.lang.Ille
;>
>> Exception in thread "main" java.lang.IllegalArgumentException:
>> java.net.URISyntaxException: Relative path in absolute URI: file:
>> "absolute
>> directory"
>>
>> I was wondering if anyone got this exception trying to run the examples on
>>
gt;
> Exception in thread "main" java.lang.IllegalArgumentException:
> java.net.URISyntaxException: Relative path in absolute URI: file: "absolute
> directory"
>
> I was wondering if anyone got this exception trying to run the examples on
> the spark git repo; actually
> Exception in thread "main" java.lang.IllegalArgumentException:
> java.net.URISyntaxException: Relative path in absolute URI: file: "absolute
> directory"
>
> I was wondering if anyone got this exception trying to run the examples on
> the spark git repo; actually the