[ 
https://issues.apache.org/jira/browse/HIVE-11630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710196#comment-14710196
 ] 

Thejas M Nair commented on HIVE-11630:
--------------------------------------

Other possible optimizations around the multiple copies of HiveConf (separate 
jiras might be better for these )-
1. Create new HiveConf objects using copy constructor (if its not already 
done), to avoid parsing the xml files every time
2. Create HiveConf that supports copy-on-write semantics, as hiveconf does not 
usually change that frequently.


> Use string intering with HiveConf to be more space efficient 
> -------------------------------------------------------------
>
>                 Key: HIVE-11630
>                 URL: https://issues.apache.org/jira/browse/HIVE-11630
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0, 0.14.0, 1.0.0, 1.2.0, 1.1.0, 1.1.1
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>
> The giant enum HiveConf#ConfVars has a String field varname. Each new session 
> on HiveServer2 creates a new conf object, which means wastefully creating the 
> varname string for each enum object. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to