Jared Rand created ZEPPELIN-3592:
------------------------------------

             Summary: Output lines containing \r don't display
                 Key: ZEPPELIN-3592
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3592
             Project: Zeppelin
          Issue Type: Bug
          Components: front-end
    Affects Versions: 0.8.0
         Environment: Windows 10
            Reporter: Jared Rand
         Attachments: image-2018-07-08-20-08-14-832.png

The cell below doesn't not display lines that contain the "\r" character in the 
notebook json (json copied below). Since error messages always have "\r," this 
bug makes for a very poor user experience for Windows users. Error messages 
have to be read in the command line terminal separate from the UI.

!image-2018-07-08-20-08-14-832.png!

 

      "results": {
        "code": "ERROR",
        "msg": [
          {
            "type": "TEXT",
            "data": "testvar: org.apache.spark.rdd.RDD[Int] \u003d 
ParallelCollectionRDD[0] at parallelize at \u003cconsole\u003e:25\nres4: 
Array[Int] \u003d Array(1, 2, 3, 4, 5, 6, 7, 8)\nres5: Int \u003d 
8\n8\r\n9res8: Int \u003d 10\n\u003cconsole\u003e:24: error: not found: value 
fghfgh\r\n       fghfgh\r\n       ^\n"
          }
        ]
      },



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to