Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1881

storm-redis is missing dependant libraries in distribution

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 2.0.0, 1.1.0
    • Component/s: storm-redis
    • Labels:
      None

      Description

      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:

      Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool2.impl.GenericObjectPoolConfig
      

      or

      Caused by: java.lang.ClassNotFoundException: redis.clients.jedis.JedisPoolConfig
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kabhwan Jungtaek Lim
                Reporter:
                sakanaou Daniel Klessing
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h