Re: java.net.URISyntaxException: Relative path in absolute URI:

2016-08-05 Thread Flavio
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()

Re: java.net.URISyntaxException: Relative path in absolute URI:

2016-08-03 Thread Flavio
Just for clarification, this is the fullstracktrace: Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties 16/08/03 18:18:44 INFO SparkContext: Running Spark version 2.0.0 16/08/03 18:18:44 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... u

Re: java.net.URISyntaxException: Relative path in absolute URI:

2016-08-03 Thread flavio marchi
Ho Sean, thanks for the reply. I just omitted the real path which would point on my file system. I just posted the real one. On 3 Aug 2016 19:09, "Sean Owen" wrote: > file: "absolute directory" > does not sound like a valid URI > > On Wed, Aug 3, 2016 at 11:05 AM, Flavio wrote: > > Hello everyo

Re: java.net.URISyntaxException: Relative path in absolute URI:

2016-08-03 Thread flavio marchi
Thanks for the reply, well I don't have hadoop installed at all. I am just running in local as eclipse project so I don't know where I can configure the path as suggested per JIRA :( On 3 Aug 2016 19:07, "Ted Yu" wrote: > SPARK-15899 ? > > On W

Re: java.net.URISyntaxException: Relative path in absolute URI:

2016-08-03 Thread Sean Owen
file: "absolute directory" does not sound like a valid URI On Wed, Aug 3, 2016 at 11:05 AM, Flavio 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.IllegalArgumentException: > java.net

Re: java.net.URISyntaxException: Relative path in absolute URI:

2016-08-03 Thread Ted Yu
SPARK-15899 ? On Wed, Aug 3, 2016 at 11:05 AM, Flavio 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.IllegalArgumentException: >