Changes for Build #1112
[jvs] HIVE-2561 [jira] Add an annotation to UDFs to allow them to specify
additional
FILE/JAR resources necessary for execution
Summary:
Add requirements.
Often times UDFs will have dependencies to external JARs/FILEs. It makes sense
for these to be encoded by the UDF (rather than having the caller remember the
set of files that need to be ADDed). Let's add an annotation to UDFs which will
cause these resources to be auto-added.
Test Plan: EMPTY
Reviewers: JIRA, jsichi
Reviewed By: jsichi
CC: jsichi, jonchang, atfiore
Differential Revision: 507
1 tests failed.
REGRESSION: org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ppr_pushdown
Error Message:
Unexpected exception See build/ql/tmp/hive.log, or try "ant test ...
-Dtest.silent=false" to get more logs.
Stack Trace:
junit.framework.AssertionFailedError: Unexpected exception
See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get
more logs.
at junit.framework.Assert.fail(Assert.java:50)
at
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ppr_pushdown(TestCliDriver.java:25406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)
The Apache Jenkins build system has built Hive-trunk-h0.21 (build #1112)
Status: Failure
Check console output at https://builds.apache.org/job/Hive-trunk-h0.21/1112/ to
view the results.