[ 
https://issues.apache.org/jira/browse/IMPALA-13413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang reassigned IMPALA-13413:
---------------------------------------

    Assignee: YUBI LEE

> num_cores flag does not work.
> -----------------------------
>
>                 Key: IMPALA-13413
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13413
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 4.4.1
>            Reporter: Yonghwan Lee
>            Assignee: YUBI LEE
>            Priority: Minor
>
> The `num_cores` Flag does not work.
>  
> The cause is that CpuInfo::Init() is called before 
> google::ParseCommandLineFlags(&argc, &argv, true) within the 
> InitCommonRuntime function in init.cc.
>  
> Other functions (e.g. DiskInfo, MemInfo, etc.) do not use the value (Gflag) 
> parsed from the CommandLine in the Init() function, but in the case of 
> CpuInfo, FLAGS_num_cores is used within Init().
> Since google::ParseCommandLineFlags(&argc, &argv, true) has not yet been 
> called, its value is set to 0, and if (FLAGS_num_cores > 0) num_cores_ = 
> FLAGS_num_cores; It is confirmed that the syntax does not work.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to