<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Implementing custom grouping on Storm throws an error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-custom-grouping-on-Storm-throws-an-error/m-p/95748#M9121</link>
    <description>&lt;P&gt;Hi Artem,&lt;/P&gt;&lt;P&gt;The default stream id is "default". Check to see if the mapper bolt you mention is declaring a new outputStream. This would occur in the declareOutputFields method of that class. Also, check the collector.emit call within the execute method. The default behavior is to emit on the "default" stream so you can confirm what stream this is emitting on.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Oct 2015 03:03:11 GMT</pubDate>
    <dc:creator>rtempleton</dc:creator>
    <dc:date>2015-10-22T03:03:11Z</dc:date>
    <item>
      <title>Implementing custom grouping on Storm throws an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-custom-grouping-on-Storm-throws-an-error/m-p/95747#M9120</link>
      <description>&lt;P&gt;I'm trying to implement custom grouping feature as seen in OpenSOC for HBaseStreamPartitioner&lt;/P&gt;&lt;P&gt;I'm declaring it like so&lt;/P&gt;&lt;PRE&gt;declarer.customGrouping(
                        MAPPER_BOLT_ID,
                        new HBaseStreamPartitioner("clicks_tbl", 0, 60, zkQuorum, zkParent, zkPort));&lt;/PRE&gt;&lt;P&gt;What would cause the error below? What is the default stream id when you implement a custom grouping? My HBase bolt is 2nd bolt in chain after a mapper bolt that just deserializes byte array stream from Kafka to parsed values.&lt;/P&gt;&lt;PRE&gt;2015-10-21 11:06:56.829 b.s.d.executor [ERROR]
java.lang.RuntimeException: java.lang.IllegalArgumentException: No matching clause: default
at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.daemon.executor$fn__6214$fn__6227$fn__6278.invoke(executor.clj:808) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.util$async_loop$fn__543.invoke(util.clj:475) [storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]
Caused by: java.lang.IllegalArgumentException: No matching clause: default
at backtype.storm.daemon.acker$mk_acker_bolt$reify__1380.execute(acker.clj:59) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.daemon.acker$_execute.invoke(acker.clj:101) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.daemon.acker.execute(Unknown Source) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.daemon.executor$fn__6214$tuple_action_fn__6216.invoke(executor.clj:670) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.daemon.executor$mk_task_receiver$fn__6137.invoke(executor.clj:426) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.disruptor$clojure_handler$reify__5713.onEvent(disruptor.clj:58) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]
at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:120) ~[storm-core-0.10.0.2.3.2.0-2950.jar:0.10.0.2.3.2.0-2950]&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 22:19:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-custom-grouping-on-Storm-throws-an-error/m-p/95747#M9120</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-10-21T22:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing custom grouping on Storm throws an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-custom-grouping-on-Storm-throws-an-error/m-p/95748#M9121</link>
      <description>&lt;P&gt;Hi Artem,&lt;/P&gt;&lt;P&gt;The default stream id is "default". Check to see if the mapper bolt you mention is declaring a new outputStream. This would occur in the declareOutputFields method of that class. Also, check the collector.emit call within the execute method. The default behavior is to emit on the "default" stream so you can confirm what stream this is emitting on.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 03:03:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-custom-grouping-on-Storm-throws-an-error/m-p/95748#M9121</guid>
      <dc:creator>rtempleton</dc:creator>
      <dc:date>2015-10-22T03:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing custom grouping on Storm throws an error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-custom-grouping-on-Storm-throws-an-error/m-p/95749#M9122</link>
      <description>&lt;P&gt;Hi Artem,&lt;/P&gt;&lt;P&gt;Are you trying to implement OpenSOC?  Ryan is correct.  The default stream id is "default"&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:46:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Implementing-custom-grouping-on-Storm-throws-an-error/m-p/95749#M9122</guid>
      <dc:creator>jsirota</dc:creator>
      <dc:date>2015-10-27T04:46:41Z</dc:date>
    </item>
  </channel>
</rss>

