You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Martin Kleppmann (JIRA)" <ji...@apache.org> on 2014/03/20 23:01:53 UTC

[jira] [Updated] (SAMZA-197) hello-samza's wikipedia-feed throws IllegalArgumentException on startup

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

Martin Kleppmann updated SAMZA-197:
-----------------------------------

    Attachment: SAMZA-197.patch

JSON would be good, but SAMZA-71 looks like a bigger piece of work. Attaching a quick fix, which just removes the hashes from the job config, and adds them back in in the WikipediaConsumer implementation instead (i.e. you can't connect to IRC channels that don't start with a hash).

A bit ugly, but perhaps ok?

(No Reviewboard because reviews.apache.org is down)

> hello-samza's wikipedia-feed throws IllegalArgumentException on startup
> -----------------------------------------------------------------------
>
>                 Key: SAMZA-197
>                 URL: https://issues.apache.org/jira/browse/SAMZA-197
>             Project: Samza
>          Issue Type: Bug
>          Components: hello-samza
>            Reporter: Martin Kleppmann
>            Assignee: Martin Kleppmann
>         Attachments: SAMZA-197.patch
>
>
> {noformat}
> Exception in thread "main" java.lang.IllegalArgumentException: SystemStreamPartition [partition=Partition [partition=0], system=wikipedia, stream=#en.wiktionary] contains illegal character #
> {noformat}
> SAMZA-194 broke hello-samza, since the wikipedia-feed job has the following config:
> {noformat}
> task.inputs=wikipedia.#en.wikipedia,wikipedia.#en.wiktionary,wikipedia.#en.wikinews
> {noformat}
> and hashes are now _verboten_. :(



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