You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/06/01 20:53:17 UTC
[jira] [Reopened] (PHOENIX-1990) bin/queryserver makeWinServiceDesc
doesn't actually work in Windows
[ https://issues.apache.org/jira/browse/PHOENIX-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Dimiduk reopened PHOENIX-1990:
-----------------------------------
Reopening to apply to 4.4 branches.
> bin/queryserver makeWinServiceDesc doesn't actually work in Windows
> -------------------------------------------------------------------
>
> Key: PHOENIX-1990
> URL: https://issues.apache.org/jira/browse/PHOENIX-1990
> Project: Phoenix
> Issue Type: Bug
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Fix For: 5.0.0, 4.5.0
>
> Attachments: win.patch
>
>
> This approach requires parsing {{hbase-env.cmd}}, which my previous patch didn't do at all.
> {noformat}
> C:\Users\ndimiduk>c:\phoenix\bin\queryserver.py makeWinServiceDesc
> Traceback (most recent call last):
> File "C:\phoenix\bin\queryserver.py", line 85, in <module>
> p = subprocess.Popen(['bash', '-c', 'source %s && env' % hbase_env_path], stdout = subprocess.PIPE)
> File "C:\Python27\lib\subprocess.py", line 679, in __init__
> errread, errwrite)
> File "C:\Python27\lib\subprocess.py", line 896, in _execute_child
> startupinfo)
> WindowsError: [Error 2] The system cannot find the file specified
> {noformat}
> hat-tip to [~hhuang2014] for finding this one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)