Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DBE2C200CA7 for ; Wed, 31 May 2017 04:40:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DA7B0160BDC; Wed, 31 May 2017 02:40:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 05167160BC9 for ; Wed, 31 May 2017 04:40:24 +0200 (CEST) Received: (qmail 29299 invoked by uid 500); 31 May 2017 02:40:24 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 29287 invoked by uid 99); 31 May 2017 02:40:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 02:40:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4F29B180BB1 for ; Wed, 31 May 2017 02:40:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.496 X-Spam-Level: X-Spam-Status: No, score=-1.496 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6t7V_Rr5PG7X for ; Wed, 31 May 2017 02:40:21 +0000 (UTC) Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4FE365FE1E for ; Wed, 31 May 2017 02:40:20 +0000 (UTC) Received: by mail-qk0-f176.google.com with SMTP id d14so2174617qkb.1 for ; Tue, 30 May 2017 19:40:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=JAs7DZI0Er2ahvHdQFA08hxL6Qli4tiwLIn/MWjva+0=; b=LjOJv+s58ozuBeJu2rBQK4rMy5LUo8ufNqV7ch7TEWVjoNDg3vyQXtneLVMA98uUOq V63160ALxXSCd8DL9LcnDtxRm7lTg6JiQCE89e2IVxe1Z/kQNzIo5jPljEh9jl2hHtWD 2GPU413dwD1uTP8CC45r7WWvEDpJR+ktkJbVx9xlcExfgEFEVBl6EK+0MTtOvlkSW9sZ IAsxxo2RNSGC0HTczeiB/VoXkZ/4U1HevWFowSef7vfa2UP+UUKtwudGRkOnhF/SxKzI U3e3gtxXtgY1Nbyth+nbMA3cf7kxOjmSEuJ0/LcSYfRFFygc+ubU3AOeIK1kWnZQ9nV8 dunA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=JAs7DZI0Er2ahvHdQFA08hxL6Qli4tiwLIn/MWjva+0=; b=bR1vDsISDZEZpRwgSscGof4qKTMr925swF8O8YQkqfSVs58qq4g2LeHQjsT85TVs7g 1KH1gszwb9Nxd+YQSEArL5zr//mftsp976whVWHDU04tc2DRLSMgX0Il5C+bCI9tRDup LhhyVbVV1uoe7yBdLX7yfp6jis84XIZofMNjt8kRh6vj5DRHD4nWQFtBZZ7no22ck4QU uiiNPXWZnVqAoGOoUJsWBRPQZgvXonOKgRlGciLmyVoClaO5WpP/vLYUrsGKp9diwUQL n6Pv+S/52OtaU9O5o/so2iHbuJiVyvJBuz2e3b9kJ95Kuxtt10mQeroh/7dLGLP8lYxz +uBQ== X-Gm-Message-State: AODbwcBNZyZXB239fVL4bREp/IFLo8rkuJLxEmvYMKqWZLfG1SP1ez9o PLQ8qEqHo2ls8S+rpwEYWoYcmY3QJQ== X-Received: by 10.55.209.216 with SMTP id o85mr24930375qkl.131.1496198418963; Tue, 30 May 2017 19:40:18 -0700 (PDT) MIME-Version: 1.0 Sender: shaposhnik@gmail.com Received: by 10.237.58.42 with HTTP; Tue, 30 May 2017 19:40:18 -0700 (PDT) In-Reply-To: References: From: Roman Shaposhnik Date: Tue, 30 May 2017 19:40:18 -0700 X-Google-Sender-Auth: kaqVUSTgRWxTu-sOBrCf1q4QNk4 Message-ID: Subject: Re: Layout of LICENSE, NOTICE, and DISCLAIMER files for Apache HAWQ 2.2.0.0-incubating rpm binary release To: dev@hawq.incubator.apache.org Cc: Roman Shaposhnik , Hongxu Ma Content-Type: text/plain; charset="UTF-8" archived-at: Wed, 31 May 2017 02:40:26 -0000 It seems I need to spend a bit more time with Ranger artifact -- let me tinker some more and I'll let you guys know. In the meantime, I propose we go ahead with declaring C/C++ binary dependencies in our LICENSE/NOTICE. Thanks, Roman. On Fri, May 26, 2017 at 10:06 PM, Ruilong Huo wrote: > Hi Roman, > > The stax-api and jabx-impl are bundled in Ranger, NOT PXF. To be specific, > they are in hawq-ranger-plugin-2.2.0.0-1.el7.centos.noarch.rpm which is in > apache-hawq-rpm-2.2.0.0-incubating.tar.gz > > . > You can get them with "rpm2cpio > hawq-ranger-plugin-2.2.0.0-1.el7.centos.noarch.rpm | cpio -div". > > The details of the dependency shows that: stax-api and jabx-impl is > dependency of hadoop-common, while hadoop-common is dependency ranger > plugin in hawq. > > *$ mvn project-info-reports:dependencies* > *[INFO] Scanning for projects...* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] Reactor Build Order:* > *[INFO]* > *[INFO] HAWQ Ranger Plugin* > *[INFO] HAWQ Ranger Admin Plugin* > *[INFO] HAWQ Ranger Service* > *[INFO]* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] Building HAWQ Ranger Admin Plugin 2.2.0.0* > *[INFO] > ------------------------------------------------------------------------* > *[INFO]* > *[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ > ranger-plugin-admin ---* > *[INFO] org.apache.hawq:ranger-plugin-admin:jar:2.2.0.0* > *[INFO] +- org.apache.ranger:ranger-plugins-common:jar:0.6.0:compile* > *[INFO] | +- org.apache.hadoop:hadoop-common:jar:2.7.1:compile* > *[INFO] | | +- com.sun.jersey:jersey-json:jar:1.9:compile* > *[INFO] | | | +- org.codehaus.jettison:jettison:jar:1.1:compile* > *[INFO] | | | +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile* > *[INFO] | | | | \- javax.xml.bind:jaxb-api:jar:2.2.2:compile* > *[INFO] | | | | +- javax.xml.stream:stax-api:jar:1.0-2:compile* > *[INFO] | | | | \- javax.activation:activation:jar:1.1:compile* > *[INFO] ......* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] Building HAWQ Ranger Service 2.2.0.0* > *[INFO] > ------------------------------------------------------------------------* > *[INFO]* > *[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ > ranger-plugin-service ---* > *[INFO] org.apache.hawq:ranger-plugin-service:war:2.2.0.0* > *[INFO] +- org.apache.ranger:ranger-plugins-common:jar:0.6.0:compile* > *[INFO] | +- org.apache.hadoop:hadoop-common:jar:2.7.1:compile* > *[INFO] | | +- com.sun.jersey:jersey-json:jar:1.9:compile* > *[INFO] | | | +- org.codehaus.jettison:jettison:jar:1.1:compile* > *[INFO] | | | \- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile* > *[INFO] | | | \- javax.xml.bind:jaxb-api:jar:2.2.2:compile* > *[INFO] | | | +- javax.xml.stream:stax-api:jar:1.0-2:compile* > *[INFO] | | | \- javax.activation:activation:jar:1.1:compile* > *[INFO] ......* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] Reactor Summary:* > *[INFO]* > *[INFO] HAWQ Ranger Plugin ................................. SUCCESS [ > 0.425 s]* > *[INFO] HAWQ Ranger Admin Plugin ........................... SUCCESS [ > 0.252 s]* > *[INFO] HAWQ Ranger Service ................................ SUCCESS [ > 0.099 s]* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] BUILD SUCCESS* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] Total time: 0.992 s* > *[INFO] Finished at: 2017-05-22T17:24:15+08:00* > *[INFO] Final Memory: 19M/437M* > *[INFO] > ------------------------------------------------------------------------* > > Best regards, > Ruilong Huo > > On Sat, May 27, 2017 at 7:32 AM, Roman Shaposhnik > wrote: > >> On Fri, May 26, 2017 at 8:11 AM, Ruilong Huo wrote: >> > Hi Roman, >> > >> > Thanks for your feedback! >> > >> > We will merge the license information for the C/C++ components and >> prepare >> > LICENSE and NOTICE files accordingly. >> >> Great! Let me know when can I review the actual files. >> >> > As for JSON in PXF which is incompatible with ASL v2, the fix is to >> replace >> > it with some library which is compatible or remove it? >> >> Correct. Here's a list of alternative libraries you should start migrating >> to: >> https://wiki.debian.org/qa.debian.org/jsonevil >> >> There's also http://johnzon.apache.org/ >> >> And finally: >> >> >> com.tdunning >> json >> 1.0 >> >> >> > Furthermore, Hongxu helped to get the license information for Ranger as >> > well and it turns out that there two dependencies with GPL license which >> is >> > also not compatible with ASL v2: >> > >> > 1. stax-api-1.0-2.jar (GPL): StAX is a standard XML processing API that >> > allows you to stream XML data from and to your application. >> > >> > 2. jaxb-impl-2.2.3-1.jar (CDDL 1.1 GPL 2.0): Old JAXB Runtime module. >> > Contains sources required for runtime processing. >> > >> > They are actually directly required by hadoop common and thus is >> indirectly >> > required by HAWQ Ranger. >> >> I still need to double check it -- but I think those just bring in the >> APIs which >> get replaced during the runtime. Will take a deeper look, though. >> >> > They are bundled hawq binary during packaging with >> > maven. >> >> Wait. Where are they bundled? I don't see them as part of PXF? > > > > >> Thanks, >> Roman. >>