You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Andy Grove (JIRA)" <ji...@apache.org> on 2019/04/03 15:54:01 UTC

[jira] [Commented] (PARQUET-1556) Add twitter maven repo to POM for hadoop-lzo dependency

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

Andy Grove commented on PARQUET-1556:
-------------------------------------

I'm also curious to understand the implications of adding a library that depends on GPL licensed codec. Is this dependency just used for tests?
{code:java}
Since LZO is GPL licensed it doesn't come bundled with Hadoop installation. You will have to install it separately.{code}

> Add twitter maven repo to POM for hadoop-lzo dependency
> -------------------------------------------------------
>
>                 Key: PARQUET-1556
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1556
>             Project: Parquet
>          Issue Type: Improvement
>    Affects Versions: 1.11.0
>            Reporter: Andy Grove
>            Assignee: Andy Grove
>            Priority: Major
>             Fix For: 1.12.0
>
>
> Running mvn verify based on the instructions in the README results in this error
> {code:java}
> Could not resolve dependencies for project org.apache.parquet:parquet-thrift:jar:1.11.0: Could not find artifact com.hadoop.gplcompression:hadoop-lzo:jar:0.4.16{code}
> As a workaround, the local ~/.m2/settings.xml file can be modified to include the twitter maven repo:
> {code:java}
> <repository>
>   <id>twitter</id>
>   <name>twitter</name>
>   <url>http://maven.twttr.com</url>
> </repository>
> {code}
> After adding this, {{mvn verify}} works. The proper solution, however, is to include this repo in the POM files.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)