You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Frank Hsueh <fr...@gmail.com> on 2012/03/26 23:20:28 UTC
cassandra 1.08 on java7 and win7
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#noconfig for
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.hsueh@gmail.com
Re: cassandra 1.08 on java7 and win7
Posted by Sasha Dolgy <sd...@gmail.com>.
interesting. that behaviour _does_ happen in 1.0.8, but doesn't in 1.0.6
on windows 7 with Java 7. looks to be a problem with the CLI and not the
actual Cassandra service.
just tried it now.
-sd
On Mon, Mar 26, 2012 at 11: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.
>
>
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
>
>
Re: cassandra 1.08 on java7 and win7
Posted by Gopala <f2...@gmail.com>.
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>.
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 <fr...@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 <sd...@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 <fr...@gmail.com>wrote:
>>
>>> err ... same thing happens with Java 1.6
>>>
>>>
>>>
>>> On Mon, Mar 26, 2012 at 2:35 PM, Frank Hsueh <fr...@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 <fr...@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.hsueh@gmail.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> With kind regards,
>>>>>
>>>>> Robin Verlangen
>>>>> www.robinverlangen.nl
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Frank Hsueh | frank.hsueh@gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> Frank Hsueh | frank.hsueh@gmail.com
>>>
>>
>>
>>
>> --
>> Sasha Dolgy
>> sasha.dolgy@gmail.com
>>
>
>
>
> --
> Frank Hsueh | frank.hsueh@gmail.com
>
Re: cassandra 1.08 on java7 and win7
Posted by Frank Hsueh <fr...@gmail.com>.
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 <sd...@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 <fr...@gmail.com>wrote:
>
>> err ... same thing happens with Java 1.6
>>
>>
>>
>> On Mon, Mar 26, 2012 at 2:35 PM, Frank Hsueh <fr...@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 <fr...@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.hsueh@gmail.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> With kind regards,
>>>>
>>>> Robin Verlangen
>>>> www.robinverlangen.nl
>>>>
>>>>
>>>
>>>
>>> --
>>> Frank Hsueh | frank.hsueh@gmail.com
>>>
>>
>>
>>
>> --
>> Frank Hsueh | frank.hsueh@gmail.com
>>
>
>
>
> --
> Sasha Dolgy
> sasha.dolgy@gmail.com
>
--
Frank Hsueh | frank.hsueh@gmail.com
Re: cassandra 1.08 on java7 and win7
Posted by Sasha Dolgy <sd...@gmail.com>.
best to open an issue: https://issues.apache.org/jira/browse/CASSANDRA
On Mon, Mar 26, 2012 at 11:35 PM, Frank Hsueh <fr...@gmail.com> wrote:
> err ... same thing happens with Java 1.6
>
>
>
> On Mon, Mar 26, 2012 at 2:35 PM, Frank Hsueh <fr...@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 <fr...@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.hsueh@gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> With kind regards,
>>>
>>> Robin Verlangen
>>> www.robinverlangen.nl
>>>
>>>
>>
>>
>> --
>> Frank Hsueh | frank.hsueh@gmail.com
>>
>
>
>
> --
> Frank Hsueh | frank.hsueh@gmail.com
>
--
Sasha Dolgy
sasha.dolgy@gmail.com
Re: cassandra 1.08 on java7 and win7
Posted by Frank Hsueh <fr...@gmail.com>.
err ... same thing happens with Java 1.6
On Mon, Mar 26, 2012 at 2:35 PM, Frank Hsueh <fr...@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 <fr...@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.hsueh@gmail.com
>>>
>>
>>
>>
>> --
>> With kind regards,
>>
>> Robin Verlangen
>> www.robinverlangen.nl
>>
>>
>
>
> --
> Frank Hsueh | frank.hsueh@gmail.com
>
--
Frank Hsueh | frank.hsueh@gmail.com
Re: cassandra 1.08 on java7 and win7
Posted by Frank Hsueh <fr...@gmail.com>.
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 <fr...@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#noconfig for
>> 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.hsueh@gmail.com
>>
>
>
>
> --
> With kind regards,
>
> Robin Verlangen
> www.robinverlangen.nl
>
>
--
Frank Hsueh | frank.hsueh@gmail.com
Re: cassandra 1.08 on java7 and win7
Posted by "R. Verlangen" <ro...@us2.nl>.
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 <fr...@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#noconfig for
> 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.hsueh@gmail.com
>
--
With kind regards,
Robin Verlangen
www.robinverlangen.nl