Re: availableVirtualCores

2017-11-29 Thread Alberto Ramón
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  wrote:

> Where do you see -- Cluster.info: 'availableVirtualCores=3'??
>
> Cannot recognize it.
>
> On Sat, Nov 25, 2017 at 4:29 AM, Alberto Ramón 
> 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
>>
>
>


Re: availableVirtualCores

2017-11-27 Thread Li Yang
Where do you see -- Cluster.info: 'availableVirtualCores=3'??

Cannot recognize it.

On Sat, Nov 25, 2017 at 4:29 AM, Alberto Ramón 
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
>