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

Enis Soztutar commented on PHOENIX-1990:
----------------------------------------

LGTM. 

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

Reply via email to