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

DumpLogSegments tool should return error on non-existing files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.1
    • Component/s: log
    • Labels:
      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.v1.patch
          2 kB
          Guozhang Wang
        2. KAFKA-1009.v2.patch
          2 kB
          Guozhang Wang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: