You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Alexander T <mi...@gmail.com> on 2016/03/14 18:07:00 UTC

Javadoc in TopologyBuilder

Hello!

In TopologyBuilder, parallelism_hint is documented as:

"* @param parallelism_hint the number of tasks that should be assigned to
execute this bolt. Each task will run on a thread in a process somwehere
around the cluster."

Is this correct? According to
http://storm.apache.org/documentation/Understanding-the-parallelism-of-a-Storm-topology.html,
parallelism_hint should control the number of executors, not the number of
tasks. Tasks are according to this document set by utilizing "setNumTasks".

Best regards,

Alexander

答复: Javadoc in TopologyBuilder

Posted by John Fang <xi...@alibaba-inc.com>.
Yes, you are right

 

发件人: Alexander T [mailto:mittspamkonto@gmail.com] 
发送时间: 2016年3月15日 1:07
收件人: user@storm.apache.org
主题: Javadoc in TopologyBuilder

 

Hello!

 

In TopologyBuilder, parallelism_hint is documented as:

 

"* @param parallelism_hint the number of tasks that should be assigned to execute this bolt. Each task will run on a thread in a process somwehere around the cluster."

 

Is this correct? According to http://storm.apache.org/documentation/Understanding-the-parallelism-of-a-Storm-topology.html, parallelism_hint should control the number of executors, not the number of tasks. Tasks are according to this document set by utilizing "setNumTasks". 

 

Best regards,

 

Alexander