[
https://issues.apache.org/jira/browse/STORM-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387401#comment-15387401
]
Jungtaek Lim commented on STORM-1435:
-------------------------------------
Bobby's suggest assumes some preconditions,
1) User knows which jars user should add to the classpath.
2) User already has jar files to upload to distribute cache.
If we met two preconditions, we just create the directory and put jars there,
and adjust topology.classpath to include them when only topology is submitted
for "storm sql".
It can be done with simple technique since we know missing jars.
I'm seeking that there's better way to resolve this, say, dynamically. I don't
want to know the dependency of storm-sql-core and storm-sql-kafka manually. I
did it for STORM-1993, but it takes a hour or so to find out the combination,
and it is easily broken when we update the dependency.
Zeppelin seems to handle dependencies of interpreter dynamically, so I'm trying
to have a look at.
> Build a single jar with dependency for StormSQL dependency
> ----------------------------------------------------------
>
> Key: STORM-1435
> URL: https://issues.apache.org/jira/browse/STORM-1435
> Project: Apache Storm
> Issue Type: New Feature
> Reporter: Haohui Mai
>
> Currently StormSQL requires all dependency of the topology to reside in
> either the `lib` or the `extlib` directory. It will greatly improve the
> usability if StormSQL can provide a mechanism to pack all dependency with the
> jar compiled from the topology.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)