Skip to content

Commit

Permalink
[HOPS-1522] fix DBRMStateStore.checkAvailableResources
Browse files Browse the repository at this point in the history
  • Loading branch information
berthoug committed Oct 21, 2019
1 parent 0c2f39d commit df38751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2978,7 +2978,7 @@
<description>The interval (in ms) at which the database resource monitor
should checkt the database status</description>
<name>yarn.resourcemanager.resource.check.interval</name>
<value>3</value>
<value>5000</value>
</property>

<property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ void checkAvailableResources() {
if (!RMStorageFactory.hasResources(databaseResourcesThreshold)) {
throw new IOException("not enough resources in the database");
}
return;
} catch (StorageException e) {
LOG.warn("StorageException in checkAvailableResources (" + tries + "/" + maxDBTries + ").", e);
if (e instanceof TransientStorageException) {
Expand Down

0 comments on commit df38751

Please sign in to comment.