[
https://issues.apache.org/jira/browse/HBASE-10061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836937#comment-13836937
]
Amit Sela commented on HBASE-10061:
-----------------------------------
At least in my use case, those jars are pre-deployed in the cluster so why fail
a job that will execute successfully ? I would add a configuration like Ted
suggested but I did not want to change method signatures (passing on
configuration) because I usually don't develop against trunk.
> 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
> Attachments: 10061-trunk.txt, HBASE-10061.patch
>
>
> 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)