hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zeroflag <>
Subject [GitHub] hive pull request #131: LLAP failed to start on a host with only 1 cpu
Date Wed, 11 Jan 2017 15:58:40 GMT
GitHub user zeroflag opened a pull request:

    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 master

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 #131
commit b00463f5228b459c1bd6d0e6022142cd2fa84952
Author: Attila Magyar <>
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 or file a JIRA ticket
with INFRA.

View raw message