You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Swapnil Ghike (JIRA)" <ji...@apache.org> on 2012/10/12 22:07:03 UTC

[jira] [Created] (KAFKA-570) Kafka should not need snappy jar at runtime

Swapnil Ghike created KAFKA-570:
-----------------------------------

             Summary: Kafka should not need snappy jar at runtime
                 Key: KAFKA-570
                 URL: https://issues.apache.org/jira/browse/KAFKA-570
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.8
            Reporter: Swapnil Ghike
            Priority: Blocker
             Fix For: 0.8.1


CompressionFactory imports snappy jar in a pattern match. The purpose of importing it this way seems to be avoiding the import unless snappy compression is actually required. However, kafka throws a ClassNotFoundException if snappy jar is removed at runtime from lib_managed. 

This exception can be easily seen by producing some data with the console producer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira