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

Raghav Aggarwal commented on HIVE-29258:
----------------------------------------

[~dengzh]  Yes, I'll pick it up shortly.

> Remove Class.forName() for driver loading
> -----------------------------------------
>
>                 Key: HIVE-29258
>                 URL: https://issues.apache.org/jira/browse/HIVE-29258
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Raghav Aggarwal
>            Assignee: Raghav Aggarwal
>            Priority: Minor
>
> For example in HiveSchemaHelper.java, Class.forName(driver) is explicitly 
> used. 
>  
> https://github.com/apache/hive/blob/4f7140f0b324b5f2abde10acb671fd1f2ced9517/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/schematool/HiveSchemaHelper.java#L85
>  
> But with JDBC 4+ DriverManager should automatically take care of 
> classloading. 



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

Reply via email to