You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Holger Hoffstätte (JIRA)" <ji...@apache.org> on 2012/06/15 13:51:42 UTC

[jira] [Created] (CASSANDRA-4344) Windows tools don't work and litter the environment

Holger Hoffstätte created CASSANDRA-4344:
--------------------------------------------

             Summary: Windows tools don't work and litter the environment
                 Key: CASSANDRA-4344
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4344
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.1.1
         Environment: any Windows, any JDK
            Reporter: Holger Hoffstätte


On Windows the tools either don't work at all (cassandra-stress) and litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CASSANDRA-4344) Windows tools don't work and litter the environment

Posted by "Holger Hoffstätte (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Holger Hoffstätte updated CASSANDRA-4344:
-----------------------------------------

    Attachment: stress.patch
                sstablemeta.patch

Trivial fixes for tools to consistently find the right classes and not litter the environment.
                
> Windows tools don't work and litter the environment
> ---------------------------------------------------
>
>                 Key: CASSANDRA-4344
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4344
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.1
>         Environment: any Windows, any JDK
>            Reporter: Holger Hoffstätte
>         Attachments: sstablemeta.patch, stress.patch
>
>
> On Windows the tools either don't work at all (cassandra-stress) and/or litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CASSANDRA-4344) Windows tools don't work and litter the environment

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296150#comment-13296150 ] 

Jonathan Ellis commented on CASSANDRA-4344:
-------------------------------------------

Does stress work for you with these changes?  I still get "Could not find the main class: org.apache.cassandra.stress.Stress."
                
> Windows tools don't work and litter the environment
> ---------------------------------------------------
>
>                 Key: CASSANDRA-4344
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4344
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.1
>         Environment: any Windows, any JDK
>            Reporter: Holger Hoffstätte
>         Attachments: sstablemeta.patch, stress.patch
>
>
> On Windows the tools either don't work at all (cassandra-stress) and/or litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (CASSANDRA-4344) Windows tools don't work and litter the environment

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-4344.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.2
         Reviewer: jbellis
         Assignee: Holger Hoffstätte

Ah, I see, this works if you have the tarball extracted with stress.jar in tools/lib ...  Added the build/ directories so it will work from a dev environment as well, and committed.
                
> Windows tools don't work and litter the environment
> ---------------------------------------------------
>
>                 Key: CASSANDRA-4344
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4344
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.1
>         Environment: any Windows, any JDK
>            Reporter: Holger Hoffstätte
>            Assignee: Holger Hoffstätte
>             Fix For: 1.1.2
>
>         Attachments: sstablemeta.patch, stress.patch
>
>
> On Windows the tools either don't work at all (cassandra-stress) and/or litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CASSANDRA-4344) Windows tools don't work and litter the environment

Posted by "Holger Hoffstätte (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296155#comment-13296155 ] 

Holger Hoffstätte commented on CASSANDRA-4344:
----------------------------------------------

Yes, everything runs for me (I just re-tested): start cassandra node on localhost, open second shell in ../tools/bin, run cassandra-stress.bat, it goes to work. I made these changes directly in the unpacked 1.1.1 distro tree. The main problem was that resolving "*.jar" as single string did not work for the stress.jar, so it was never found. The other .bat scripts do the same find-append loop, as well as the setlocal.

                
> Windows tools don't work and litter the environment
> ---------------------------------------------------
>
>                 Key: CASSANDRA-4344
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4344
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.1
>         Environment: any Windows, any JDK
>            Reporter: Holger Hoffstätte
>         Attachments: sstablemeta.patch, stress.patch
>
>
> On Windows the tools either don't work at all (cassandra-stress) and/or litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CASSANDRA-4344) Windows tools don't work and litter the environment

Posted by "Holger Hoffstätte (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Holger Hoffstätte updated CASSANDRA-4344:
-----------------------------------------

    Description: 
On Windows the tools either don't work at all (cassandra-stress) and/or litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.


  was:
On Windows the tools either don't work at all (cassandra-stress) and litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.


    
> Windows tools don't work and litter the environment
> ---------------------------------------------------
>
>                 Key: CASSANDRA-4344
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4344
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.1
>         Environment: any Windows, any JDK
>            Reporter: Holger Hoffstätte
>
> On Windows the tools either don't work at all (cassandra-stress) and/or litter the shell environment (cassandra-stress & sstablemetadata) by repeatedly appending the same information to variables, eventually running out of space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira