Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1009

DumpLogSegments tool should return error on non-existing files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.8.1
    • log
    • None

    Description

      If we run the tool on an non-existing file, we get the following

      bin/kafka-run-class.sh kafka.tools.DumpLogSegments --files 00.log
      Dumping 00.log
      Starting offset: 0

      The tool should return an error message instead.

      Attachments

        1. KAFKA-1009.v2.patch
          2 kB
          Guozhang Wang
        2. KAFKA-1009.v1.patch
          2 kB
          Guozhang Wang

        Activity

          People

            guozhang Guozhang Wang
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: