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

Joshua McKenzie commented on CASSANDRA-7202:
--------------------------------------------

h4. 2.0.8:
* command-prompt works
* cygwin works

h4. trunk - powershell Unrestricted:
* command-prompt works
* cygwin fails:
{code:title=cygwin error}
$ ./ccm start
Traceback (most recent call last):
  File "./ccm", line 72, in <module>
    cmd.run()
  File "/cygdrive/c/vm-shared/src/ptnapCCM/ccm/ccmlib/cmds/cluster_cmds.py", 
line 423, in run
    if self.cluster.start(no_wait=self.options.no_wait, 
verbose=self.options.verbose, jvm_args=self.options.jvm_args, 
profile_options=profile_options) is None:
  File "/cygdrive/c/vm-shared/src/ptnapCCM/ccm/ccmlib/cluster.py", line 229, in 
start
    p = node.start(update_pid=False, jvm_args=jvm_args, 
profile_options=profile_options)
  File "/cygdrive/c/vm-shared/src/ptnapCCM/ccm/ccmlib/node.py", line 433, in 
start
    self._update_pid(process)
  File "/cygdrive/c/vm-shared/src/ptnapCCM/ccm/ccmlib/node.py", line 1074, in 
_update_pid
    self.pid = int(f.readline().strip().decode('utf-16'))
UnicodeEncodeError: 'decimal' codec can't encode characters in position 0-1: 
invalid decimal Unicode string
{code}

h4. trunk - powershell Restricted:
* command-prompt works
* cygwin fails w/timeout on pid file wait

>From a code perspective, LGTM (and clearly Sylvain as he already merged it ;)) 
> We still need to integrate the new stop-server.bat functionality to get 
>ctrl+c graceful shutdown from within ccm.  I'll see about getting a PR to 
>sylvain w/cygwin cleaned up and the stop-server integration outside this 
>ticket.

> Update ccm for windows launch script changes from #7001
> -------------------------------------------------------
>
>                 Key: CASSANDRA-7202
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7202
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Philip Thompson
>            Assignee: Philip Thompson
>              Labels: Windows
>
> The new .bat launch script changes will require changes to ccm and dtests so 
> we can get windows dtests running on cassci.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to