hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinna...@huawei.com
Subject Re: Review Request: HIVE-2182 Avoid null pointer exception when executing UDF
Date Fri, 09 Sep 2011 18:08:07 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1759/
-----------------------------------------------------------

(Updated 2011-09-09 18:08:07.528830)


Review request for hive and John Sichi.


Summary
-------

while executing UDF if the implementation jar is not present in MR class path it is throwing
nullpointer exception instead of throwing nullpointer exception throwing meaning full exception
with the required details.


This addresses bug HIVE-2182.
    https://issues.apache.org/jira/browse/HIVE-2182


Diffs (updated)
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java 1167000 
  trunk/ql/src/test/queries/clientnegative/udfnull.q PRE-CREATION 
  trunk/ql/src/test/results/clientnegative/udfnull.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/1759/diff


Testing
-------

Added unit tests


Thanks,

chinna


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message