Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1203

Use ProcessorId instead of Zk node Id in JobModel generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 0.13.0
    • 0.13.0
    • None
    • None

    Description

      when ZkJobCoordinator generates the jobModel, it's using Zk node Ids instead of the processorIds, as the code below: ZkJobCoordinator: 215-220:
      List<String> containerIds = new ArrayList<>();
      for (String processor : currentProcessors)

      { String zkProcessorId = ZkKeyBuilder.parseIdFromPath(processor); containerIds.add(zkProcessorId); }

      log.info("generate new job model: processorsIds: " + Arrays.toString(containerIds.toArray()));

      Later the StreamProcessor gets the containerModel, it's null. We need to use the processorId in the JobModel so StreamProcessors will work correctly.

      Attachments

        Issue Links

          Activity

            People

              navina Navina Ramesh
              xinyu Xinyu Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: