Attila Turoczy created HIVE-29811:
-------------------------------------

             Summary: HS2 slow start in Kubernetes
                 Key: HIVE-29811
                 URL: https://issues.apache.org/jira/browse/HIVE-29811
             Project: Hive
          Issue Type: Improvement
          Components: HiveServer2
            Reporter: Attila Turoczy


HiveServer2 is slow and cold-start time is dominated by JVM class loading of 
the large *Hive/Hadoop/Tez/Calcite* class graph. Every process start re-parses 
and verifies thousands of classes from jars. The base-JDK CDS archive (enabled 
by \{{-Xshare:auto}}) covers only JDK classes. Hive/Hadoop/Tez/Calcite 
application classes are NOT archived, so they are re-loaded from jars every 
time.


AI Recommendation:
_AppCDS commonly reduces combined JVM + application startup by roughly 20–40% 
for large class graphs by memory-mapping pre-parsed class metadata instead of 
re-reading jars. The exact figure for HS2 should be confirmed with the 
reproduction above on a reference image; the point of the ticket is to make 
that win available and documented out of the box._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to