Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Tony Lane
e: Spark 2.0 -- spark warehouse relative path in absolute URI > error > To: Rohit Chaddha > Cc: "user @spark" > > > Ah, right. This wasn't actually resolved. Yeah your input on 15899 > would be welcome. See if the proposed fix helps. > > On Thu, Jul

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Rohit Chaddha
After looking at the comments - I am not sure what the proposed fix is ? On Fri, Jul 29, 2016 at 12:47 AM, Sean Owen wrote: > Ah, right. This wasn't actually resolved. Yeah your input on 15899 > would be welcome. See if the proposed fix helps. > > On Thu, Jul 28, 2016 at 11:52 AM, Rohit Chaddha

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Sean Owen
Ah, right. This wasn't actually resolved. Yeah your input on 15899 would be welcome. See if the proposed fix helps. On Thu, Jul 28, 2016 at 11:52 AM, Rohit Chaddha wrote: > Sean, > > I saw some JIRA tickets and looks like this is still an open bug (rather > than an improvement as marked in JIRA).

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Rohit Chaddha
Sean, I saw some JIRA tickets and looks like this is still an open bug (rather than an improvement as marked in JIRA). https://issues.apache.org/jira/browse/SPARK-15893 https://issues.apache.org/jira/browse/SPARK-15899 I am experimenting, but do you know of any solution on top of your head On

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Rohit Chaddha
I am simply trying to do session.read().json("file:///C:/data/a.json"); in 2.0.0-preview it was working fine with sqlContext.read().json("C:/data/a.json"); -Rohit On Fri, Jul 29, 2016 at 12:03 AM, Sean Owen wrote: > Hm, file:///C:/... doesn't work? that should certainly be an absolute > URI w

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Hatim Diab
I’m not familiar with windows but for unix is the path is /data/zxy then it’ll be file:///data/zxy so I’d assume file://C:/ > On Jul 28, 2016, at 2:33 PM, Sean Owen wrote: > > Hm, file:///C:/... doesn't work? that should certainly be an absolute > URI with an absolute path. What exactly is you

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Sean Owen
Hm, file:///C:/... doesn't work? that should certainly be an absolute URI with an absolute path. What exactly is your input value for this property? On Thu, Jul 28, 2016 at 11:28 AM, Rohit Chaddha wrote: > Hello Sean, > > I have tried both file:/ and file:/// > Bit it does not work and give the

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Rohit Chaddha
Hello Sean, I have tried both file:/ and file:/// Bit it does not work and give the same error -Rohit On Thu, Jul 28, 2016 at 11:51 PM, Sean Owen wrote: > IIRC that was fixed, in that this is actually an invalid URI. Use > file:/C:/... I think. > > On Thu, Jul 28, 2016 at 10:47 AM, Rohit C

Re: Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Sean Owen
IIRC that was fixed, in that this is actually an invalid URI. Use file:/C:/... I think. On Thu, Jul 28, 2016 at 10:47 AM, Rohit Chaddha wrote: > I upgraded from 2.0.0-preview to 2.0.0 > and I started getting the following error > > Caused by: java.net.URISyntaxException: Relative path in absolute

Spark 2.0 -- spark warehouse relative path in absolute URI error

2016-07-28 Thread Rohit Chaddha
I upgraded from 2.0.0-preview to 2.0.0 and I started getting the following error Caused by: java.net.URISyntaxException: Relative path in absolute URI: file:C:/ibm/spark-warehouse Any ideas how to fix this -Rohit