flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1605) Create a shaded Hadoop fat jar to resolve library version conflicts
Date Tue, 10 Mar 2015 09:42:41 GMT

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

ASF GitHub Bot commented on FLINK-1605:
---------------------------------------

Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/454#discussion_r26108286
  
    --- Diff: flink-shaded-hadoop/flink-shaded-include-yarn/pom.xml ---
    @@ -0,0 +1,286 @@
    +<?xml version="1.0" encoding="UTF-8"?>
    +<!--
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +
    +  http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing,
    +software distributed under the License is distributed on an
    +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +KIND, either express or implied.  See the License for the
    +specific language governing permissions and limitations
    +under the License.
    +-->
    +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    +	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    +
    +	<modelVersion>4.0.0</modelVersion>
    +
    +	<parent>
    +		<groupId>org.apache.flink</groupId>
    +		<artifactId>flink-shaded-hadoop</artifactId>
    +		<version>0.9-SNAPSHOT</version>
    +		<relativePath>..</relativePath>
    +	</parent>
    +
    +	<artifactId>flink-shaded-include-yarn</artifactId>
    +	<name>flink-shaded-include-yarn</name>
    +
    +	<packaging>jar</packaging>
    +
    +	<dependencies>
    +		<dependency>
    +			<groupId>org.apache.hadoop</groupId>
    +			<artifactId>hadoop-common</artifactId>
    +			<version>${hadoop.version}</version>
    +			<exclusions>
    +				<exclusion>
    +					<groupId>asm</groupId>
    +					<artifactId>asm</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>tomcat</groupId>
    +					<artifactId>jasper-compiler</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>tomcat</groupId>
    +					<artifactId>jasper-runtime</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jetty</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jsp-api-2.1</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jsp-2.1</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jetty-util</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.eclipse.jdt</groupId>
    +					<artifactId>core</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>javax.servlet</groupId>
    +					<artifactId>servlet-api</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>javax.servlet.jsp</groupId>
    +					<artifactId>jsp-api</artifactId>
    +				</exclusion>
    +			</exclusions> 
    +		</dependency>
    +
    +		<dependency>
    +			<groupId>org.apache.hadoop</groupId>
    +			<artifactId>hadoop-hdfs</artifactId>
    +			<version>${hadoop.version}</version>
    +			<exclusions>
    +				<exclusion>
    +					<groupId>asm</groupId>
    +					<artifactId>asm</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>tomcat</groupId>
    +					<artifactId>jasper-compiler</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>tomcat</groupId>
    +					<artifactId>jasper-runtime</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jetty</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jsp-api-2.1</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jsp-2.1</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.mortbay.jetty</groupId>
    +					<artifactId>jetty-util</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>org.eclipse.jdt</groupId>
    +					<artifactId>core</artifactId>
    +				</exclusion>
    +				<exclusion>
    +					<groupId>javax.servlet</groupId>
    +					<artifactId>servlet-api</artifactId>
    +				</exclusion>
    +			</exclusions>
    +		</dependency>
    +
    +		<dependency>
    +			<groupId>org.apache.hadoop</groupId>
    +			<artifactId>hadoop-mapreduce-client-core</artifactId>
    +			<version>${hadoop.version}</version>
    +			<exclusions>
    +				<exclusion>
    +					<groupId>asm</groupId>
    --- End diff --
    
    I this groupId correct, or should it be `org.ow2.asm` ?


> Create a shaded Hadoop fat jar to resolve library version conflicts
> -------------------------------------------------------------------
>
>                 Key: FLINK-1605
>                 URL: https://issues.apache.org/jira/browse/FLINK-1605
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 0.9
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>
> As per mailing list discussion: http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Create-a-shaded-Hadoop-fat-jar-to-resolve-library-version-conflicts-td3881.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message