apache/tajo — pull request #282 by blrunner (2014-12-04 03:03:38+00:00)
Title: TAJO-1221: HA TajoClient should not connect TajoMaster at the first.

We TajoClient is opened, TajoClient initially tries to connect TajoMaster. This manner does not guarantee high availability. A known TajoMaster host may be not work anymore. So, this manner still has some failure point.
Also, this manner prohibits a Tajo cluster to run on some dynamic cluster environments like Yarn.

Solution

Tajo HA client should get directly TajoMaster addresses and others from HA component without contacting TajoMaster.