当前位置:   article > 正文

windows版kafka异常java.nio.file.FileSystemException另一个程序正在使用此文件,进程无法访问_error while deleting segnebts for kafka

error while deleting segnebts for kafka

 

目录

 

环境

现象

原因

解决方法

问题修正后删除文件日志

参考


 

 

环境

Windows2012 R2

kafka_2.12-2.3.0

 

现象

  1. [2021-06-01 18:40:38,102] INFO [Log partition=testMcdull222-0, dir=D:\DEV\MQ\kafka_2.12-2.3.0\kafka_2.12-2.3.0\logs] Found deletable segments with base offsets [0] due to retention time 2000ms breach (kafka.log.Log)
  2. [2021-06-01 18:40:38,111] INFO [Log partition=testMcdull222-0, dir=D:\DEV\MQ\kafka_2.12-2.3.0\kafka_2.12-2.3.0\logs] Rolled new log segment at offset 3064 in 7 ms. (kafka.log.Log)
  3. [2021-06-01 18:40:38,112] INFO [Log partition=testMcdull222-0, dir=D:\DEV\MQ\kafka_2.12-2.3.0\kafka_2.12-2.3.0\logs] Scheduling log segment [baseOffset 0, size 220487] for deletion. (kafka.log.Log)
  4. [2021-06-01 18:40:38,120] ERROR Error while deleting segments for testMcdull222-0 in dir D:\DEV\MQ\kafka_2.12-2.3.0\kafka_2.12-2.3.0\logs (kafka.server.LogDirFailureChannel)
  5. java.nio.file.FileSystemException: D:\DEV\MQ\kafka_2.12-2.3.0\kafka_2.12-2.3.0\logs\testMcdull222-0\00000000000000000000.index -> D:\DEV\MQ\kafka_2.12-2.3.0\kafka_2.12-2.3.0\logs\testMcdull222-0\00000000000000000000.index.deleted: Á풻¸ö³̐
    声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/615387
    推荐阅读
    相关标签