create keyspace DEMO

    with placement_strategy =
'org.apache.cassandra.locator.NetworkTopologyStrategy'

    and strategy_options=[{datacenter1:1}];

try it n check if it executes

On Tue, Mar 27, 2012 at 3:35 AM, Frank Hsueh <frank.hs...@gmail.com> wrote:

> create keyspace via cassandra cli fails
> https://issues.apache.org/jira/browse/CASSANDRA-4085
>
>
>
> On Mon, Mar 26, 2012 at 2:44 PM, Sasha Dolgy <sdo...@gmail.com> wrote:
>
>> best to open an issue:   https://issues.apache.org/jira/browse/CASSANDRA
>>
>>
>> On Mon, Mar 26, 2012 at 11:35 PM, Frank Hsueh <frank.hs...@gmail.com>wrote:
>>
>>> err ...  same thing happens with Java 1.6
>>>
>>>
>>>
>>> On Mon, Mar 26, 2012 at 2:35 PM, Frank Hsueh <frank.hs...@gmail.com>wrote:
>>>
>>>> I'm using the latest of Java 1.6 from Oracle.
>>>>
>>>>
>>>>
>>>> On Mon, Mar 26, 2012 at 2:29 PM, R. Verlangen <ro...@us2.nl> wrote:
>>>>
>>>>> Ben Coverston wrote earlier today: " Use a version of the Java 6
>>>>> runtime, Cassandra hasn't been tested at all with the Java 7 runtime"
>>>>>
>>>>> So I think that might be a good way to start.
>>>>>
>>>>> 2012/3/26 Frank Hsueh <frank.hs...@gmail.com>
>>>>>
>>>>>> I think I have cassandra the server started
>>>>>>
>>>>>> In another window:
>>>>>> >>>>
>>>>>> > cassandra-cli.bat -h localhost -p 9160
>>>>>> Starting Cassandra Client
>>>>>> Connected to: "Test Cluster" on localhost/9160
>>>>>> Welcome to Cassandra CLI version 1.0.8
>>>>>>
>>>>>> Type 'help;' or '?' for help.
>>>>>> Type 'quit;' or 'exit;' to quit.
>>>>>>
>>>>>> [default@unknown] create keyspace DEMO;
>>>>>> log4j:WARN No appenders could be found for logger
>>>>>> (org.apache.cassandra.config.DatabaseDescriptor).
>>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfigfor 
>>>>>> more info.
>>>>>> Cannot locate cassandra.yaml
>>>>>> Fatal configuration error; unable to start server.  See log for
>>>>>> stacktrace.
>>>>>>
>>>>>> C:\Workspace\cassandra\apache-cassandra-1.0.8\bin>
>>>>>> <<<<
>>>>>>
>>>>>> anybody seen this before ?
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Frank Hsueh | frank.hs...@gmail.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> With kind regards,
>>>>>
>>>>> Robin Verlangen
>>>>> www.robinverlangen.nl
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Frank Hsueh | frank.hs...@gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> Frank Hsueh | frank.hs...@gmail.com
>>>
>>
>>
>>
>> --
>> Sasha Dolgy
>> sasha.do...@gmail.com
>>
>
>
>
> --
> Frank Hsueh | frank.hs...@gmail.com
>

Reply via email to