[ 
https://issues.apache.org/jira/browse/SPARK-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Or closed SPARK-8739.
----------------------------
          Resolution: Fixed
            Assignee: Kousuke Saruta
       Fix Version/s: 1.4.2
                      1.5.0
    Target Version/s: 1.5.0, 1.4.2

> Illegal character `\r` can be contained in StagePage.
> -----------------------------------------------------
>
>                 Key: SPARK-8739
>                 URL: https://issues.apache.org/jira/browse/SPARK-8739
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI, Windows
>    Affects Versions: 1.5.0
>         Environment: Windows
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>             Fix For: 1.5.0, 1.4.2
>
>
> There is a following code in StagePage.scala.
> {code}
>                    |width="$serializationTimeProportion%"></rect>
>                  |<rect class="getting-result-time-proportion"
>                    |x="$gettingResultTimeProportionPos%" y="0px" height="26px"
>                    |width="$gettingResultTimeProportion%"></rect></svg>',
>                |'start': new Date($launchTime),
>                |'end': new Date($finishTime)
>              |}
>            |""".stripMargin.replaceAll("\n", " ")
> {code}
> The last `replaceAll("\n", "") doesn't work when we checkout and build source 
> code on Windows and deploy on Linux.
> It's because when we checkout the source code on Windows, new-line-code is 
> replaced with "\r\n" and replaceAll("\n", "") replaces only "\n".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to