Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 28 commits into from

Conversation

guoxiaolongzte
Copy link

@guoxiaolongzte guoxiaolongzte commented May 11, 2017

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
Copy link
Author

guoxiaolongzte commented May 11, 2017

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

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@HyukjinKwon
Copy link
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
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
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.

Copy link
Member

@ajbozarth ajbozarth left a comment

Choose a reason for hiding this comment

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

LGTM

@guoxiaolongzte
Copy link
Author

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

@srowen
Copy link
Member

srowen commented May 12, 2017

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

@ajbozarth
Copy link
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
Copy link
Member

srowen commented May 15, 2017

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.
liyichao pushed a commit to liyichao/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