elasticsearch/elasticsearch — pull request #4834 by jpountz (2014-01-21 16:10:51+00:00)
Title: Throw an ElasticsearchIllegalArgumentException when allocating on a non-data node.

Today, it would fail with a NullPointerException.

Close #4833