You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/30 09:28:00 UTC

[jira] [Updated] (HIVE-26090) hive.mv.files.thread and hive.load.dynamic.partitions.thread in Hiveconf.java default value is 15,but in Hive.java is 25

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

ASF GitHub Bot updated HIVE-26090:
----------------------------------
    Labels: pull-request-available  (was: )

> hive.mv.files.thread and hive.load.dynamic.partitions.thread in Hiveconf.java default value is 15,but in Hive.java is 25
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-26090
>                 URL: https://issues.apache.org/jira/browse/HIVE-26090
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 2.3.7, 3.0.0, 3.1.2
>            Reporter: lkl
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> hive.mv.files.thread and hive.load.dynamic.partitions.thread in Hiveconf.java default value is 15,but in Hive.java is 25
>  
> Hiveconf.java
> HIVE_MOVE_FILES_THREAD_COUNT("hive.mv.files.thread", 15, new SizeValidator(0L, true, 1024L, true), "Number of threads"
> + " used to move files in move task. Set it to 0 to disable multi-threaded file moves. This parameter is also used by"
> + " MSCK to check tables."),
> HIVE_LOAD_DYNAMIC_PARTITIONS_THREAD_COUNT("hive.load.dynamic.partitions.thread", 15,
> new SizeValidator(1L, true, 1024L, true),
>  
>  
> Hive.java
> final ExecutorService pool = conf.getInt(ConfVars.HIVE_MOVE_FILES_THREAD_COUNT.varname, 25) > 0 ?
> Executors.newFixedThreadPool(conf.getInt(ConfVars.HIVE_MOVE_FILES_THREAD_COUNT.varname, 25),
> new ThreadFactoryBuilder().setDaemon(true).setNameFormat("Move-Thread-%d").build()) : null;



--
This message was sent by Atlassian Jira
(v8.20.1#820001)