Aihua Xu created HIVE-18986:
-------------------------------

             Summary: Table rename will run java.lang.StackOverflowError in 
dataNucleus if the table contains large number of columns
                 Key: HIVE-18986
                 URL: https://issues.apache.org/jira/browse/HIVE-18986
             Project: Hive
          Issue Type: Improvement
          Components: Standalone Metastore
            Reporter: Aihua Xu
            Assignee: Aihua Xu
             Fix For: 3.0.0


If the table contains a lot of columns e.g, 5k, simple table rename would fail 
with the following stack trace. The issue is datanucleus can't handle the query 
with lots of colName='c1' && colName='c2'.

 

2018-03-13 17:19:52,770 INFO 
org.apache.hadoop.hive.metastore.HiveMetaStore.audit: [pool-5-thread-200]: 
ugi=anonymous ip=10.17.100.135 cmd=source:10.17.100.135 alter_table: db=default 
tbl=fgv_full_var_pivoted02 newtbl=fgv_full_var_pivoted 2018-03-13 17:20:00,495 
ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler: [pool-5-thread-200]: 
java.lang.StackOverflowError at 
org.datanucleus.store.rdbms.sql.SQLText.toSQL(SQLText.java:330) at 
org.datanucleus.store.rdbms.sql.SQLText.toSQL(SQLText.java:339) at 
org.datanucleus.store.rdbms.sql.SQLText.toSQL(SQLText.java:339) at 
org.datanucleus.store.rdbms.sql.SQLText.toSQL(SQLText.java:339) at 
org.datanucleus.store.rdbms.sql.SQLText.toSQL(SQLText.java:339)

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to