You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "guangbao zhao (Jira)" <ji...@apache.org> on 2021/08/23 13:03:00 UTC

[jira] [Updated] (HIVE-25474) concurrency add jars cause hiveserver2 sys cpu to high

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

guangbao zhao updated HIVE-25474:
---------------------------------
    Attachment:     (was: 0001-improvement-add-execute-permission-to-downloaded-res.patch)

> concurrency add jars cause hiveserver2 sys cpu to high
> ------------------------------------------------------
>
>                 Key: HIVE-25474
>                 URL: https://issues.apache.org/jira/browse/HIVE-25474
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive, HiveServer2
>    Affects Versions: 3.1.2
>            Reporter: guangbao zhao
>            Priority: Major
>             Fix For: 3.1.2
>
>
> In the Linux environment, when there are multiple concurrent add jars through HiveCli or JDBC, the system cpu will increase. The currently used FileUtil.chmod(dest, "ugo+rx", true); method is used for file authorization, However, in jdk7+, can use Files.setPosixFilePermissions(path, perms); for file authorization. The performance is seventy to eighty times that of the above. Why not apply this method?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)