I can also reproduce it in master, please file a ticket.
On Wed, Aug 17, 2016 at 4:56 AM, Daniel Valdivia <[email protected]>
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