You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Emotion (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 07:06:59 UTC

[jira] [Created] (CASSANDRA-4013) WARN No appenders could be found for logger (org.apache.cassandra.confi

WARN No appenders could be found for logger (org.apache.cassandra.confi
-----------------------------------------------------------------------

                 Key: CASSANDRA-4013
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4013
             Project: Cassandra
          Issue Type: Bug
          Components: Documentation & website, Hadoop
    Affects Versions: 1.1.0
         Environment: win7 
apacheTomcat6.0
JDK1.6

            Reporter: Emotion
             Fix For: 1.1.0


i'm installed apache-cassandra-1.1.0-beta1 version.
so, modify window7Config to Basic Linux Config 
and i play cmd mode....
write "cassandra-cli" and entered.
so i write "create keyspace keyspace1;"
but not created. output is error....
what the... help...me...

and.. where is keyspace config?
different 0.6.8version to 1.1.0version
xml....to yaml?
 please send to mail ..
xyzxes@nate.com...
C:\apache-cassandra-1.1.0-beta1\bin>cassandra-cli
Starting Cassandra Client
Connected to: "Test Cluster" on 127.0.0.1/9160
Welcome to Cassandra CLI version 1.1.0-beta1

Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.

[default@unknown] create keyspace keyspace1;
log4j:WARN No appenders could be found for logger (org.apache.cassandra.confi
atabaseDescriptor).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
fo.
Cannot locate cassandra.yaml
Fatal configuration error; unable to start serv

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-4013) WARN No appenders could be found for logger (org.apache.cassandra.confi

Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-4013.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1.0)

"Cannot locate cassandra.yaml" was fixed in CASSANDRA-3986.  In the meantime if you run it from one directory up ({{bin\cassandra-cli}}) that should work.

The user mailing list is the right place to address questions like "where is keyspace config."
                
> WARN No appenders could be found for logger (org.apache.cassandra.confi
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-4013
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4013
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation & website, Hadoop
>    Affects Versions: 1.1.0
>         Environment: win7 
> apacheTomcat6.0
> JDK1.6
>            Reporter: Emotion
>              Labels: patch
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> i'm installed apache-cassandra-1.1.0-beta1 version.
> so, modify window7Config to Basic Linux Config 
> and i play cmd mode....
> write "cassandra-cli" and entered.
> so i write "create keyspace keyspace1;"
> but not created. output is error....
> what the... help...me...
> and.. where is keyspace config?
> different 0.6.8version to 1.1.0version
> xml....to yaml?
>  please send to mail ..
> xyzxes@nate.com...
> C:\apache-cassandra-1.1.0-beta1\bin>cassandra-cli
> Starting Cassandra Client
> Connected to: "Test Cluster" on 127.0.0.1/9160
> Welcome to Cassandra CLI version 1.1.0-beta1
> Type 'help;' or '?' for help.
> Type 'quit;' or 'exit;' to quit.
> [default@unknown] create keyspace keyspace1;
> log4j:WARN No appenders could be found for logger (org.apache.cassandra.confi
> atabaseDescriptor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> fo.
> Cannot locate cassandra.yaml
> Fatal configuration error; unable to start serv

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-4013) WARN No appenders could be found for logger (org.apache.cassandra.confi

Posted by "Brian Gillis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226989#comment-13226989 ] 

Brian Gillis commented on CASSANDRA-4013:
-----------------------------------------

Unfortunately the suggestion of running in the cassandra home folder did not work for me. It looks like the CLI bat file clears out the classpath and doesn't add the conf folder to it.

I just took the hint from the main cassandra.bat file and had to change the classpath blank init line to:

REM Ensure that any user defined CLASSPATH variables are not used on startup
set CLASSPATH="%CASSANDRA_HOME%\conf"

1.0.8 on Windows


                
> WARN No appenders could be found for logger (org.apache.cassandra.confi
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-4013
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4013
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation & website, Hadoop
>    Affects Versions: 1.1.0
>         Environment: win7 
> apacheTomcat6.0
> JDK1.6
>            Reporter: Emotion
>              Labels: patch
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> i'm installed apache-cassandra-1.1.0-beta1 version.
> so, modify window7Config to Basic Linux Config 
> and i play cmd mode....
> write "cassandra-cli" and entered.
> so i write "create keyspace keyspace1;"
> but not created. output is error....
> what the... help...me...
> and.. where is keyspace config?
> different 0.6.8version to 1.1.0version
> xml....to yaml?
>  please send to mail ..
> xyzxes@nate.com...
> C:\apache-cassandra-1.1.0-beta1\bin>cassandra-cli
> Starting Cassandra Client
> Connected to: "Test Cluster" on 127.0.0.1/9160
> Welcome to Cassandra CLI version 1.1.0-beta1
> Type 'help;' or '?' for help.
> Type 'quit;' or 'exit;' to quit.
> [default@unknown] create keyspace keyspace1;
> log4j:WARN No appenders could be found for logger (org.apache.cassandra.confi
> atabaseDescriptor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> fo.
> Cannot locate cassandra.yaml
> Fatal configuration error; unable to start serv

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-4013) WARN No appenders could be found for logger (org.apache.cassandra.confi

Posted by "Giorgio Franceschetti (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232106#comment-13232106 ] 

Giorgio Franceschetti commented on CASSANDRA-4013:
--------------------------------------------------

Thanks Brian, 
  that solved my problem too.
                
> WARN No appenders could be found for logger (org.apache.cassandra.confi
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-4013
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4013
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation & website, Hadoop
>    Affects Versions: 1.1.0
>         Environment: win7 
> apacheTomcat6.0
> JDK1.6
>            Reporter: Emotion
>              Labels: patch
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> i'm installed apache-cassandra-1.1.0-beta1 version.
> so, modify window7Config to Basic Linux Config 
> and i play cmd mode....
> write "cassandra-cli" and entered.
> so i write "create keyspace keyspace1;"
> but not created. output is error....
> what the... help...me...
> and.. where is keyspace config?
> different 0.6.8version to 1.1.0version
> xml....to yaml?
>  please send to mail ..
> xyzxes@nate.com...
> C:\apache-cassandra-1.1.0-beta1\bin>cassandra-cli
> Starting Cassandra Client
> Connected to: "Test Cluster" on 127.0.0.1/9160
> Welcome to Cassandra CLI version 1.1.0-beta1
> Type 'help;' or '?' for help.
> Type 'quit;' or 'exit;' to quit.
> [default@unknown] create keyspace keyspace1;
> log4j:WARN No appenders could be found for logger (org.apache.cassandra.confi
> atabaseDescriptor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> fo.
> Cannot locate cassandra.yaml
> Fatal configuration error; unable to start serv

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira