Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-424

Issue on KafkaOffsetMetric(external/storm-kafka/src/jvm/storm/kafka/KafkaUtils.java)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.2-incubating
    • 0.9.3
    • storm-kafka
    • None

    Description

      if (latestTimeOffset == 0 || earliestTimeOffset == 0) {
      LOG.warn("No data found in Kafka Partition " + partition.getId());
      return null;
      }
      The earliestTimeOffset is 0 by default for a partition, and only after log.retention(segment be deleted), earliestTimeOffset will larger than 0.
      So you will always see the warning, if you run storm-kafka on a new patition, even if there are much data in your partition

      Attachments

        Activity

          People

            Unassigned Unassigned
            fxjwind feng xiaojie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified