Kafka
  1. Kafka
  2. KAFKA-1009

DumpLogSegments tool should return error on non-existing files

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

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

        Activity

        Jun Rao created issue -
        Guozhang Wang made changes -
        Field Original Value New Value
        Assignee Guozhang Wang [ guozhang ]
        Guozhang Wang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Guozhang Wang made changes -
        Attachment KAFKA-1009.v1.patch [ 12598114 ]
        Guozhang Wang made changes -
        Attachment KAFKA-1009.v2.patch [ 12598777 ]
        Neha Narkhede made changes -
        Component/s log [ 12320320 ]
        Component/s core [ 12315217 ]
        Neha Narkhede made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development