Skip to content

HBASE-29036 Backport missing UI patches to branch-2.6 - #6550

Merged
NihalJain merged 5 commits into
apache:branch-2.6from
PDavid:HBASE-29036-UI-missing-patches-branch-2.6
Jan 8, 2025
Merged

HBASE-29036 Backport missing UI patches to branch-2.6#6550
NihalJain merged 5 commits into
apache:branch-2.6from
PDavid:HBASE-29036-UI-missing-patches-branch-2.6

Conversation

@PDavid

Copy link
Copy Markdown
Contributor

Cherry-picked the following patches which were missing on branch-2.6 branch. Most of these applied as a clean cherry-pick (without conflicts). Unfortunately there were some which had conflicts and I manually resolved them.
Each commit message contains from which commit it was cherry-picked from.

bea0113and others added 5 commits December 18, 2024 08:27
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
(cherry picked from commit 82e155e)
…he#5732)
- Fixes the way logLevel page renders in UI
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit ede4ccd)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
(cherry picked from commit 9ad16aa)
…empty start key/end key (apache#2955)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
(cherry picked from commit 157200e)
…procedure.jsp while Master is initializing (apache#6152)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 3caaf2d)
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec1m 0sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ branch-2.6 Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall4m 26sbranch-2.6 passed
+1 💚spotless1m 3sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 21sMaven dependency ordering for patch
+1 💚mvninstall3m 56sthe patch passed
+1 💚blanks0m 1sThe patch has no blanks issues.
+1 💚spotless0m 46spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 21sThe patch does not generate ASF License warnings.
13m 36s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6550
Optional Testsdupname asflicense javac codespell detsecrets spotless
unameLinux 903841654ef0 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 59d05d6
Default JavaEclipse Adoptium-11.0.23+9
Max. process+thread count79 (vs. ulimit of 30000)
modulesC: hbase-server hbase-thrift U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 47sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.6 Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for branch
+1 💚mvninstall2m 42sbranch-2.6 passed
+1 💚javadoc0m 45sbranch-2.6 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 46sthe patch passed
+1 💚javadoc0m 44sthe patch passed
_ Other Tests _
-1 ❌unit182m 31s/patch-unit-hbase-server.txthbase-server in the patch failed.
+1 💚unit8m 5shbase-thrift in the patch passed.
202m 59s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6550
Optional Testsjavac javadoc unit
unameLinux d5ec75c3e92b 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 59d05d6
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/testReport/
Max. process+thread count4288 (vs. ulimit of 30000)
modulesC: hbase-server hbase-thrift U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 44sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.6 Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for branch
+1 💚mvninstall2m 13sbranch-2.6 passed
+1 💚javadoc0m 47sbranch-2.6 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall2m 7sthe patch passed
+1 💚javadoc0m 45sthe patch passed
_ Other Tests _
+1 💚unit188m 19shbase-server in the patch passed.
+1 💚unit7m 44shbase-thrift in the patch passed.
207m 35s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#6550
Optional Testsjavac javadoc unit
unameLinux cce46f069979 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 59d05d6
Default JavaTemurin-1.8.0_412-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/testReport/
Max. process+thread count4418 (vs. ulimit of 30000)
modulesC: hbase-server hbase-thrift U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 41sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2.6 Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall3m 25sbranch-2.6 passed
+1 💚javadoc0m 44sbranch-2.6 passed
_ Patch Compile Tests _
+0 🆗mvndep0m 17sMaven dependency ordering for patch
+1 💚mvninstall3m 5sthe patch passed
+1 💚javadoc0m 41sthe patch passed
_ Other Tests _
-1 ❌unit192m 26s/patch-unit-hbase-server.txthbase-server in the patch failed.
+1 💚unit7m 18shbase-thrift in the patch passed.
213m 18s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#6550
Optional Testsjavac javadoc unit
unameLinux 5fe0462c0e77 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2.6 / 59d05d6
Default JavaEclipse Adoptium-11.0.23+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/testReport/
Max. process+thread count4079 (vs. ulimit of 30000)
modulesC: hbase-server hbase-thrift U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6550/1/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@NihalJain

Copy link
Copy Markdown
Contributor

Hi @PDavid please let me know once this PR is ready for review

@PDavid
PDavid marked this pull request as ready for review December 19, 2024 08:39
@PDavid

Copy link
Copy Markdown
ContributorAuthor

Hi @NihalJain,
Many thanks, I think this is now ready to review. Some tests failed in the PR build but I think they are not related.

@NihalJainNihalJain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR is 1st 2 commits (new) + rest commits same as #6551.

Changes LGTM, let me spin off a single node and do basic sanity of the web UI.

@NihalJain

NihalJain commented Dec 24, 2024

Copy link
Copy Markdown
Contributor

Results of local testings:

  • Thrift UI: LGTM
  • Rest UI: Broken, needs to fix, unable to load static resources
Screenshot 2024-12-24 at 12 42 04 PM
  • Master UI: LGTM, there a issue with navbar but should be fine as we will anyways bump bootstrap here

@NihalJainNihalJain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Rest ui needs a fix

@Apache9

Copy link
Copy Markdown
Contributor

Results of local testings:

  • Thrift UI: LGTM
  • Rest UI: Broken, needs to fix, unable to load static resources
Screenshot 2024-12-24 at 12 42 04 PM * Master UI: LGTM, there a issue with navbar but should be fine as we will anyways bump bootstrap here

Oh, I haven't checked the rest ui while testing the branch-2 patch... Maybe we have the same problem for branch-2...

@PDavid

Copy link
Copy Markdown
ContributorAuthor

Many thanks @NihalJain for testing this. 👍
Yes, you are right that the REST UI is broken (static resources are not loaded). For this I already created another Jira some time ago: https://issues.apache.org/jira/browse/HBASE-28983

Would you like if I fix this under this Jira and PR or would you prefer having the fix under the separate Jira. Both are OK for me.

@PDavid

Copy link
Copy Markdown
ContributorAuthor

I found one possible fix for the REST UI is broken (static resources are not loaded) issue: copy the static resources folder under hbase-rest/src/main/resources/hbase-webapps.

I'd prefer to fix it after the Bootstrap upgrade is merged as otherwise it has to be copied again with the new CSS, JS files.

@NihalJain

NihalJain commented Jan 6, 2025

Copy link
Copy Markdown
Contributor

I found one possible fix for the REST UI is broken (static resources are not loaded) issue: copy the static resources folder under hbase-rest/src/main/resources/hbase-webapps.

I'd prefer to fix it after the Bootstrap upgrade is merged as otherwise it has to be copied again with the new CSS, JS files.

Sure sounds good.

@PDavid
PDavid requested a review from NihalJainJanuary 6, 2025 11:04
@NihalJain

Copy link
Copy Markdown
Contributor

@PDavid We are good to merge this right? Should I go ahead now?

@PDavid

Copy link
Copy Markdown
ContributorAuthor

@NihalJain I think this should be finished but let me do another round of testing just to make sure.

Will comment again when done.

@PDavid
PDavid marked this pull request as draft January 6, 2025 13:56
@NihalJain

NihalJain commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

Dropped a mail on dev thread to decide on whether we want to take this and other related changes in before the upcoming release. https://lists.apache.org/thread/1srh98tymv79zdh7fwkljddd6bd0rntt

FYI @PDavid

CC: #6526

@PDavid

Copy link
Copy Markdown
ContributorAuthor

@NihalJain I think this should be finished but let me do another round of testing just to make sure.

Will comment again when done.

@NihalJain OK, I tested this, looks good to me. Of course let's wait the dev discussion if we need this in the release.

@PDavid
PDavid marked this pull request as ready for review January 7, 2025 16:11
@NihalJain

Copy link
Copy Markdown
Contributor

We already have a go ahead for this; thanks to @Apache9 and @apurtell on mail thread.
Hi, @PDavid Please let me know if this is good to merge today!

@NihalJain

Copy link
Copy Markdown
Contributor

We already have a go ahead for this; thanks to @Apache9 and @apurtell on mail thread. Hi, @PDavid Please let me know if this is good to merge today!

@PDavid We are good here as well right? I will merge this first and then #6542 now

@PDavid

Copy link
Copy Markdown
ContributorAuthor

We already have a go ahead for this; thanks to @Apache9 and @apurtell on mail thread. Hi, @PDavid Please let me know if this is good to merge today!

@PDavid We are good here as well right? I will merge this first and then #6542 now

@NihalJain yes, many thanks, I think this is ready to be merged.

@NihalJain
NihalJain merged commit a5367b8 into apache:branch-2.6Jan 8, 2025
@PDavid
PDavid deleted the HBASE-29036-UI-missing-patches-branch-2.6 branch January 8, 2025 12:24
Sign up for freeto 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.

9 participants

@PDavid@Apache-HBase@NihalJain@Apache9@apurtell@bea0113@songxincun@AkshayTSudheer@guluo2016