[ 
https://issues.apache.org/jira/browse/HADOOP-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042554#comment-13042554
 ] 

Todd Lipcon commented on HADOOP-7350:
-------------------------------------

- We should probably remove the codecs from core-default.xml now that they're 
loaded via ServiceLoader
- Is there a way to inject a new codec programatically through the 
ServiceLoader interface? If so, we could entirely deprecate 
io.compression.codecs. If not, maybe we should rename it to something like 
io.compression.extra.codecs and specify that it's only necessary if you have a 
codec that doesn't expose itself through ServiceLoader?
- hdfs-default.xml has an item dfs.image.compression.codec that needs to be 
updated

> Use ServiceLoader to discover compression codec classes
> -------------------------------------------------------
>
>                 Key: HADOOP-7350
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7350
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf, io
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: HADOOP-7350.patch
>
>
> By using a ServiceLoader users wouldn't have to add codec classes to 
> io.compression.codecs for codecs that aren't shipped with Hadoop (e.g. LZO), 
> since they would be automatically picked up from the classpath.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to