[
https://issues.apache.org/jira/browse/HADOOP-18761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17731669#comment-17731669
]
Shilun Fan commented on HADOOP-18761:
-------------------------------------
[~weichiu] I checked the YARN-Federation module that uses MySQL and found that
we don't directly reference MySQL classes or include MySQL in the POM file.
Instead, we use JDBC to find the MySQL driver through reflection, based on the
user's configuration of "yarn.federation.state-store.sql.jdbc-class" in the
configuration file.
cc: [~elgoiri]
> Remove mysql-connector-java
> ---------------------------
>
> Key: HADOOP-18761
> URL: https://issues.apache.org/jira/browse/HADOOP-18761
> Project: Hadoop Common
> Issue Type: Task
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Priority: Blocker
> Labels: pull-request-available
>
> While preparing for 3.3.6 RC, I realized the mysql-connector-java dependency
> added by HADOOP-18535 is GPL licensed.
> Source: https://github.com/mysql/mysql-connector-j/blob/release/8.0/LICENSE
> See legal discussion at LEGAL-423.
> I looked at the original jira and github PR and I don't think the license
> issue was noticed.
> Is it possible to get rid of the mysql connector dependency? As far as I can
> tell the dependency is very limited.
> If not, I guess I'll have to revert the commits for now.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]