You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2014/05/16 13:01:48 UTC
[jira] [Created] (SAMZA-266) Don't fail if task.checkpoint.factory
is an empty string
Chris Riccomini created SAMZA-266:
-------------------------------------
Summary: 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
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)