You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/10/30 05:22:26 UTC
[phoenix] 06/06: PHOENIX-6577 phoenix_sandbox.py incompatible with
python3
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git
commit 27757fb8ed4d5c7586ead2b5d0399b5b64050063
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Oct 21 08:25:52 2021 +0200
PHOENIX-6577 phoenix_sandbox.py incompatible with python3
---
bin/phoenix_sandbox.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/phoenix_sandbox.py b/bin/phoenix_sandbox.py
index e18c686..5a1a78d 100755
--- a/bin/phoenix_sandbox.py
+++ b/bin/phoenix_sandbox.py
@@ -41,7 +41,7 @@ if not os.path.exists(cp_file_path):
logging_config = os.path.join(base_dir, 'bin', 'sandbox-log4j.properties')
cp_components = [phoenix_target_dir + "/*"]
-with open(cp_file_path, 'rb') as cp_file:
+with open(cp_file_path, 'r') as cp_file:
cp_components.append(cp_file.read())
java_cmd = ("java $PHOENIX_OPTS -Dlog4j.configuration=file:%s " +