incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Exception on running nodetool in windows
Date Sun, 23 Dec 2012 19:38:40 GMT
The line numbers in the stack trace do not match the code for 1.1.6. 

I would blow away the install and check your java install. 

Cheers

-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 22/12/2012, at 6:59 PM, Vivek Mishra <mishra.vivs@gmail.com> wrote:

> Here it is:
> 
> C:\Users\vivek.mishra\Downloads\training\cassandra\apache-cassandra-1.1.6-bin\apache-cassandra-1.1.6\bin>nodetool
ring -h localhost
> Starting NodeTool
> Address         DC          Rack        Status State   Load            Owns    Token
> Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast
to org.apache.cassandra.dht.Token
>         at org.apache.cassandra.tools.NodeCmd.printRing(NodeCmd.java:178)
>         at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:606)
> 
> On Thu, Dec 20, 2012 at 2:38 AM, aaron morton <aaron@thelastpickle.com> wrote:
>> Classcastexception: can not convert java.lang.String to some another java type( i
don't remember exact java class).
> It's a lot easier to help if you include the full error. 
> 
> 
> Cheers
> 
> -----------------
> Aaron Morton
> Freelance Cassandra Developer
> New Zealand
> 
> @aaronmorton
> http://www.thelastpickle.com
> 
> On 19/12/2012, at 6:52 PM, Vivek Mishra <mishra.vivs@gmail.com> wrote:
> 
>> Hi,
>> I have been trying to run cassandra on windows(1.1.6) and i am getting an exception
while checking my node status.
>> 
>> nodetool ring -h localhost 
>> 
>> Classcastexception: can not convert java.lang.String to some another java type( i
don't remember exact java class).
>> 
>> 
>> But somehow, this is fine on ubuntu. Any idea?
>> 
>> 
>> -Vivek
> 
> 


Mime
View raw message