[
https://issues.apache.org/jira/browse/HIVE-25474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on HIVE-25474 started by guangbao zhao.
--------------------------------------------
> 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
> Assignee: guangbao zhao
> Priority: Major
> Fix For: 3.1.2
>
> Attachments: HIVE-25474.patch
>
>
> 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)