Sergey Shelukhin created HIVE-5377:
--------------------------------------
Summary: the error handling in serialize/deserializeExpression is
insufficient, some test may pass in error
Key: HIVE-5377
URL: https://issues.apache.org/jira/browse/HIVE-5377
Project: Hive
Issue Type: Bug
Reporter: Sergey Shelukhin
Assignee: Owen O'Malley
TestSearchArgumentImpl output has stuff like this:
{code}
Continuing ...
java.lang.NoSuchMethodException: <unbound>=GenericUDFBridge.setUdfClass(Class);
Continuing ...
java.lang.NoSuchMethodException: <unbound>=GenericUDFBridge.setUdfClass(Class);
{code}
XMLDecoder used in deserializeExpression by default would swallow some
exceptions, such as the ones above; setExceptionListener can be used to receive
those.
When I set the listener to inline class that would rethrow them wrapped in
RuntimeException, the test failed.
Discovered in HIVE-4914.
It may be a test-specific issue, or some general Expr serialization issue that
may affect the real case.
Also Kryo can now be used for serializing stuff.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira