GitHub user sarutak opened a pull request:
https://github.com/apache/spark/pull/7133
[SPARK-8739][WEB UI][Windows] A illegal character `\r` can be contained in
StagePage.
This issue is reported by @saurfang. Thanks!
There is a following code in StagePage.scala.
```
|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", " ")
```
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".
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sarutak/spark SPARK-8739
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7133.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #7133
----
commit 17fb044f983dc571b083875b98578f1c5ca8df73
Author: Kousuke Saruta <[email protected]>
Date: 2015-06-30T19:28:33Z
Fixed a new-line-code issue
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]