From dev-return-79248-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Wed May 13 10:50:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8798E18064A for ; Wed, 13 May 2020 12:50:02 +0200 (CEST) Received: (qmail 19435 invoked by uid 500); 13 May 2020 10:50:01 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 19418 invoked by uid 99); 13 May 2020 10:50:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2020 10:50:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A9952E2F0E for ; Wed, 13 May 2020 10:50:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 29CC8780395 for ; Wed, 13 May 2020 10:50:00 +0000 (UTC) Date: Wed, 13 May 2020 10:50:00 +0000 (UTC) From: "Duo Zhang (Jira)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-24309) Avoid introducing log4j and slf4j-log4j dependencies for modules other than hbase-assembly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-24309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang resolved HBASE-24309. ------------------------------- Hadoop Flags: Reviewed Resolution: Fixed Pushed to branch-2.3+. Thanks [~stack] for reviewing. > Avoid introducing log4j and slf4j-log4j dependencies for modules other than hbase-assembly > ------------------------------------------------------------------------------------------ > > Key: HBASE-24309 > URL: https://issues.apache.org/jira/browse/HBASE-24309 > Project: HBase > Issue Type: Sub-task > Components: logging, pom > Reporter: Duo Zhang > Assignee: Duo Zhang > Priority: Major > Fix For: 3.0.0-alpha-1, 2.3.0 > > > In general, a library should not force the down stream users to use a specific logging framework, and this is why there is a slf4j library. > For HBase, since we also publish the testing-util module which almost depends on all other sub modules, we should not introduce logging dependencies other than slf4j-api in these modules. We should only add log4j dependencies in hbase-assembly and ship it with our binary distribution. > This is also important for switching to log4j2. -- This message was sent by Atlassian Jira (v8.3.4#803005)