yahoo/storm-yarn

Add two resource configuration options for each supervisor

Opened this issue · 0 comments

Currently storm-yarn will just use max resource capacity yarn cluster offer to start a supervisor.

It may be a good idea to add two other option in master.yaml, so that we can config the resource limiation.

supervisor.size-mb: 16192
supervisor.vcores: 8

If yarn cluster returns max resource capatity

 vcore:32, memory: 8G 
we will pick the smaller one, to
vcores: 8, Memory: 8G.