You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Vijay <vi...@gmail.com> on 2009/10/06 00:02:49 UTC

Error in the latest Trunk - RackAware Statergy

Hi,
I am getting the following error....

http://pastebin.com/m6a716383


ERROR [pool-1-thread-11] 2009-10-05 21:32:03,646 StorageProxy.java (line
179) error writing key c8f3c84c-6253-46fc-b1da-f00a871904f1
java.lang.UnsupportedOperationException: Rack-aware bootstrapping not
supported
at
org.apache.cassandra.locator.RackAwareStrategy.getWriteStorageEndPoints(RackAwareStrategy.java:132)
 at
org.apache.cassandra.locator.AbstractReplicationStrategy.getHintedStorageEndPoints(AbstractReplicationStrategy.java:69)
at
org.apache.cassandra.service.StorageService.getHintedStorageEndpointMap(StorageService.java:998)
 at
org.apache.cassandra.service.StorageProxy.insertBlocking(StorageProxy.java:151)
at
org.apache.cassandra.service.CassandraServer.doInsert(CassandraServer.java:468)
 at
org.apache.cassandra.service.CassandraServer.batch_insert(CassandraServer.java:448)
at
org.apache.cassandra.service.Cassandra$Processor$batch_insert.process(Cassandra.java:854)
 at
org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:627)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
 at java.lang.Thread.run(Thread.java:619)


BTW: is IRC down? i am not able to join.....

Regards,
</VJ>

Re: Error in the latest Trunk - RackAware Statergy

Posted by Vijay <vi...@gmail.com>.
Jonathan and Sandeep,
seems like something which is similar to that of the
PropertyFileEndPointSnitch.java
but instead of getting the IP from the Configuration file i will compare it
with the real ip of the servers.... does it sound ok?
Regards,
</VJ>




On Mon, Oct 5, 2009 at 3:42 PM, Jonathan Ellis <jb...@gmail.com> wrote:

> Sandeep, any tips for bootstrap + rack aware that Vijay should know?
>
> On Mon, Oct 5, 2009 at 5:39 PM, Vijay <vi...@gmail.com> wrote:
> > thanks Jonathan,
> > I thought it was a typo or  error or something which was unexpected :)...
> Ok
> > i have the requirement for rack awareness i will write something and send
> > the code across..... if there is something which i need to know i will
> sync
> > up @ IRC... (hopefully it will starts working for me)...
> > Regards,
> > </VJ>
> >
> >
> >
> >
> > On Mon, Oct 5, 2009 at 3:15 PM, Jonathan Ellis <jb...@gmail.com>
> wrote:
> >>
> >> On Mon, Oct 5, 2009 at 5:02 PM, Vijay <vi...@gmail.com> wrote:
> >> > ERROR [pool-1-thread-11] 2009-10-05 21:32:03,646 StorageProxy.java
> (line
> >> > 179) error writing key c8f3c84c-6253-46fc-b1da-f00a871904f1
> >> > java.lang.UnsupportedOperationException: Rack-aware bootstrapping not
> >> > supported
> >>
> >> pretty self-explanatory I would have thought. :)
> >>
> >> it's not a big deal to add bootstrap support for RackAwareStrategy but
> >> nobody who works on Cassandra has actually needed it yet...
> >>
> >> > BTW: is IRC down? i am not able to join.....
> >>
> >> No, it's not down, although I heard freenode blocks some web proxies
> now.
> >>
> >> -Jonathan
> >
> >
>

Re: Error in the latest Trunk - RackAware Statergy

Posted by Vijay <vi...@gmail.com>.
Jonathan and Sandeep,
seems like something which is similar to that of the
PropertyFileEndPointSnitch.java
but instead of getting the IP from the Configuration file i will compare it
with the real ip of the servers.... does it sound ok?
Regards,
</VJ>




On Mon, Oct 5, 2009 at 3:42 PM, Jonathan Ellis <jb...@gmail.com> wrote:

> Sandeep, any tips for bootstrap + rack aware that Vijay should know?
>
> On Mon, Oct 5, 2009 at 5:39 PM, Vijay <vi...@gmail.com> wrote:
> > thanks Jonathan,
> > I thought it was a typo or  error or something which was unexpected :)...
> Ok
> > i have the requirement for rack awareness i will write something and send
> > the code across..... if there is something which i need to know i will
> sync
> > up @ IRC... (hopefully it will starts working for me)...
> > Regards,
> > </VJ>
> >
> >
> >
> >
> > On Mon, Oct 5, 2009 at 3:15 PM, Jonathan Ellis <jb...@gmail.com>
> wrote:
> >>
> >> On Mon, Oct 5, 2009 at 5:02 PM, Vijay <vi...@gmail.com> wrote:
> >> > ERROR [pool-1-thread-11] 2009-10-05 21:32:03,646 StorageProxy.java
> (line
> >> > 179) error writing key c8f3c84c-6253-46fc-b1da-f00a871904f1
> >> > java.lang.UnsupportedOperationException: Rack-aware bootstrapping not
> >> > supported
> >>
> >> pretty self-explanatory I would have thought. :)
> >>
> >> it's not a big deal to add bootstrap support for RackAwareStrategy but
> >> nobody who works on Cassandra has actually needed it yet...
> >>
> >> > BTW: is IRC down? i am not able to join.....
> >>
> >> No, it's not down, although I heard freenode blocks some web proxies
> now.
> >>
> >> -Jonathan
> >
> >
>

