diff options
author | Harald Musum <musum@yahoo-inc.com> | 2017-05-10 08:05:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 08:05:27 +0200 |
commit | 2df4fa8147d54782532637f4cca050c5f06b4bfe (patch) | |
tree | b462063e78be51bf5a8a6dab01b3edc230160d0a /orchestrator/src | |
parent | e2986cd2af03cd55f8e198f2e4a1169d6fe2e381 (diff) | |
parent | 22a347f53227b89046e2a4ce439fdf1ab1b9dcb6 (diff) |
Merge pull request #2431 from yahoo/hakon/add-path-at-application-lock-timeout
Add path at application lock timeout
Diffstat (limited to 'orchestrator/src')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java index de24f5fe296..05b78299236 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java @@ -157,7 +157,7 @@ public class ZookeeperStatusService implements StatusService { boolean acquired = mutex.acquire(timeout, timeoutTimeUnit); if (!acquired) { log.log(LogLevel.DEBUG, "Timed out waiting for lock on " + lockPath); - throw new TimeoutException(); + throw new TimeoutException("Timed out waiting for lock on " + lockPath); } log.log(LogLevel.DEBUG, "Successfully acquired lock on " + lockPath); return mutex; |