Spark 2.0 -- spark warehouse relative path in absolute URI error
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
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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 URI: > file:C:/ibm/spark-warehouse > > Any ideas how to fix this > > -Rohit - To unsubscribe e-mail: user-unsubscr...@spark.apache.org
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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 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 URI: > > file:C:/ibm/spark-warehouse > > > > Any ideas how to fix this > > > > -Rohit >
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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 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 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 URI: >> > file:C:/ibm/spark-warehouse >> > >> > Any ideas how to fix this >> > >> > -Rohit > > - To unsubscribe e-mail: user-unsubscr...@spark.apache.org
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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 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 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 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 URI: file:C:/ibm/spark-warehouse Any ideas how to fix this -Rohit >> >> > > - > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > - To unsubscribe e-mail: user-unsubscr...@spark.apache.org
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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 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 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 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 URI: > >> > file:C:/ibm/spark-warehouse > >> > > >> > Any ideas how to fix this > >> > > >> > -Rohit > > > > >
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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 Fri, Jul 29, 2016 at 12:06 AM, Rohit Chaddha wrote: > 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 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 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 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 >> URI: >> >> > file:C:/ibm/spark-warehouse >> >> > >> >> > Any ideas how to fix this >> >> > >> >> > -Rohit >> > >> > >> > >
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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). > > 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 Fri, Jul 29, 2016 at 12:06 AM, Rohit Chaddha > wrote: >> >> 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 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 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 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 >>> >> > URI: >>> >> > file:C:/ibm/spark-warehouse >>> >> > >>> >> > Any ideas how to fix this >>> >> > >>> >> > -Rohit >>> > >>> > >> >> > - To unsubscribe e-mail: user-unsubscr...@spark.apache.org
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
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 > wrote: > > 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 Fri, Jul 29, 2016 at 12:06 AM, Rohit Chaddha < > rohitchaddha1...@gmail.com> > > wrote: > >> > >> 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 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 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 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 > >>> >> > URI: > >>> >> > file:C:/ibm/spark-warehouse > >>> >> > > >>> >> > Any ideas how to fix this > >>> >> > > >>> >> > -Rohit > >>> > > >>> > > >> > >> > > >
Re: Spark 2.0 -- spark warehouse relative path in absolute URI error
I am facing the same issue and completely blocked here. *Sean can you please help with this issue. * Migrating to 2.0.0 has really stalled our development effort. -Tony > -- Forwarded message -- > From: Sean Owen > Date: Fri, Jul 29, 2016 at 12:47 AM > Subject: Re: 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 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). > > > > 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 Fri, Jul 29, 2016 at 12:06 AM, Rohit Chaddha < > rohitchaddha1...@gmail.com> > > wrote: > >> > >> 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 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 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 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 > >>> >> > URI: > >>> >> > file:C:/ibm/spark-warehouse > >>> >> > > >>> >> > Any ideas how to fix this > >>> >> > > >>> >> > -Rohit > >>> > > >>> > > >> > >> > > > >