[
https://issues.apache.org/jira/browse/PHOENIX-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Tse updated PHOENIX-1770:
------------------------------
Description: psql.py should exit with the return code provided by
`subprocess.check_call(java_cmd, shell=True)`. (was: psql.py builds a Java
command, but calls it with `subprocess.call()`, which does not throw an error
or return an error code when a failure occurs.
psql.py should exit with the return code provided by `subprocess.check_call()`.)
> psql.py returns 0 even if an error has occurred
> -----------------------------------------------
>
> Key: PHOENIX-1770
> URL: https://issues.apache.org/jira/browse/PHOENIX-1770
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 4.3
> Reporter: Mark Tse
> Fix For: 4.3.1
>
> Attachments: PHOENIX-1770-psql.patch
>
>
> psql.py should exit with the return code provided by
> `subprocess.check_call(java_cmd, shell=True)`.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)