You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Daniel Valdivia <ho...@danielvaldivia.com> on 2016/08/16 20:56:41 UTC
PrintWriter not found
Hi,
I just upgraded my spark and zeppelin together to their respective latest versions (2.0 and 0.6.1) however my existing notebooks are running into problem that I'm not sure how to debug, if I manually append the full namespace this works
for example;
class Example {
def test() {
new PrintWriter("/tmp/test.lol") { write("test"); close }
}
}
yields
<console>:15: error: not found: type PrintWriter
new PrintWriter("/tmp/test.lol") { write("test"); close }
^
<console>:15: error: not found: value write
new PrintWriter("/tmp/test.lol") { write("test"); close }
^
<console>:15: error: not found: value close
new PrintWriter("/tmp/test.lol") { write("test"); close }
^
This used to work fine on the previous release of zeppeling
any advice?
Thanks
Re: PrintWriter not found
Posted by Daniel Valdivia <ho...@danielvaldivia.com>.
thank you!
On Wed, Aug 17, 2016 at 1:22 AM, Jeff Zhang <zj...@gmail.com> wrote:
> This is spark 2.0 issue, I have created spark ticket
> https://issues.apache.org/jira/browse/SPARK-17103
>
>
>
> On Wed, Aug 17, 2016 at 4:05 PM, Jeff Zhang <zj...@gmail.com> wrote:
>
>> I think this is issue of spark 2.0 or scala 2.11, as I can also
>> reproduce it in spark-shell of spark 2.0
>>
>> On Wed, Aug 17, 2016 at 8:59 AM, Jeff Zhang <zj...@gmail.com> wrote:
>>
>>> I can also reproduce it in master, please file a ticket.
>>>
>>> On Wed, Aug 17, 2016 at 4:56 AM, Daniel Valdivia <
>>> hola@danielvaldivia.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I just upgraded my spark and zeppelin together to their respective
>>>> latest versions (2.0 and 0.6.1) however my existing notebooks are running
>>>> into problem that I'm not sure how to debug, if I manually append the full
>>>> namespace this works
>>>>
>>>>
>>>>
>>>> for example;
>>>>
>>>> class Example {
>>>> def test() {
>>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>>> }
>>>> }
>>>>
>>>> yields
>>>>
>>>> <console>:15: error: not found: type PrintWriter
>>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>>> ^
>>>> <console>:15: error: not found: value write
>>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>>> ^
>>>> <console>:15: error: not found: value close
>>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>>> ^
>>>>
>>>> This used to work fine on the previous release of zeppeling
>>>>
>>>> any advice?
>>>>
>>>> Thanks
>>>
>>>
>>>
>>>
>>> --
>>> Best Regards
>>>
>>> Jeff Zhang
>>>
>>
>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>
Re: PrintWriter not found
Posted by Jeff Zhang <zj...@gmail.com>.
This is spark 2.0 issue, I have created spark ticket
https://issues.apache.org/jira/browse/SPARK-17103
On Wed, Aug 17, 2016 at 4:05 PM, Jeff Zhang <zj...@gmail.com> wrote:
> I think this is issue of spark 2.0 or scala 2.11, as I can also reproduce
> it in spark-shell of spark 2.0
>
> On Wed, Aug 17, 2016 at 8:59 AM, Jeff Zhang <zj...@gmail.com> wrote:
>
>> I can also reproduce it in master, please file a ticket.
>>
>> On Wed, Aug 17, 2016 at 4:56 AM, Daniel Valdivia <hola@danielvaldivia.com
>> > wrote:
>>
>>> Hi,
>>>
>>> I just upgraded my spark and zeppelin together to their respective
>>> latest versions (2.0 and 0.6.1) however my existing notebooks are running
>>> into problem that I'm not sure how to debug, if I manually append the full
>>> namespace this works
>>>
>>>
>>>
>>> for example;
>>>
>>> class Example {
>>> def test() {
>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>> }
>>> }
>>>
>>> yields
>>>
>>> <console>:15: error: not found: type PrintWriter
>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>> ^
>>> <console>:15: error: not found: value write
>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>> ^
>>> <console>:15: error: not found: value close
>>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>>> ^
>>>
>>> This used to work fine on the previous release of zeppeling
>>>
>>> any advice?
>>>
>>> Thanks
>>
>>
>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>
--
Best Regards
Jeff Zhang
Re: PrintWriter not found
Posted by Jeff Zhang <zj...@gmail.com>.
I think this is issue of spark 2.0 or scala 2.11, as I can also reproduce
it in spark-shell of spark 2.0
On Wed, Aug 17, 2016 at 8:59 AM, Jeff Zhang <zj...@gmail.com> wrote:
> I can also reproduce it in master, please file a ticket.
>
> On Wed, Aug 17, 2016 at 4:56 AM, Daniel Valdivia <ho...@danielvaldivia.com>
> wrote:
>
>> Hi,
>>
>> I just upgraded my spark and zeppelin together to their respective latest
>> versions (2.0 and 0.6.1) however my existing notebooks are running into
>> problem that I'm not sure how to debug, if I manually append the full
>> namespace this works
>>
>>
>>
>> for example;
>>
>> class Example {
>> def test() {
>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>> }
>> }
>>
>> yields
>>
>> <console>:15: error: not found: type PrintWriter
>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>> ^
>> <console>:15: error: not found: value write
>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>> ^
>> <console>:15: error: not found: value close
>> new PrintWriter("/tmp/test.lol") { write("test"); close }
>> ^
>>
>> This used to work fine on the previous release of zeppeling
>>
>> any advice?
>>
>> Thanks
>
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>
--
Best Regards
Jeff Zhang
Re: PrintWriter not found
Posted by Jeff Zhang <zj...@gmail.com>.
I can also reproduce it in master, please file a ticket.
On Wed, Aug 17, 2016 at 4:56 AM, Daniel Valdivia <ho...@danielvaldivia.com>
wrote:
> Hi,
>
> I just upgraded my spark and zeppelin together to their respective latest
> versions (2.0 and 0.6.1) however my existing notebooks are running into
> problem that I'm not sure how to debug, if I manually append the full
> namespace this works
>
>
>
> for example;
>
> class Example {
> def test() {
> new PrintWriter("/tmp/test.lol") { write("test"); close }
> }
> }
>
> yields
>
> <console>:15: error: not found: type PrintWriter
> new PrintWriter("/tmp/test.lol") { write("test"); close }
> ^
> <console>:15: error: not found: value write
> new PrintWriter("/tmp/test.lol") { write("test"); close }
> ^
> <console>:15: error: not found: value close
> new PrintWriter("/tmp/test.lol") { write("test"); close }
> ^
>
> This used to work fine on the previous release of zeppeling
>
> any advice?
>
> Thanks
--
Best Regards
Jeff Zhang