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 <zjf...@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 <zjf...@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 <h...@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