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

David Knupp commented on IMPALA-9648:
-------------------------------------

I'm having some trouble with syntax. Note that the netty dependency is now 
appearing under Zookeeper, which is itself nested below hadoop where I 
originally added the exclusion (org.apache.zookeeper isn't even explicitly 
listed in our pom.xml, so I guess it's just pulled in automatically by hadoop).

If I try to add a zookeeper dependency node so that I can specify an exclusion 
for netty (since all exclusions seem to be contained within dependencies, 
otherwise you get syntax errors) I see:
{noformat}
[ERROR] 'dependencies.dependency.version' for 
org.apache.zookeeper:zookeeper:jar is missing. @ line 79, column 17
{noformat}

Also, when I looked up excludes in the maven docs, it says this.

"Exclusions work on the entire dependency graph below the point where they are 
declared. "
(from 
https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html)

But this isn't the behavior I'm seeing. If I'm reading this correctly, since 
zookeeper is nested below hadoop, I would expect that excluding netty from 
hadoop would also mean it's excluded for all sub-dependencies as well.

I really don't know anything about maven, or how Java packages are built.

> Exclude or update netty jar
> ---------------------------
>
>                 Key: IMPALA-9648
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9648
>             Project: IMPALA
>          Issue Type: Task
>            Reporter: Abhishek Rawat
>            Assignee: David Knupp
>            Priority: Major
>
> Add exclusion for netty if not being used. Or update it to version 4.1.44 or 
> later.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to