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

storm-redis is missing dependant libraries in distribution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 2.0.0, 1.1.0
    • storm-redis
    • 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

              kabhwan Jungtaek Lim
              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