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:09:32 UTC

[bigtop] branch master updated: BIGTOP-3983: Fix the Ranger-2.4 deploying issues (#1163)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2fedf0148 BIGTOP-3983: Fix the Ranger-2.4 deploying issues (#1163)
2fedf0148 is described below

commit 2fedf014811d6a050478abe6860bdd88e2ffcf87
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)
---
 .../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()
+