Hi,

Thanks for finding problem and solution.

If you can make a pullrequest, that would be really great.

Let me know if you have any question on making pullrequest!

Best,
moon


On Tue, Apr 12, 2016 at 9:55 AM TITTMANN, Lucas (Allianz en France) <
lucas.titt...@allianz.fr> wrote:

> Thank you for this information. I think I found the part where to change
> it:
>
>
>
> incubator-zeppelin/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NoteInterpreterLoaderTest.java
> : 114
>
> Something like this should be added:
>
> replName = replName.replaceAll("(\\r)", "");
>
>
>
>
> https://github.com/apache/incubator-zeppelin/blob/140adb8d3939aef850b646bbecbc7b63e0b99f94/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteInterpreterLoader.java
>
>
>
> I have never proposed a pull-request in Java; I'll see if I can figure it
> out.
>
>
>
> *From:* Joel Van Veluwen [mailto:joel.vanvelu...@quantium.com.au]
> *Sent:* lundi 11 avril 2016 09:36
> *To:* users@zeppelin.incubator.apache.org; us...@zeppelin.apache.org
> *Subject:* RE: Line feed ( \r ) behind %pyspark command causes
> interpreter not found
>
>
>
> I’ve raised this issue here.
>
>
>
> I don’t have the time or talent to fix the issue...
>
>
>
> https://issues.apache.org/jira/browse/ZEPPELIN-577
>
>
>
> Joel Van Veluwen
> *QUANTIUM*
> Level 25, 8 Chifley
> 8-12 Chifley Square
> Sydney NSW 2000
>
> T: +61 2 8224 8981
> M: +61 403 153 265
> F: +61 2 9292 6444
>
> W: quantium.com.au <http://www.quantium.com.au>
> ------------------------------
>
> linkedin.com/company/quantium <http://www.linkedin.com/company/quantium>
> facebook.com/QuantiumAustralia <http://www.facebook.com/QuantiumAustralia>
> twitter.com/QuantiumAU <http://www.twitter.com/QuantiumAU>
>
> The contents of this email, including attachments, may be confidential
> information. If you are not the intended recipient, any use, disclosure or
> copying of the information is unauthorised. If you have received this email
> in error, we would be grateful if you would notify us immediately by email
> reply, phone (+ 61 2 9292 6400) or fax (+ 61 2 9292 6444) and delete the
> message from your system.
>
>
>
> *From:* TITTMANN, Lucas (Allianz en France) [
> mailto:lucas.titt...@allianz.fr <lucas.titt...@allianz.fr>]
> *Sent:* Monday, 11 April 2016 5:34 PM
> *To:* us...@zeppelin.apache.org
> *Subject:* Line feed ( \r ) behind %pyspark command causes interpreter
> not found
>
>
>
> Hi,
>
> I have the following problem:
>
> I develop code in PyCharm and copy + paste to Zeppelin nodes. I'm on
> Windows 7, so pasting automatically results in line breaks being "\r\n"
> instead of simply "\n". However, this results in "Error" - sometimes
> without error message, sometimes with "pyspark interpreter not found". Is
> this a known issue ? Would it be possible to accept "%pyspark\r\n" as
> PySpark interpreter?
>
> Setup:
>
> Zeppelin ( 025acd3641cab7c3f848a98f91f8b3f1d31cfcf7 ) using %pyspark and
> JetBrains PyCharm 5 Community Edition on Windows 7
>
> What I tried:
>
> Changing encoding of the underlying file in PyCharm, but it didn't help
> (see
> https://stackoverflow.com/questions/36477659/copypasting-from-pycharm-in-windows-adds-line-feed-r
> ).
>
> Thanks for any suggestion,
>
> Lucas
>
> P.S.:
>
> I wanted to say thanks for the great work (particularly that my issue with
> the Zeppelin shortcuts was closed so fast that I didn't have time to say
> thanks).
>

Reply via email to