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 95F6EDC28 for ; Fri, 15 Feb 2013 07:33:21 +0000 (UTC) Received: (qmail 54552 invoked by uid 500); 15 Feb 2013 07:33:18 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 53335 invoked by uid 500); 15 Feb 2013 07:33:16 -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 53270 invoked by uid 99); 15 Feb 2013 07:33:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 07:33:15 +0000 Date: Fri, 15 Feb 2013 07:33:15 +0000 (UTC) From: "Devaraj Das (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-7851) Include the guava classes as a dependency for jobs using mapreduce.TableMapReduceUtil 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-7851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devaraj Das resolved HBASE-7851. -------------------------------- Resolution: Fixed Committed to 0.94. > Include the guava classes as a dependency for jobs using mapreduce.TableMapReduceUtil > ------------------------------------------------------------------------------------- > > Key: HBASE-7851 > URL: https://issues.apache.org/jira/browse/HBASE-7851 > Project: HBase > Issue Type: Bug > Affects Versions: 0.94.4 > Reporter: Devaraj Das > Assignee: Devaraj Das > Fix For: 0.94.6 > > Attachments: 7851-1.patch > > > The guava classes go as a dependency for jobs using TableMapReduceUtil from the org.apache.hadoop.hbase.mapred package but the same doesn't happen for jobs using the same class from org.apache.hadoop.hbase.mapreduce package. Due to this, tasks of the mapreduce jobs that wants to communicate with a secure cluster fails. The stack trace of the failing tasks: > {quote} > Error: java.lang.ClassNotFoundException: com.google.common.collect.ImmutableSet > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at org.apache.hadoop.hbase.ipc.SecureServer.(SecureServer.java:96) > {quote} > We just need to add the dependency on the guava classes in the mapreduce.TableMapReduceUtil class. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira