You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by gu...@apache.org on 2023/08/22 08:29:30 UTC

[bigtop] branch openEuler created (now 2590309c7)

This is an automated email from the ASF dual-hosted git repository.

guyuqi pushed a change to branch openEuler
in repository https://gitbox.apache.org/repos/asf/bigtop.git


      at 2590309c7 BIGTOP-3983: Fix the Ranger-2.4 deploying issues (#1163)

This branch includes the following new commits:

     new 2590309c7 BIGTOP-3983: Fix the Ranger-2.4 deploying issues (#1163)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[bigtop] 01/01: BIGTOP-3983: Fix the Ranger-2.4 deploying issues (#1163)

Posted by gu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

guyuqi pushed a commit to branch openEuler
in repository https://gitbox.apache.org/repos/asf/bigtop.git

commit 2590309c7a7730bdea44e7cfa2f4eea636eedd93
Author: Yuqi Gu <gu...@apache.org>
AuthorDate: Tue Aug 22 16:09:26 2023 +0800

    BIGTOP-3983: Fix the Ranger-2.4 deploying issues (#1163)
    
    (cherry picked from commit 2fedf014811d6a050478abe6860bdd88e2ffcf87)
---
 .../src/common/ranger/patch3-RANGER-3206-commit-2.diff      | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/bigtop-packages/src/common/ranger/patch3-RANGER-3206-commit-2.diff b/bigtop-packages/src/common/ranger/patch3-RANGER-3206-commit-2.diff
new file mode 100644
index 000000000..e9e418b2e
--- /dev/null
+++ b/bigtop-packages/src/common/ranger/patch3-RANGER-3206-commit-2.diff
@@ -0,0 +1,13 @@
+diff --git a/security-admin/scripts/db_setup.py b/security-admin/scripts/db_setup.py
+index 10acb5375..24502f4fb 100644
+--- a/security-admin/scripts/db_setup.py
++++ b/security-admin/scripts/db_setup.py
+@@ -149,7 +149,7 @@ def dbversionBasedOnUserName(userName):
+ def set_env_val(command):
+ 	proc = subprocess.Popen(command, stdout = subprocess.PIPE)
+ 	for line in proc.stdout:
+-		(key, _, value) = line.partition("=")
++		(key, _, value) = line.decode('utf8').partition('=')
+ 		os.environ[key] = value.rstrip()
+ 	proc.communicate()
+