You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/03/11 22:49:44 UTC

[jira] [Commented] (PHOENIX-837) Phoenix python script should use os specific separators

    [ https://issues.apache.org/jira/browse/PHOENIX-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931000#comment-13931000 ] 

James Taylor commented on PHOENIX-837:
--------------------------------------

+1

> 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)