cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Loncar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1713) Windows batch files use incorrect paths
Date Tue, 09 Nov 2010 09:12:08 GMT

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

Vladimir Loncar commented on CASSANDRA-1713:
--------------------------------------------

I created the patch with diff, and tested it with patch tool, both from GnuWin32 package.
It works on both 0.6 and 0.7, although on 0.6 there is one line of offset (it still applies
successfully). I also noticed that cassandra.bat in 0.7 sets CASSANDRA_CONF, and i dont see
it being used (conf dir gets on classpath a few lines later, so this seems redundant). I tested
without it, and it appears to work normally. Should i also include that in the patch?

On a related note, what is needed to bring cassandra up to par on windows? I know there are
some JNA enhancements, and now direct IO which are Linux-only, but there are probably more
I am not aware of. Maybe opening a ticket to track these wouldn't be a bad idea?

> Windows batch files use incorrect paths
> ---------------------------------------
>
>                 Key: CASSANDRA-1713
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1713
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Vladimir Loncar
>            Priority: Minor
>         Attachments: windows-batch-fix.patch
>
>
> Windows .bat files (with the exception of cassandra.bat) use %CD% to set CASSANDRA_HOME,
and since that is incorrect, they fail to start with ClassNotFoundException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message