GitHub user hyunsik opened a pull request:
TAJO-1024: RpcConnectionPool::getConnection can cause NPE at initialization
It's concurrency bug. So, it is hard to reproduce the case. So, I omitted the unit tests. But, it definitely fixes the bug. After I apply it, I couldn't see the bug again. @jinossy helped this work.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hyunsik/tajo
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #139
Author: Hyunsik Choi <email@example.com>
TAJO-1024: RpcConnectionPool::getConnection can cause NPE at initialization.