[
https://issues.apache.org/jira/browse/STORM-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jungtaek Lim resolved STORM-1881.
---------------------------------
Resolution: Fixed
Assignee: Jungtaek Lim
Fix Version/s: 1.1.0
2.0.0
[~sakanaou]
With STORM-2016, you can just run storm jar with
{noformat}--artifacts org.apache.storm:storm-redis:<storm version>{noformat}
and it handles transitive dependencies.
You can also exclude some dependencies from storm-redis if topology has
conflicting dependencies.
Please refer below link to see how to use:
https://github.com/apache/storm/blob/1.x-branch/docs/Command-line-client.md#jar
NOTE: Storm 1.1.0 is not released yet, so you still need to wait more. Sorry
for the inconvenience.
> storm-redis is missing dependant libraries in distribution
> ----------------------------------------------------------
>
> Key: STORM-1881
> URL: https://issues.apache.org/jira/browse/STORM-1881
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-redis
> Affects Versions: 1.0.1
> Reporter: Daniel Klessing
> Assignee: Jungtaek Lim
> Fix For: 2.0.0, 1.1.0
>
>
> Despite the documentation on
> http://storm.apache.org/releases/1.0.1/State-checkpointing.html it is not
> enough to simply copy {{storm-redis-*.jar}} to {{extlib}} to get the
> {{RedisKeyValueStateProvider}} working. Depending jedis and
> apache-commons-pool2 jars are missing and must be copied by hand to get it
> working. Else one is greeted with exception stack traces like:
> {code}
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.pool2.impl.GenericObjectPoolConfig
> {code}
> or
> {code}
> Caused by: java.lang.ClassNotFoundException:
> redis.clients.jedis.JedisPoolConfig
> {code}
> Copying {{commons-pool2-2.4.2.jar}} and {{jedis-2.8.1.jar}} from hand to
> {{extlib}} solves the issue.
> It might be better to create a "fat" jar of {{storm-redis-*.jar}} or provide
> documentation, which libraries have to be made available.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)