You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/13 19:08:41 UTC

[jira] [Commented] (SAMZA-1100) Exception when using a stream as both bootstrap and broadcast

    [ https://issues.apache.org/jira/browse/SAMZA-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15922756#comment-15922756 ] 

ASF GitHub Bot commented on SAMZA-1100:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/samza/pull/68


> Exception when using a stream as both bootstrap and broadcast
> -------------------------------------------------------------
>
>                 Key: SAMZA-1100
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1100
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Xinyu Liu
>            Assignee: Shanthoosh Venkataraman
>
> The following exception is thrown after setting test-system.test-topic to be both broadcast and bootstrap stream:
> 017-02-22 20:20:45 SamzaContainer [ERROR] Caught exception in process loop.
> java.util.NoSuchElementException: key not found: SystemStream [system=test-system, stream=test-topic]
> 	at scala.collection.MapLike$class.default(MapLike.scala:228)
> 	at scala.collection.AbstractMap.default(Map.scala:58)
> 	at scala.collection.MapLike$class.apply(MapLike.scala:141)
> 	at scala.collection.AbstractMap.apply(Map.scala:58)
> 	at org.apache.samza.system.chooser.BootstrappingChooser.checkOffset(BootstrappingChooser.scala:249)
> 	at org.apache.samza.system.chooser.BootstrappingChooser.register(BootstrappingChooser.scala:127)
> 	at org.apache.samza.system.chooser.DefaultChooser.register(DefaultChooser.scala:289)
> 	at org.apache.samza.system.SystemConsumers.register(SystemConsumers.scala:209)
> 	at org.apache.samza.container.TaskInstance$$anonfun$registerConsumers$2.apply(TaskInstance.scala:134)
> 	at org.apache.samza.container.TaskInstance$$anonfun$registerConsumers$2.apply(TaskInstance.scala:131)
> 	at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:153)
> 	at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306)
> 	at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306)
> 	at org.apache.samza.container.TaskInstance.registerConsumers(TaskInstance.scala:131)
> 	at org.apache.samza.container.SamzaContainer$$anonfun$startConsumers$2.apply(SamzaContainer.scala:823)
> 	at org.apache.samza.container.SamzaContainer$$anonfun$startConsumers$2.apply(SamzaContainer.scala:823)
> 	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
> 	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
> 	at scala.collection.MapLike$DefaultValuesIterable.foreach(MapLike.scala:206)
> 	at org.apache.samza.container.SamzaContainer.startConsumers(SamzaContainer.scala:823)
> 	at org.apache.samza.container.SamzaContainer.run(SamzaContainer.scala:687)
> 	at org.apache.samza.container.SamzaContainer$.safeMain(SamzaContainer.scala:109)
> 	at org.apache.samza.container.SamzaContainer$.main(SamzaContainer.scala:83)
> 	at org.apache.samza.container.SamzaContainer.main(SamzaContainer.scala)
> 2017-02-22 20:20:45 SamzaContainer [INFO] Shutting down.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)