[
https://issues.apache.org/jira/browse/PHOENIX-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey Zhong updated PHOENIX-837:
----------------------------------
Attachment: phoenix-837.patch
Use os.pathsep as class path separator & refactor the code to put utility
function in a common phoenix_utils.py.
> Phoenix python script should use os specific separators
> -------------------------------------------------------
>
> Key: PHOENIX-837
> URL: https://issues.apache.org/jira/browse/PHOENIX-837
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0
> Reporter: Jeffrey Zhong
> Assignee: Jeffrey Zhong
> Attachments: phoenix-837.patch
>
>
> Currently, python scripts have following command-
> java_cmd = "java -cp " + hbase_config_path + ':' + phoenix_jar_path + ':' + \
> hbase_library_path + " org.apache.phoenix.end2end.End2EndTestDriver " + \
> ' '.join(sys.argv[1:])
> ":" as path separator does not work on Windows. Windows uses ";". os.pathsep
> should be used for separators in Phoenix scripts
--
This message was sent by Atlassian JIRA
(v6.2#6252)