[ 
https://issues.apache.org/jira/browse/HIVE-26090?focusedWorklogId=778792&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-778792
 ]

ASF GitHub Bot logged work on HIVE-26090:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jun/22 00:17
            Start Date: 07/Jun/22 00:17
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] closed pull request #3151: 
HIVE-26090
URL: https://github.com/apache/hive/pull/3151




Issue Time Tracking
-------------------

    Worklog Id:     (was: 778792)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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.7#820007)

Reply via email to