Skip to content

[SPARK-20705][WEB-UI]The sort function can not be used in the master page when you use Firefox or Google Chrome.#17952

Closed
guoxiaolongzte wants to merge 28 commits into
apache:masterfrom
guoxiaolongzte:SPARK-20705
Closed

[SPARK-20705][WEB-UI]The sort function can not be used in the master page when you use Firefox or Google Chrome.#17952
guoxiaolongzte wants to merge 28 commits into
apache:masterfrom
guoxiaolongzte:SPARK-20705

Conversation

@guoxiaolongzte

@guoxiaolongzte guoxiaolongzte commented May 11, 2017

Copy link
Copy Markdown

What changes were proposed in this pull request?

When you open the master page, when you use Firefox or Google Chrom, the console of Firefox or Google Chrome is wrong. But The IE is no problem.
e.g.
error

My Firefox version is 48.0.2.
My Google Chrome version is 49.0.2623.75 m.

How was this patch tested?

manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

郭小龙 10207633 added 26 commits March 31, 2017 21:57
@guoxiaolongzte

guoxiaolongzte commented May 11, 2017

Copy link
Copy Markdown
Author

@srowen @HyukjinKwon @ajbozarth
Help to review the code, thanks.

@AmplabJenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

@HyukjinKwon

Copy link
Copy Markdown
Member

I am not used to UI code path but just while I am here I think this PR should explain why it happens and how the current change fixes it. I am willing to help reproduce this.

@HyukjinKwon

Copy link
Copy Markdown
Member

Also, not really a big deal but probably, it would be nicer if this branch SPARK-20705 is rebased and synced to the master so that it only has few (or single) commits. It looks a bit messy.

@ajbozarth

Copy link
Copy Markdown
Member

This seems to have been fixed in a later version of sorttable.js (stuartlangridge/sorttable#9). If you could use that implementation instead I'd prefer the simpler change.

@ajbozarth ajbozarth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guoxiaolongzte

Copy link
Copy Markdown
Author

Obviously you said it was right. I have modified as requested. I have been manually tested, it is ok.

@srowen

srowen commented May 12, 2017

Copy link
Copy Markdown
Member

Should we just update to a later version of sorttable.js entirely?

@ajbozarth

Copy link
Copy Markdown
Member

@srowen when I looked at Spark's copy of sorttable.js we have already edited a couple lines, so if we updated we would have to address that. Without another reason I'd say just adding this is probably ok for now.

asfgit pushed a commit that referenced this pull request May 15, 2017
… page when you use Firefox or Google Chrome.

## What changes were proposed in this pull request?
When you open the master page, when you use Firefox or Google Chrom, the console of Firefox or Google Chrome is wrong. But The IE  is no problem.
e.g.
![error](https://cloud.githubusercontent.com/assets/26266482/25946143/74467a5c-367c-11e7-8f9f-d3585b1aea88.png)

My Firefox version is 48.0.2.
My Google Chrome version  is 49.0.2623.75 m.

## How was this patch tested?

manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: guoxiaolong <guo.xiaolong1@zte.com.cn>
Author: 郭小龙 10207633 <guo.xiaolong1@zte.com.cn>
Author: guoxiaolongzte <guo.xiaolong1@zte.com.cn>

Closes #17952 from guoxiaolongzte/SPARK-20705.

(cherry picked from commit 99d5799)
Signed-off-by: Sean Owen <sowen@cloudera.com>
asfgit pushed a commit that referenced this pull request May 15, 2017
… page when you use Firefox or Google Chrome.

## What changes were proposed in this pull request?
When you open the master page, when you use Firefox or Google Chrom, the console of Firefox or Google Chrome is wrong. But The IE  is no problem.
e.g.
![error](https://cloud.githubusercontent.com/assets/26266482/25946143/74467a5c-367c-11e7-8f9f-d3585b1aea88.png)

My Firefox version is 48.0.2.
My Google Chrome version  is 49.0.2623.75 m.

## How was this patch tested?

manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: guoxiaolong <guo.xiaolong1@zte.com.cn>
Author: 郭小龙 10207633 <guo.xiaolong1@zte.com.cn>
Author: guoxiaolongzte <guo.xiaolong1@zte.com.cn>

Closes #17952 from guoxiaolongzte/SPARK-20705.

(cherry picked from commit 99d5799)
Signed-off-by: Sean Owen <sowen@cloudera.com>
@srowen

srowen commented May 15, 2017

Copy link
Copy Markdown
Member

Merged to master/2.2/2.1

@asfgit asfgit closed this in 99d5799 May 15, 2017
robert3005 pushed a commit to palantir/spark that referenced this pull request May 19, 2017
… page when you use Firefox or Google Chrome.

## What changes were proposed in this pull request?
When you open the master page, when you use Firefox or Google Chrom, the console of Firefox or Google Chrome is wrong. But The IE  is no problem.
e.g.
![error](https://cloud.githubusercontent.com/assets/26266482/25946143/74467a5c-367c-11e7-8f9f-d3585b1aea88.png)

My Firefox version is 48.0.2.
My Google Chrome version  is 49.0.2623.75 m.

## How was this patch tested?

manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: guoxiaolong <guo.xiaolong1@zte.com.cn>
Author: 郭小龙 10207633 <guo.xiaolong1@zte.com.cn>
Author: guoxiaolongzte <guo.xiaolong1@zte.com.cn>

Closes apache#17952 from guoxiaolongzte/SPARK-20705.
lycplus pushed a commit to lycplus/spark that referenced this pull request May 24, 2017
… page when you use Firefox or Google Chrome.

## What changes were proposed in this pull request?
When you open the master page, when you use Firefox or Google Chrom, the console of Firefox or Google Chrome is wrong. But The IE  is no problem.
e.g.
![error](https://cloud.githubusercontent.com/assets/26266482/25946143/74467a5c-367c-11e7-8f9f-d3585b1aea88.png)

My Firefox version is 48.0.2.
My Google Chrome version  is 49.0.2623.75 m.

## How was this patch tested?

manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: guoxiaolong <guo.xiaolong1@zte.com.cn>
Author: 郭小龙 10207633 <guo.xiaolong1@zte.com.cn>
Author: guoxiaolongzte <guo.xiaolong1@zte.com.cn>

Closes apache#17952 from guoxiaolongzte/SPARK-20705.
@guoxiaolongzte guoxiaolongzte deleted the SPARK-20705 branch June 12, 2017 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants