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 E301E10C61 for ; Thu, 7 Nov 2013 08:41:20 +0000 (UTC) Received: (qmail 97401 invoked by uid 500); 7 Nov 2013 08:41:18 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 97374 invoked by uid 500); 7 Nov 2013 08:41:18 -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 97359 invoked by uid 99); 7 Nov 2013 08:41:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 08:41:17 +0000 Date: Thu, 7 Nov 2013 08:41:17 +0000 (UTC) From: =?utf-8?Q?=E5=88=98=E6=B3=93_=28JIRA=29?= To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9913) weblogic deployment project implementation under the mapreduce hbase reported a NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9913?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] =E5=88=98=E6=B3=93 updated HBASE-9913: ---------------------- Summary: weblogic deployment project implementation under the mapreduce= hbase reported a NullPointerException (was: weblogic deployment project i= mplementation under the mapreduce hbase reported a NullPointer error ) > weblogic deployment project implementation under the mapreduce hbase repo= rted a NullPointerException > -------------------------------------------------------------------------= --------------------------- > > Key: HBASE-9913 > URL: https://issues.apache.org/jira/browse/HBASE-9913 > Project: HBase > Issue Type: Bug > Components: hadoop2 > Affects Versions: 0.94.10 > Environment: weblogic windows > Reporter: =E5=88=98=E6=B3=93 > Labels: patch > Fix For: 0.94.10 > > Attachments: TableMapReduceUtil.class, TableMapReduceUtil.java > > > java.lang.NullPointerException > =09at java.io.File.(File.java:222) > =09at java.util.zip.ZipFile.(ZipFile.java:75) > =09at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.updateMap(Tabl= eMapReduceUtil.java:617) > =09at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.findOrCreateJa= r(TableMapReduceUtil.java:597) > =09at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addDependencyJ= ars(TableMapReduceUtil.java:557) > =09at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addDependencyJ= ars(TableMapReduceUtil.java:518) > =09at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMappe= rJob(TableMapReduceUtil.java:144) > =09at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMappe= rJob(TableMapReduceUtil.java:221) > =09at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMappe= rJob(TableMapReduceUtil.java:87) > =09at com.easymap.ezserver6.map.source.hbase.convert.HBaseMapMerge.beginM= erge(HBaseMapMerge.java:163) > =09at com.easymap.ezserver6.app.servlet.EzMapToHbaseService.doPost(EzMapT= oHbaseService.java:32) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > =09at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.r= un(StubSecurityHelper.java:227) > =09at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecu= rityHelper.java:125) > =09at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.j= ava:292) > =09at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.j= ava:175) > =09at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAct= ion.run(WebAppServletContext.java:3594) > =09at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authentica= tedSubject.java:321) > =09at weblogic.security.service.SecurityManager.runAs(SecurityManager.jav= a:121) > =09at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAp= pServletContext.java:2202) > =09at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServle= tContext.java:2108) > =09at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl= .java:1432) > =09at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > =09at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) > >=20 > by respective the hbase source code under weblogic,we found TableMapRedu= ceUtil.findOrCreateJar returned string is null.because under tomcat ,jar fi= le's protocol is jar type, but under weblogic ,jar file's protocol is zip t= ype,and the findOrCreateJar method cann't resolve zip type, so we should jo= in zip type judgement -- This message was sent by Atlassian JIRA (v6.1#6144)