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

SamzaContainer log statements incorrectly expect containerId is a number

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:

      Description

      The line numbers wont match up with the latest, but here's a stack trace.

      java.util.IllegalFormatConversionException: d != java.lang.String
          at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4302)
          at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2793)
          at java.util.Formatter$FormatSpecifier.print(Formatter.java:2747)
          at java.util.Formatter.format(Formatter.java:2520)
          at java.util.Formatter.format(Formatter.java:2455)
          at java.lang.String.format(String.java:2940)
          at scala.collection.immutable.StringLike$class.format(StringLike.scala:266)
          at scala.collection.immutable.StringOps.format(StringOps.scala:31)
          at org.apache.samza.container.SamzaContainer$$anonfun$startLocalityManager$4.apply(SamzaContainer.scala:857)
          at org.apache.samza.container.SamzaContainer$$anonfun$startLocalityManager$4.apply(SamzaContainer.scala:857)
          at org.apache.samza.util.Logging$class.warn(Logging.scala:74)
          at org.apache.samza.container.SamzaContainer.warn(SamzaContainer.scala:640)
          at org.apache.samza.container.SamzaContainer.startLocalityManager(SamzaContainer.scala:856)
          at org.apache.samza.container.SamzaContainer.run(SamzaContainer.scala:684)
          at org.apache.samza.runtime.LocalContainerRunner.run(LocalContainerRunner.java:104)
          at org.apache.samza.runtime.LocalContainerRunner.main(LocalContainerRunner.java:149)
      

      Looks like the log statements need to expect containerId as a string.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jmakes Jake Maes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: