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/02/13 03:30:19 UTC
[jira] [Updated] (SAMZA-145) Bootstrap config doesn't work
[ https://issues.apache.org/jira/browse/SAMZA-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Riccomini updated SAMZA-145:
----------------------------------
Attachment: SAMZA-145.0.patch
Attaching a patch. RB at:
https://reviews.apache.org/r/18051/
1. Fix DefaultChooserConfig.
2. Add tests for both bootstrap and priority streams.
> Bootstrap config doesn't work
> -----------------------------
>
> Key: SAMZA-145
> URL: https://issues.apache.org/jira/browse/SAMZA-145
> Project: Samza
> Issue Type: Bug
> Components: container
> Affects Versions: 0.6.0
> Reporter: Chris Riccomini
> Assignee: Chris Riccomini
> Attachments: SAMZA-145.0.patch
>
>
> Setting a stream as a bootstrap stream is ignored by Samza. This is because of this line in DefaultChooserConfig:
> {code}
> def getBootstrapStreams = config
> .getInputStreams
> .map(systemStream => (systemStream, getOrElse(BOOTSTRAP format (systemStream.getSystem, systemStream.getStream), "false").equals("true")))
> .filter(_._2.equals("true"))
> .map(_._1)
> {code}
> The filter should be .equals(true), not as a string.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)