Skip to content

Comments

[SPARK-44857][CORE][UI] Fix getBaseURI error in Spark Worker LogPage UI buttons#42546

Closed
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-44857
Closed

[SPARK-44857][CORE][UI] Fix getBaseURI error in Spark Worker LogPage UI buttons#42546
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-44857

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 17, 2023

What changes were proposed in this pull request?

This PR aims to fix getBaseURI errors when we clicks Spark Worker LogPage UI buttons in Apache Spark 3.2.0+.

Why are the changes needed?

Run a Spark job and open the Spark Worker UI, http://localhost:8081 .

$ sbin/start-master.sh
$ sbin/start-worker.sh spark://127.0.0.1:7077
$ bin/spark-shell --master spark://127.0.0.1:7077

Click stderr and Load New button. The button is out of order currently due to the following error because getBaseURI is defined in utils.js.

Screenshot 2023-08-17 at 2 38 45 PM

Does this PR introduce any user-facing change?

This will make the buttons work.

How was this patch tested?

Manual.

@dongjoon-hyun
Copy link
Member Author

Could you review this UI fix, please, @viirya ?

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya !

@dongjoon-hyun
Copy link
Member Author

The UT failures are irrelevant and will be handled via #42543.

dongjoon-hyun added a commit that referenced this pull request Aug 18, 2023
…e UI buttons

### What changes were proposed in this pull request?

This PR aims to fix `getBaseURI` errors when we clicks Spark Worker LogPage UI buttons in Apache Spark 3.2.0+.

### Why are the changes needed?

Run a Spark job and open the Spark Worker UI, http://localhost:8081 .
```
$ sbin/start-master.sh
$ sbin/start-worker.sh spark://127.0.0.1:7077
$ bin/spark-shell --master spark://127.0.0.1:7077
```

Click `stderr` and `Load New` button. The button is out of order currently due to the following error because `getBaseURI` is defined in `utils.js`.

![Screenshot 2023-08-17 at 2 38 45 PM](https://github.com/apache/spark/assets/9700541/c2358ae3-46d2-43fe-9cc1-ce343725ce4c)

### Does this PR introduce _any_ user-facing change?

This will make the buttons work.

### How was this patch tested?

Manual.

Closes #42546 from dongjoon-hyun/SPARK-44857.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit f807bd2)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
dongjoon-hyun added a commit that referenced this pull request Aug 18, 2023
…e UI buttons

### What changes were proposed in this pull request?

This PR aims to fix `getBaseURI` errors when we clicks Spark Worker LogPage UI buttons in Apache Spark 3.2.0+.

### Why are the changes needed?

Run a Spark job and open the Spark Worker UI, http://localhost:8081 .
```
$ sbin/start-master.sh
$ sbin/start-worker.sh spark://127.0.0.1:7077
$ bin/spark-shell --master spark://127.0.0.1:7077
```

Click `stderr` and `Load New` button. The button is out of order currently due to the following error because `getBaseURI` is defined in `utils.js`.

![Screenshot 2023-08-17 at 2 38 45 PM](https://github.com/apache/spark/assets/9700541/c2358ae3-46d2-43fe-9cc1-ce343725ce4c)

### Does this PR introduce _any_ user-facing change?

This will make the buttons work.

### How was this patch tested?

Manual.

Closes #42546 from dongjoon-hyun/SPARK-44857.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit f807bd2)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
dongjoon-hyun added a commit that referenced this pull request Aug 18, 2023
…e UI buttons

### What changes were proposed in this pull request?

This PR aims to fix `getBaseURI` errors when we clicks Spark Worker LogPage UI buttons in Apache Spark 3.2.0+.

### Why are the changes needed?

Run a Spark job and open the Spark Worker UI, http://localhost:8081 .
```
$ sbin/start-master.sh
$ sbin/start-worker.sh spark://127.0.0.1:7077
$ bin/spark-shell --master spark://127.0.0.1:7077
```

Click `stderr` and `Load New` button. The button is out of order currently due to the following error because `getBaseURI` is defined in `utils.js`.

![Screenshot 2023-08-17 at 2 38 45 PM](https://github.com/apache/spark/assets/9700541/c2358ae3-46d2-43fe-9cc1-ce343725ce4c)

### Does this PR introduce _any_ user-facing change?

This will make the buttons work.

### How was this patch tested?

Manual.

Closes #42546 from dongjoon-hyun/SPARK-44857.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit f807bd2)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@dongjoon-hyun
Copy link
Member Author

Merged to master/3.5/3.4/3.3.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-44857 branch August 18, 2023 01:09
valentinp17 pushed a commit to valentinp17/spark that referenced this pull request Aug 24, 2023
…e UI buttons

### What changes were proposed in this pull request?

This PR aims to fix `getBaseURI` errors when we clicks Spark Worker LogPage UI buttons in Apache Spark 3.2.0+.

### Why are the changes needed?

Run a Spark job and open the Spark Worker UI, http://localhost:8081 .
```
$ sbin/start-master.sh
$ sbin/start-worker.sh spark://127.0.0.1:7077
$ bin/spark-shell --master spark://127.0.0.1:7077
```

Click `stderr` and `Load New` button. The button is out of order currently due to the following error because `getBaseURI` is defined in `utils.js`.

![Screenshot 2023-08-17 at 2 38 45 PM](https://github.com/apache/spark/assets/9700541/c2358ae3-46d2-43fe-9cc1-ce343725ce4c)

### Does this PR introduce _any_ user-facing change?

This will make the buttons work.

### How was this patch tested?

Manual.

Closes apache#42546 from dongjoon-hyun/SPARK-44857.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
viirya pushed a commit to viirya/spark-1 that referenced this pull request Oct 19, 2023
…e UI buttons

### What changes were proposed in this pull request?

This PR aims to fix `getBaseURI` errors when we clicks Spark Worker LogPage UI buttons in Apache Spark 3.2.0+.

### Why are the changes needed?

Run a Spark job and open the Spark Worker UI, http://localhost:8081 .
```
$ sbin/start-master.sh
$ sbin/start-worker.sh spark://127.0.0.1:7077
$ bin/spark-shell --master spark://127.0.0.1:7077
```

Click `stderr` and `Load New` button. The button is out of order currently due to the following error because `getBaseURI` is defined in `utils.js`.

![Screenshot 2023-08-17 at 2 38 45 PM](https://github.com/apache/spark/assets/9700541/c2358ae3-46d2-43fe-9cc1-ce343725ce4c)

### Does this PR introduce _any_ user-facing change?

This will make the buttons work.

### How was this patch tested?

Manual.

Closes apache#42546 from dongjoon-hyun/SPARK-44857.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit f807bd2)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit a5e9175)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants