Re: java.net.URISyntaxException

2016-10-04 Thread Shixiong(Ryan) Zhu
I think you just hit https://issues.apache.org/jira/browse/SPARK-15899 Could you try 2.0.1? On Tue, Oct 4, 2016 at 7:52 AM, Denis Bolshakov wrote: > I think you are wrong with port for hdfs file, as I remember default value > is 8020, and not 9000. > > 4 Окт 2016 г. 17:29 пользователь "Hafiz Mu

Re: java.net.URISyntaxException

2016-10-04 Thread Denis Bolshakov
I think you are wrong with port for hdfs file, as I remember default value is 8020, and not 9000. 4 Окт 2016 г. 17:29 пользователь "Hafiz Mujadid" написал: > Hi, > > I am trying example of structured streaming in spark using following piece > of code, > > val spark = SparkSession > .builder > .a

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: >