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