【问题标题】:Cassandra does not report that up and running when startedCassandra 在启动时没有报告启动并运行
【发布时间】:2011-01-23 17:50:19
【问题描述】:

当我执行以下 .bat 文件时,我的 Windows 命令行得到了输出

bin\cassandra.bat

这是我在命令行上得到的输出

Drive already SUBSTed
Starting Cassandra Server
Listening for transport dt_socket at address: 8888
INFO - Sampling index for E:\myfirstapp\cassandra\data\system\LocationInfo-1-Dat
a.db
INFO - Replaying E:\myfirstapp\cassandra\commitlog\CommitLog-1267714669843.log
INFO - LocationInfo has reached its threshold; switching in a fresh Memtable
INFO - Enqueuing flush of Memtable(LocationInfo)@19173163
INFO - Sorting Memtable(LocationInfo)@19173163
INFO - Writing Memtable(LocationInfo)@19173163
INFO - Completed flushing E:\myfirstapp\cassandra\data\system\LocationInfo-2-Dat
a.db
INFO - Log replay complete
INFO - Saved Token found: 68001116758853706850435234194693732005
INFO - Starting up server gossip
_

在这一切都没有发生之后它只是发出哔哔声,我想知道这个问题的原因是什么以及如何解决它 我的系统是Windows XP,Java 6

谢谢。

【问题讨论】:

  • MMRUser -- 你能否启用调试日志记录、重新启动并重新发布输出作为对此评论的响应?

标签: cassandra


【解决方案1】:

“哔哔?”

您希望看到什么?

编辑:如果您没有使用 -f 运行,那么它会关闭标准输出并开始写入您在配置 xml 中指定的日志文件。

【讨论】:

  • 我期待“服务器现已启动并运行”之类的内容,这没有任何意义,我不知道它正在运行的天气。
  • 在此消息之后,MMRUser 应该会看到“INFO - Cassandra 正在启动...”
【解决方案2】:

“Drive already SUBSTed”是 Windows/DOS 错误消息 - 您应该首先看到的是“Starting Cassandra Server”。

Google 搜索“Drive already SUBSTed”以了解您收到此信息的原因 - 您使用的驱动器配置是否有异常? http://zotline.com/shownote.zot/NoteNum/1884.html 建议您尝试分配已分配的 Windows 驱动器号。

【讨论】:

    猜你喜欢
    • 2014-11-23
    • 2013-09-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多