You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "sunjian (JIRA)" <ji...@apache.org> on 2012/08/06 05:30:02 UTC

[jira] [Created] (CASSANDRA-4494) nodetool can't work at all !

sunjian created CASSANDRA-4494:
----------------------------------

             Summary: nodetool can't work at all !
                 Key: CASSANDRA-4494
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.1.3
         Environment: centos 64bit
            Reporter: sunjian
            Priority: Critical
             Fix For: 1.1.3


1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
2. cd to bin , call nodetool as "./nodetool -h localhost ring"
3. console returned : failed to connect to 'localhost:7199' : connection refused


BUT ,

at the same centos , all was ok before (1.1.2) .

--
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-4494) nodetool can't work at all !

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

Jonathan Ellis updated CASSANDRA-4494:
--------------------------------------

    Reviewer: brandon.williams
    
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>         Attachments: 4494-sh-error.patch.txt
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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] [Comment Edited] (CASSANDRA-4494) nodetool can't work at all !

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

Lloyd Oliver edited comment on CASSANDRA-4494 at 8/7/12 6:55 PM:
-----------------------------------------------------------------

*EDIT*

Correction: that doesn't work either.
                
      was (Author: jdilloyd):
    that does indeed work, but its a bit of a ball ache to go through and adjust all of the monitoring scripts and tools that we use with this workaround. Is there any fix planned to correct this and if so when is it likely to be released? 
                  
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

sunjian commented on CASSANDRA-4494:
------------------------------------

there should be some official tips to tell us is it a bug or not ? if a bug , it should be fixed immediately , or show some resolutions officially . 
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

Lloyd Oliver commented on CASSANDRA-4494:
-----------------------------------------

Confirmed.

1.1.2 nodetool works perfectly
1.1.3 nodetool throws back 'connection refused' error

setting the JVM_OPTS hostname in cassandra-env.sh has no effect.

connection via 'localhost', server hostname, or server IP address all return the same result.

connection to remote 1.1.3 host from 1.1.3 host fails.
Connection to remote 1.1.2 host from 1.1.3 host works fine.
Connection from 1.1.2 host to remote 1.1.3 host fails.

restarting the node has no effect.
replacing nodetool with file from previous version (1.1.2) has no effect.



CentOS release 5.8 (Final) x86_64

                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

Jonathan Ellis commented on CASSANDRA-4494:
-------------------------------------------

"bash bin/nodetool" should work.
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

paul cannon updated CASSANDRA-4494:
-----------------------------------

    Attachment: 4494-sh-error.patch.txt

Guess POSIX sh doesn't allow omission of curly braces around a function body of a single command. Dash fails at being a plain posix sh again :(
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>         Attachments: 4494-sh-error.patch.txt
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

Lloyd Oliver commented on CASSANDRA-4494:
-----------------------------------------

that does indeed work, but its a bit of a ball ache to go through and adjust all of the monitoring scripts and tools that we use with this workaround. Is there any fix planned to correct this and if so when is it likely to be released? 
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

Sylvain Lebresne commented on CASSANDRA-4494:
---------------------------------------------

I don't have a centos to test, but I do get the same on macosx (but not on ubuntu for instance). More precisely, the error is:
{noformat}
./bin/../conf/cassandra-env.sh: line 180: syntax error near unexpected token `['
./bin/../conf/cassandra-env.sh: line 180: `startswith () [ "${1#$2}" != "$1" ]'
{noformat}

The reason this breaks JMX is just that the JMX port is not set at that point of the script and the script likely exit on the error. It seems there is some shell incompatibility again.

While we fix that, a workaround could be to edit the cassandra-env.sh to comment the incriminated line.
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

Peter Velas commented on CASSANDRA-4494:
----------------------------------------

Version 1.1.3 don't listen on port 7199 .
Previous version 1.1.2 is OK. 
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

sunjian updated CASSANDRA-4494:
-------------------------------

    Description: 
1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
2. cd to bin , call nodetool as "./nodetool -h localhost ring"
3. console returned : failed to connect to 'localhost:7199' : connection refused


BUT ,

at the same centos , all was ok before (1.1.2) .


PS: 

cassandra-cli/cqlsh works well (1.1.3)

  was:
1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
2. cd to bin , call nodetool as "./nodetool -h localhost ring"
3. console returned : failed to connect to 'localhost:7199' : connection refused


BUT ,

at the same centos , all was ok before (1.1.2) .

    
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)

--
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-4494) nodetool can't work at all !

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

sunjian commented on CASSANDRA-4494:
------------------------------------

why cassandra community release such a version , disappointment  .
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

Peter Velas commented on CASSANDRA-4494:
----------------------------------------

When I try to use cassandra-env.sh from 1.1.2 version and restarted cassandra process then I can use nodetool without problems.
I can now see service sucessfully binded to port 7199.

{code}
[root@cass1 conf]# netstat -tunap | grep 7199
tcp        0      0 0.0.0.0:7199                0.0.0.0:*                   LISTEN      10904/java 
{code}
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

sunjian updated CASSANDRA-4494:
-------------------------------

    Comment: was deleted

(was: why cassandra community release such a version , disappointment  .)
    
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.4
>
>         Attachments: 4494-sh-error.patch.txt
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

sunjian commented on CASSANDRA-4494:
------------------------------------

edit the cassandra-env.sh on line 180 :

original : startswith ()  [ "${1#$2}" != "$1" ] 

change to : startswith () { [ "${1#$2}" != "$1" ] ; }

then restart cassandra , every thing goes OK !
                
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>         Attachments: 4494-sh-error.patch.txt
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

Sylvain Lebresne updated CASSANDRA-4494:
----------------------------------------

    Fix Version/s:     (was: 1.1.3)
                   1.1.4
    
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.4
>
>         Attachments: 4494-sh-error.patch.txt
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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] [Assigned] (CASSANDRA-4494) nodetool can't work at all !

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

Sylvain Lebresne reassigned CASSANDRA-4494:
-------------------------------------------

    Assignee: paul cannon
    
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Assignee: paul cannon
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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-4494) nodetool can't work at all !

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

sunjian updated CASSANDRA-4494:
-------------------------------

    Description: 
1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
2. cd to bin , call nodetool as "./nodetool -h localhost ring"
3. console returned : failed to connect to 'localhost:7199' : connection refused


BUT ,

at the same centos , all was ok before (1.1.2) .


PS: 

cassandra-cli/cqlsh works well (1.1.3)


--------------

update:

even if add the following in cassandra-env.sh , connection refused as well :
JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11


  was:
1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
2. cd to bin , call nodetool as "./nodetool -h localhost ring"
3. console returned : failed to connect to 'localhost:7199' : connection refused


BUT ,

at the same centos , all was ok before (1.1.2) .


PS: 

cassandra-cli/cqlsh works well (1.1.3)

    
> nodetool can't work at all !
> ----------------------------
>
>                 Key: CASSANDRA-4494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4494
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.3
>         Environment: centos 64bit
>            Reporter: sunjian
>            Priority: Critical
>             Fix For: 1.1.3
>
>
> 1. download cassandra 1.1.3 , then start with "{cassandra}/bin/cassandra -pf &"
> 2. cd to bin , call nodetool as "./nodetool -h localhost ring"
> 3. console returned : failed to connect to 'localhost:7199' : connection refused
> BUT ,
> at the same centos , all was ok before (1.1.2) .
> PS: 
> cassandra-cli/cqlsh works well (1.1.3)
> --------------
> update:
> even if add the following in cassandra-env.sh , connection refused as well :
> JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=10.10.30.11

--
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