[ 
https://issues.apache.org/jira/browse/SAMZA-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yan Fang updated SAMZA-266:
---------------------------

    Attachment: SAMZA-266.patch

Added an empty check. Tested in local. Thank you.

> Don't fail if task.checkpoint.factory is an empty string
> --------------------------------------------------------
>
>                 Key: SAMZA-266
>                 URL: https://issues.apache.org/jira/browse/SAMZA-266
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.6.0
>            Reporter: Chris Riccomini
>             Fix For: 0.7.0
>
>         Attachments: SAMZA-266.patch
>
>
> 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:
> {noformat}
> task.checkpoint.factory=
> {noformat}
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to