hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10061) TableMapReduceUtil.findOrCreateJar calls updateMap(null, ) resulting in thrown NPE
Date Mon, 02 Dec 2013 04:37:42 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836236#comment-13836236
] 

Anoop Sam John commented on HBASE-10061:
----------------------------------------

bq.(like it used to be in previous versions, i.e., 0.94.2) 
You mean this behavior is changed from 94.2?  Know which issue done that change any why. Trying
to understand the reason for such a change if any.

> TableMapReduceUtil.findOrCreateJar calls updateMap(null, ) resulting in thrown NPE
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-10061
>                 URL: https://issues.apache.org/jira/browse/HBASE-10061
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 0.94.12
>            Reporter: Amit Sela
>
> TableMapReduceUtil.findOrCreateJar line 596:
> jar = getJar(my_class);
> updateMap(jar, packagedClasses);
> In case getJar returns null, updateMap will throw NPE.
> Should check null==jar before calling updateMap.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message