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 B799A200BBD for ; Tue, 8 Nov 2016 23:47:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B61A4160AD0; Tue, 8 Nov 2016 22:47:01 +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 08B78160B0A for ; Tue, 8 Nov 2016 23:47:00 +0100 (CET) Received: (qmail 8494 invoked by uid 500); 8 Nov 2016 22:47:00 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 8447 invoked by uid 99); 8 Nov 2016 22:47:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2016 22:47:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E940E2C0005 for ; Tue, 8 Nov 2016 22:46:59 +0000 (UTC) Date: Tue, 8 Nov 2016 22:46:59 +0000 (UTC) From: "Sean Busbey (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11804) POC Hadoop Client w/o transitive dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 08 Nov 2016 22:47:01 -0000 [ https://issues.apache.org/jira/browse/HADOOP-11804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15649040#comment-15649040 ] Sean Busbey commented on HADOOP-11804: -------------------------------------- {quote} I tried it with Avro and got NoClassDefFound for Log4J I think this is expected based on the contents of the hadoop-client-runtime pom.xml, which marks log4j as optional. {quote} Yes, that's correct. Since Avro uses JobConf it will have to add a dependency on log4j. I'll make sure to call that out in docs that provide examples of use. If I wanted to try to refactor out the use of log4j in JobConf, do you think that'd be feasible in time for 3.0? {quote} I decompiled the SerializationFactory class, and noticed that it messed with the config key. I think we need to add some kind of exclusion for CommonConfigurationKeysPublic. {code} // before if (conf.get(CommonConfigurationKeys.IO_SERIALIZATIONS_KEY).equals("")) { // decompiled if (conf.get("org.apache.hadoop.shaded.io.serializations").equals("")) { {code} {quote} Interesting. Let me figure out a test for this and come up with a fix. > POC Hadoop Client w/o transitive dependencies > --------------------------------------------- > > Key: HADOOP-11804 > URL: https://issues.apache.org/jira/browse/HADOOP-11804 > Project: Hadoop Common > Issue Type: Sub-task > Components: build > Reporter: Sean Busbey > Assignee: Sean Busbey > Attachments: HADOOP-11804.1.patch, HADOOP-11804.2.patch, HADOOP-11804.3.patch, HADOOP-11804.4.patch, HADOOP-11804.5.patch, HADOOP-11804.6.patch, HADOOP-11804.7.patch > > > make a hadoop-client-api and hadoop-client-runtime that i.e. HBase can use to talk with a Hadoop cluster without seeing any of the implementation dependencies. > see proposal on parent for details. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org