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/05/30 00:25:00 UTC

[jira] [Work logged] (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?focusedWorklogId=775747&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-775747 ]

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

                Author: ASF GitHub Bot
            Created on: 30/May/22 00:24
            Start Date: 30/May/22 00:24
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on PR #3151:
URL: https://github.com/apache/hive/pull/3151#issuecomment-1140557438

   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.




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

    Worklog Id:     (was: 775747)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)