Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86AAA18D79 for ; Fri, 22 Jan 2016 17:07:40 +0000 (UTC) Received: (qmail 65691 invoked by uid 500); 22 Jan 2016 17:07:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 65589 invoked by uid 500); 22 Jan 2016 17:07:40 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 65553 invoked by uid 99); 22 Jan 2016 17:07:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2016 17:07:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DD9922C1F60 for ; Fri, 22 Jan 2016 17:07:39 +0000 (UTC) Date: Fri, 22 Jan 2016 17:07:39 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15152) Automatically include prefix-tree module in MR jobs if present 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-15152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112696#comment-15112696 ] Hudson commented on HBASE-15152: -------------------------------- SUCCESS: Integrated in HBase-1.0 #1137 (See [https://builds.apache.org/job/HBase-1.0/1137/]) HBASE-15152 Automatically include prefix-tree module in MR jobs if (jmhsieh: rev 24002e23623472d9e6d5e5a63c834eb442873bf1) * hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java > Automatically include prefix-tree module in MR jobs if present > -------------------------------------------------------------- > > Key: HBASE-15152 > URL: https://issues.apache.org/jira/browse/HBASE-15152 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 1.0.0 > Reporter: Jonathan Hsieh > Assignee: Jonathan Hsieh > Fix For: 2.0.0, 1.3.0, 1.2.1, 1.1.3, 1.0.4, 0.98.18 > > Attachments: hbase-15152.patch > > > I was running some MR jobs tests and ended up with PrefixTreeCodec class not found in the YarnChildren processes. > {code} > 2016-01-21 06:24:26,844 WARN [main] mapreduce.TableMapReduceUtil(785): The hbase-prefix-tree module jar containing PrefixTreeCodec is not present. > java.lang.ClassNotFoundException: org.apache.hadoop.hbase.code.prefixtree.PrefixTreeCodec > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > {code} > This is related to HBASE-7434 and HBASE-7936 which address compile time concerns. This fix makes it so that jar inclusion is done at run time, and continues if it is not present (for mr unit tests that don't depend on it) -- This message was sent by Atlassian JIRA (v6.3.4#6332)