BigData / Apache StreamPark Interview questions
Why isn't the MySQL JDBC driver bundled with StreamPark by default?
It's a licensing conflict, not an oversight. StreamPark is released under the Apache License 2.0, and the widely used MySQL Connector/J driver is distributed under a GPL-based license. Apache Software Foundation policy doesn't allow shipping GPL-licensed code inside an Apache-licensed release, so the driver simply can't be bundled into StreamPark's distribution.
In practice, this shows up during production installation: after picking MySQL as the metadata database, you download the driver jar (commonly the 8.x line) separately and place it in $STREAMPARK_HOME/lib yourself before StreamPark can connect to it.
It's a small extra manual step, but it's an unavoidable consequence of mixing an Apache-licensed project with a database whose official driver isn't license-compatible for redistribution.
More Related questions...