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

hostname should only refer node's 'storm.local.hostname'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.0.2, 1.1.0
    • Fix Version/s: 2.0.0, 1.1.0, 1.0.3
    • Component/s: storm-core
    • Labels:
      None

      Description

      This is reported bug from user mailing list.
      https://lists.apache.org/thread.html/206dfc6aefda13f27bb8d41a86da98355767d522882841296e09070b@%3Cuser.storm.apache.org%3E

      Hi Guys,
      
      I'm running a topology on 3 supervisor. I've registred a custom
      MetricsConsumer class that output metrics on Elasticsearch.
      
      My bug is that the taskInfo.srcWorkerHost that always the same values as
      the first supervisor (nimbus as well), Even when I put a parallelismHint to
      3...
      
      I'm using storm 1.0.2
      
      Thanks for your feedback
      

      The reason is that `hostname` refers topology configuration when finding storm.local.hostname. It should always refer node's configuration.

        Attachments

          Activity

            People

            • Assignee:
              kabhwan Jungtaek Lim
              Reporter:
              kabhwan Jungtaek Lim
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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