Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of PR
Thank you very much, cheelio for working on this #1029
99% of the work on this PR was contributed by cheelio. Due to cheelio's long absence of response and inactivity on this PR, it has been resubmitted in the hope of continuing to drive this matter forward. Based on the original PR, support for pkg suffix has been added, and the version has been updated to 2.0, along with some fixes for 2.0.
The significance of this effort lies in its ability to enhance Knox functionality, particularly in clusters employing Kerberos. Knox's proxy access capabilities provide an intuitive means for users to access the UI interface of Kerberos-enabled clusters.
How was this patch tested?
smoke test and manual test
tested on rocky8
./docker-hadoop.sh -d --create 1 --image bigtop/puppet:trunk-rockylinux-8 --docker-compose-plugin --memory 8g --repo file:///bigtop-home/output --disable-gpg-check --stack knox --smoke-tests knox
tested on debian11
./docker-hadoop.sh -d -dcp -C config_debian-11.yaml -F docker-compose.yml -G -L -k knox -s knox -c 1
tested on ambari deploy
. /etc/profile.d/bigtop.sh;./gradlew knox-clean knox-pkg -PparentDir=/usr/bigtop -PpkgSuffix -PbuildThreads=2C repo
For code changes: