Cristian created ZEPPELIN-4145: ---------------------------------- Summary: Shell interpreter can't render output that uses \r\n line separators Key: ZEPPELIN-4145 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4145 Project: Zeppelin Issue Type: Bug Components: Interpreters Affects Versions: 0.8.1 Reporter: Cristian Attachments: Screen Shot 2019-05-03 at 11.02.03 PM.png
Basically, if the command you run has output separated with \r\n which is not uncommon, the UI will somehow miss it or print rubish. To test, create a simple script like this: {code:java} #!/bin/bash echo -e "hey\r\n" echo good? {code} Running this in Zeppelin using `%sh /path/script` will render: {code:java} good? {code} i.e. the hey part is not printed somehow. If you run this instead it works: {code:java} %sh /path/script | tr '\r' ' ' {code} !Screen Shot 2019-05-03 at 11.02.03 PM.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005)