docker

0 声望

这家伙太懒,什么都没留下

个人动态
  • 风继续吹 贬了 在 Kafka 2.11-1.0.0启动报错,连接到zookeeper超时 的评论!

    可能是你说的这个,但是我遇到另外一个问题,就是每次重启zk和kafka时,先启动zk再启动kafka会报:另一个程序正在使用此文件,进程无法访问。

    [2018-01-03 09:44:49,013] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex, C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index, and C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
    [2018-01-03 09:44:49,014] ERROR Error while loading log dir C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs (kafka.log.LogManager)
    java.nio.file.FileSystemException: C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex: 另一个程序正在使 用此文件,进程无法访问

    谷歌翻译:

    由于需求失败而发现损坏的索引文件:找到损坏索引,索引文件(C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.index)具有非零大小,但是最后一个偏移量是0,它不大于基本偏移量0.}。删除C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.timeindex,

    3年前
  • 贬了 在 Kafka 2.11-1.0.0启动报错,连接到zookeeper超时 的评论!

    可能是你说的这个,但是我遇到另外一个问题,就是每次重启zk和kafka时,先启动zk再启动kafka会报:另一个程序正在使用此文件,进程无法访问。

    [2018-01-03 09:44:49,013] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex, C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index, and C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
    [2018-01-03 09:44:49,014] ERROR Error while loading log dir C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs (kafka.log.LogManager)
    java.nio.file.FileSystemException: C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex: 另一个程序正在使 用此文件,进程无法访问

    谷歌翻译:

    由于需求失败而发现损坏的索引文件:找到损坏索引,索引文件(C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.index)具有非零大小,但是最后一个偏移量是0,它不大于基本偏移量0.}。删除C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.timeindex,

    3年前
  • 贬了 在 Kafka 2.11-1.0.0启动报错,连接到zookeeper超时 的评论!

    可能是你说的这个,但是我遇到另外一个问题,就是每次重启zk和kafka时,先启动zk再启动kafka会报:另一个程序正在使用此文件,进程无法访问。

    [2018-01-03 09:44:49,013] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex, C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index, and C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
    [2018-01-03 09:44:49,014] ERROR Error while loading log dir C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs (kafka.log.LogManager)
    java.nio.file.FileSystemException: C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex: 另一个程序正在使 用此文件,进程无法访问

    谷歌翻译:

    由于需求失败而发现损坏的索引文件:找到损坏索引,索引文件(C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.index)具有非零大小,但是最后一个偏移量是0,它不大于基本偏移量0.}。删除C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.timeindex,

    4年前
  • On My Way 贬了 在 Kafka 2.11-1.0.0启动报错,连接到zookeeper超时 的评论!

    可能是你说的这个,但是我遇到另外一个问题,就是每次重启zk和kafka时,先启动zk再启动kafka会报:另一个程序正在使用此文件,进程无法访问。

    [2018-01-03 09:44:49,013] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex, C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index, and C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
    [2018-01-03 09:44:49,014] ERROR Error while loading log dir C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs (kafka.log.LogManager)
    java.nio.file.FileSystemException: C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex: 另一个程序正在使 用此文件,进程无法访问

    谷歌翻译:

    由于需求失败而发现损坏的索引文件:找到损坏索引,索引文件(C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.index)具有非零大小,但是最后一个偏移量是0,它不大于基本偏移量0.}。删除C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.timeindex,

    4年前
  • 订阅了 kafka 主题! · 6年前
  • docker 回复 半兽人Kafka 2.11-1.0.0启动报错,连接到zookeeper超时 中 :

    可能是你说的这个,但是我遇到另外一个问题,就是每次重启zk和kafka时,先启动zk再启动kafka会报:另一个程序正在使用此文件,进程无法访问。

    [2018-01-03 09:44:49,013] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex, C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.index, and C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.txnindex and rebuilding index... (kafka.log.Log)
    [2018-01-03 09:44:49,014] ERROR Error while loading log dir C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs (kafka.log.LogManager)
    java.nio.file.FileSystemException: C:\Product-Files\apache\kafkas\kafka_2.11-1.0.0\config\tmp\kafka-logs\secondTopic-2\00000000000000000000.timeindex: 另一个程序正在使 用此文件,进程无法访问

    谷歌翻译:

    由于需求失败而发现损坏的索引文件:找到损坏索引,索引文件(C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.index)具有非零大小,但是最后一个偏移量是0,它不大于基本偏移量0.}。删除C:\ Product-Files \ apache \ kafkas \ kafka_2.11-1.0.0 \ config \ tmp \ kafka-logs \ secondTopic-2 \ 00000000000000000000.timeindex,

    6年前
  • 半兽人 回复 dockerKafka 2.11-1.0.0启动报错,连接到zookeeper超时 中 :

    你配置的没错,我怀疑你zk没起来

    6年前
  • 半兽人 回复 dockerKafka 2.11-1.0.0启动报错,连接到zookeeper超时 中 :

    telnet 127.0.0.1 2181
    要空格的。

    6年前
  • docker 回复 半兽人Kafka 2.11-1.0.0启动报错,连接到zookeeper超时 中 :

    开启zk,无论是外部搭建还是内置zk执行该命令(telnet 127.0.0.1:2181)都出现: 正在连接127.0.0.1:2181...无法打开到主机的连接。 在端口 23: 连接失败

    6年前
  • 订阅了 ask 主题! · 6年前