You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Li Yang <li...@apache.org> on 2017/12/12 02:29:35 UTC

Re: availableVirtualCores

Oh, I see. The available cores is the number of cores "available" at the
time of checking. There might be 1 core allocated at that time.

On Thu, Nov 30, 2017 at 2:52 PM, Alberto Ramón <a....@gmail.com>
wrote:

> yes, sorry:
>
> When you execute:* ${KYLIN_HOME}/bin/check-env.sh*
>
> it creates a file:  ${KYLIN_HOME}/logs/cluster.info with this text:
>  availableMB=40460            <----- Correct
> availableVirtualCor*es=3 *     <----- NO correct
>
> which is used by: check-spark.sh in lines:
> ''saveFileName=${KYLIN_HOME}/logs/cluster.info"
> "*yarn_available_cores=`getValueByKey availableVirtualCores
> ${saveFileName}`*"
>
> On 28 November 2017 at 01:36, Li Yang <li...@apache.org> wrote:
>
>> Where do you see -- Cluster.info: 'availableVirtualCores=3'??
>>
>> Cannot recognize it.
>>
>> On Sat, Nov 25, 2017 at 4:29 AM, Alberto Ramón <a.ramonportoles@gmail.com
>> > wrote:
>>
>>> Hello
>>>
>>> From Ambari, the number of virtual cores is 4:
>>> [image: Inline images 1]
>>>
>>> But in the file Cluster.info: 'availableVirtualCores=3'
>>>
>>> (RAM is correct)
>>>
>>> I don't know from where Kylin read this config
>>>
>>
>>
>