Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

GIRAPH-1132 Giraph jobs don't end if zookeeper dies before job starts #21

Closed
wants to merge 1 commit into from

Conversation

edunov
Copy link

@edunov edunov commented Mar 1, 2017

I'm not sure I set all the timeouts right. There is no way to test all of these either.
The idea is that we shouldn't have infinite wait loops anywhere. And that's exactly what this diff does

Copy link

@majakabiljo majakabiljo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

* Since we should never really have to wait forever.
* We should only wait some reasonable but large amount of time.
*/
LongConfOption WAIT_FOREVER_ZOOKEEPER_TIMEOUT_MSEC =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: since we are not waiting forever anymore, I'd drop word forever from everywhere (forever and timeout have opposite meaning :-))

@asfgit asfgit closed this in 18c67ca Mar 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants