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

Don't fail if task.checkpoint.factory is an empty string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • container
    • None

    Description

      Currently, task.checkpoint.factory is either in the config or it's not. If it's in the config, we call Class.forName() on the value to get the checkpoint factory. It'd be nice if we ignored the value if the factory is set to an empty string. Currently, if you set:

      task.checkpoint.factory=
      

      We will call Class.forName("") in the container, which will fail. We should treat an empty value the same as a null, and skip the checkpoint manager setup.

      Attachments

        1. SAMZA-266.patch
          0.8 kB
          Yan Fang

        Activity

          People

            closeuris Yan Fang
            criccomini Chris Riccomini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: