yahoo / storm-yarn

Storm-yarn enables Storm clusters to be deployed into machines managed by Hadoop YARN.
Other
417 stars 161 forks source link

(Issue #32) configuration setting added to wait for YARN report on app master #33

Closed anfeng closed 11 years ago

anfeng commented 11 years ago

YARN may don't have a report from storm app master when a storm cluster is just being launched. The report will be available after some delay.

This pull request introduce a new configuration setting in master.yaml: yarn.report.wait.millis. This setting specifies # of milliseconds that storm-yarn client should wait for YARN report. Its default value is 10 seconds.

We also added a default value for master.timeout.secs: 1000 ms. The default value is not specified in master_defaults.yaml (instead of hard coded).