kafka.common.KafkaException: Failed to acquire lock on file .lock in /tmp/kafka-logs. A Kafka instance in another process or thread is using this directory.

GitHub | samynathan17 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 1449#229877707

    GitHub | 8 months ago | samynathan17
    kafka.common.KafkaException: Failed to acquire lock on file .lock in /tmp/kafka-logs. A Kafka instance in another process or thread is using this directory.
  2. 0

    Why am I getting these error messages | Kamanja

    kamanja.org | 9 months ago
    kafka.common.KafkaException: Failed to acquire lock on file .lock in /usr/local/var/lib/kafka-logs. A Kafka instance in another process or thread is using this directory.
  3. 0

    Kafka setup problem.

    Google Groups | 2 months ago | akshay naidu
    kafka.common.KafkaException: Failed to acquire lock on file .lock in /tmp/kafka-logs. A Kafka instance in another process or thread is using this directory.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    graylog-server should clear /var/lib/graylog-server/journal/.lock upon shutdown

    GitHub | 1 year ago | dcarastan
    kafka.common.KafkaException: Failed to acquire lock on file .lock in /var/lib/graylog-server/journal. A Kafka instance in another process or thread is using this directory.
  6. 0

    How to properly setup in order to receive multiple Graylog message inputs?

    Google Groups | 9 months ago | Arief Hydayat
    kafka.common.KafkaException: Failed to acquire lock on file .lock in /var/lib/graylog-server/journal. A Kafka instance in another process or thread is using this directory.

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. kafka.common.KafkaException

      Failed to acquire lock on file .lock in /tmp/kafka-logs. A Kafka instance in another process or thread is using this directory.

      at kafka.log.LogManager$$anonfun$lockLogDirs$1.apply()
    2. Apache Kafka
      LogManager$$anonfun$lockLogDirs$1.apply
      1. kafka.log.LogManager$$anonfun$lockLogDirs$1.apply(LogManager.scala:98)
      2. kafka.log.LogManager$$anonfun$lockLogDirs$1.apply(LogManager.scala:95)
      2 frames
    3. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      4. scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:34)
      5. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      6. scala.collection.AbstractTraversable.map(Traversable.scala:105)
      6 frames
    4. Apache Kafka
      Kafka.main
      1. kafka.log.LogManager.lockLogDirs(LogManager.scala:95)
      2. kafka.log.LogManager.<init>(LogManager.scala:57)
      3. kafka.server.KafkaServer.createLogManager(KafkaServer.scala:335)
      4. kafka.server.KafkaServer.startup(KafkaServer.scala:85)
      5. kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:29)
      6. kafka.Kafka$.main(Kafka.scala:46)
      7. kafka.Kafka.main(Kafka.scala)
      7 frames