Daniel Klessing created STORM-1881:
--------------------------------------
Summary: 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
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. Dependending 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)