GitHub user zeroflag opened a pull request: https://github.com/apache/hive/pull/131
LLAP failed to start on a host with only 1 cpu LLAP failed to start on a host with only 1 cpu. The number of thread was calculating by dividing the number of cpus with 2. This resulted zero if the cpu count was 1 and caused an IllegalArgumentException upon startup. Fixed this by adding Math.max(1, cpus/2). You can merge this pull request into a Git repository by running: $ git pull https://github.com/zeroflag/hive master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hive/pull/131.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #131 ---- commit b00463f5228b459c1bd6d0e6022142cd2fa84952 Author: Attila Magyar <amag...@hortonworks.com> Date: 2017-01-11T15:46:54Z Thread pool is initialized with 0 nThreads that causes IllegalArgumenException while starting LLAP on a host with 1 cpu ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---