Re: Error in the latest Trunk - RackAware Statergy

Posted by Jonathan Ellis <jb...@gmail.com>.
Sandeep, any tips for bootstrap + rack aware that Vijay should know?

On Mon, Oct 5, 2009 at 5:39 PM, Vijay <vi...@gmail.com> wrote:
> thanks Jonathan,
> I thought it was a typo or  error or something which was unexpected :)... Ok
> i have the requirement for rack awareness i will write something and send
> the code across..... if there is something which i need to know i will sync
> up @ IRC... (hopefully it will starts working for me)...
> Regards,
> </VJ>
>
>
>
>
> On Mon, Oct 5, 2009 at 3:15 PM, Jonathan Ellis <jb...@gmail.com> wrote:
>>
>> On Mon, Oct 5, 2009 at 5:02 PM, Vijay <vi...@gmail.com> wrote:
>> > ERROR [pool-1-thread-11] 2009-10-05 21:32:03,646 StorageProxy.java (line
>> > 179) error writing key c8f3c84c-6253-46fc-b1da-f00a871904f1
>> > java.lang.UnsupportedOperationException: Rack-aware bootstrapping not
>> > supported
>>
>> pretty self-explanatory I would have thought. :)
>>
>> it's not a big deal to add bootstrap support for RackAwareStrategy but
>> nobody who works on Cassandra has actually needed it yet...
>>
>> > BTW: is IRC down? i am not able to join.....
>>
>> No, it's not down, although I heard freenode blocks some web proxies now.
>>
>> -Jonathan
>
>

Re: Error in the latest Trunk - RackAware Statergy

Posted by Jonathan Ellis <jb...@gmail.com>.
Sandeep, any tips for bootstrap + rack aware that Vijay should know?

On Mon, Oct 5, 2009 at 5:39 PM, Vijay <vi...@gmail.com> wrote:
> thanks Jonathan,
> I thought it was a typo or  error or something which was unexpected :)... Ok
> i have the requirement for rack awareness i will write something and send
> the code across..... if there is something which i need to know i will sync
> up @ IRC... (hopefully it will starts working for me)...
> Regards,
> </VJ>
>
>
>
>
> On Mon, Oct 5, 2009 at 3:15 PM, Jonathan Ellis <jb...@gmail.com> wrote:
>>
>> On Mon, Oct 5, 2009 at 5:02 PM, Vijay <vi...@gmail.com> wrote:
>> > ERROR [pool-1-thread-11] 2009-10-05 21:32:03,646 StorageProxy.java (line
>> > 179) error writing key c8f3c84c-6253-46fc-b1da-f00a871904f1
>> > java.lang.UnsupportedOperationException: Rack-aware bootstrapping not
>> > supported
>>
>> pretty self-explanatory I would have thought. :)
>>
>> it's not a big deal to add bootstrap support for RackAwareStrategy but
>> nobody who works on Cassandra has actually needed it yet...
>>
>> > BTW: is IRC down? i am not able to join.....
>>
>> No, it's not down, although I heard freenode blocks some web proxies now.
>>
>> -Jonathan
>
>

Re: Error in the latest Trunk - RackAware Statergy

Posted by Vijay <vi...@gmail.com>.
thanks Jonathan,

I thought it was a typo or  error or something which was unexpected :)... Ok
i have the requirement for rack awareness i will write something and send
the code across..... if there is something which i need to know i will sync
up @ IRC... (hopefully it will starts working for me)...
Regards,
</VJ>




On Mon, Oct 5, 2009 at 3:15 PM, Jonathan Ellis <jb...@gmail.com> wrote:

> On Mon, Oct 5, 2009 at 5:02 PM, Vijay <vi...@gmail.com> wrote:
> > ERROR [pool-1-thread-11] 2009-10-05 21:32:03,646 StorageProxy.java (line
> > 179) error writing key c8f3c84c-6253-46fc-b1da-f00a871904f1
> > java.lang.UnsupportedOperationException: Rack-aware bootstrapping not
> > supported
>
> pretty self-explanatory I would have thought. :)
>
> it's not a big deal to add bootstrap support for RackAwareStrategy but
> nobody who works on Cassandra has actually needed it yet...
>
> > BTW: is IRC down? i am not able to join.....
>
> No, it's not down, although I heard freenode blocks some web proxies now.
>
> -Jonathan
>

Re: Error in the latest Trunk - RackAware Statergy

Posted by Jonathan Ellis <jb...@gmail.com>.
On Mon, Oct 5, 2009 at 5:02 PM, Vijay <vi...@gmail.com> wrote:
> ERROR [pool-1-thread-11] 2009-10-05 21:32:03,646 StorageProxy.java (line
> 179) error writing key c8f3c84c-6253-46fc-b1da-f00a871904f1
> java.lang.UnsupportedOperationException: Rack-aware bootstrapping not
> supported

pretty self-explanatory I would have thought. :)

it's not a big deal to add bootstrap support for RackAwareStrategy but
nobody who works on Cassandra has actually needed it yet...

> BTW: is IRC down? i am not able to join.....

No, it's not down, although I heard freenode blocks some web proxies now.

-Jonathan