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 <aa...@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.v...@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
>
>
>

Reply via email to