You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Gopala <f2...@gmail.com> on 2012/04/03 20:21:32 UTC

Re: cassandra 1.08 on java7 and win7

puneet loya <puneetloya <at> gmail.com> writes:

> 
> 
> create keyspace DEMO 
> 
>     with placement_strategy =
'org.apache.cassandra.locator.NetworkTopologyStrategy'
> 
>     and strategy_options=[{datacenter1:1}];
> 
> try it n check if it executes



Hi Puneet,
I have same issue. Running the command you mentioned below works for me. What is
the issue here?

Gopala


Re: cassandra 1.08 on java7 and win7

Posted by Frank Hsueh <fr...@gmail.com>.
iirc, the fix for me was to add conf to the CASSANDRA_CLASSPATH var; like
so:

>>>>
:okClasspath
REM Include the build\classes\main directory so it works in development
set CASSANDRA_CLASSPATH=%CASSANDRA_HOME%\conf;
%CLASSPATH%;"%CASSANDRA_HOME%\build\classes\main";"%CASSANDRA_HOME%\build\classes\thrift"
goto runCli
<<<<


On Wed, Apr 4, 2012 at 4:26 AM, Gopala Krishna Gundeboyina <
f2001642@gmail.com> wrote:

> I have a cluster of four nodes all running on single machine. If I just do
> "create keyspace DEMO" CLI gives me the same error that original post says.
>
> If I use create the keyspace with the options you mentioned it works just
> fine but the proble is it is not getting reflected on other nodes in the
> cluster.
>
> -Gopala
>
>
> On Wed, Apr 4, 2012 at 10:30 AM, puneet loya <pu...@gmail.com> wrote:
>
>> thank u Gopala :) Der is no issue with it.. Might be i was typing
>> something wrong.,. Minor mistake :)
>>
>>
>> On Tue, Apr 3, 2012 at 11:51 PM, Gopala <f2...@gmail.com> wrote:
>>
>>> puneet loya <puneetloya <at> gmail.com> writes:
>>>
>>> >
>>> >
>>> > create keyspace DEMO
>>> >
>>> >     with placement_strategy =
>>> 'org.apache.cassandra.locator.NetworkTopologyStrategy'
>>> >
>>> >     and strategy_options=[{datacenter1:1}];
>>> >
>>> > try it n check if it executes
>>>
>>>
>>>
>>> Hi Puneet,
>>> I have same issue. Running the command you mentioned below works for me.
>>> What is
>>> the issue here?
>>>
>>> Gopala
>>>
>>>
>>
>


-- 
Frank Hsueh | frank.hsueh@gmail.com

Re: cassandra 1.08 on java7 and win7

Posted by Gopala Krishna Gundeboyina <f2...@gmail.com>.
I have a cluster of four nodes all running on single machine. If I just do
"create keyspace DEMO" CLI gives me the same error that original post says.

If I use create the keyspace with the options you mentioned it works just
fine but the proble is it is not getting reflected on other nodes in the
cluster.

-Gopala

On Wed, Apr 4, 2012 at 10:30 AM, puneet loya <pu...@gmail.com> wrote:

> thank u Gopala :) Der is no issue with it.. Might be i was typing
> something wrong.,. Minor mistake :)
>
>
> On Tue, Apr 3, 2012 at 11:51 PM, Gopala <f2...@gmail.com> wrote:
>
>> puneet loya <puneetloya <at> gmail.com> writes:
>>
>> >
>> >
>> > create keyspace DEMO
>> >
>> >     with placement_strategy =
>> 'org.apache.cassandra.locator.NetworkTopologyStrategy'
>> >
>> >     and strategy_options=[{datacenter1:1}];
>> >
>> > try it n check if it executes
>>
>>
>>
>> Hi Puneet,
>> I have same issue. Running the command you mentioned below works for me.
>> What is
>> the issue here?
>>
>> Gopala
>>
>>
>

Re: cassandra 1.08 on java7 and win7

Posted by puneet loya <pu...@gmail.com>.
thank u Gopala :) Der is no issue with it.. Might be i was typing something
wrong.,. Minor mistake :)


On Tue, Apr 3, 2012 at 11:51 PM, Gopala <f2...@gmail.com> wrote:

> puneet loya <puneetloya <at> gmail.com> writes:
>
> >
> >
> > create keyspace DEMO
> >
> >     with placement_strategy =
> 'org.apache.cassandra.locator.NetworkTopologyStrategy'
> >
> >     and strategy_options=[{datacenter1:1}];
> >
> > try it n check if it executes
>
>
>
> Hi Puneet,
> I have same issue. Running the command you mentioned below works for me.
> What is
> the issue here?
>
> Gopala
>
>