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

Nick Dimiduk commented on HBASE-10061:
--------------------------------------

The user application has requested that the jar for a class be packaged and 
sent to the cluster. That jar was not available at the time of submission, so 
the request is failed. If the job doesn't need the jar shipped to the cluster, 
it shouldn't add a representative class to this method's invocation list.

Just curious, can you describe your scenario in a little more detail? I'm 
surprised you're able to instantiate a Class object for a class that isn't 
available on the classpath. Or is it there, just as a .class file entry instead 
of in a jar?

> 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)

Reply via email to