[ https://issues.apache.org/jira/browse/HIVE-14139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15363230#comment-15363230 ]
Hive QA commented on HIVE-14139: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12816188/HIVE-14139.3.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 10296 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_12 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_13 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_stats_list_bucket org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_multiinsert org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_vector_complex_all org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver_vector_complex_join {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/371/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/371/console Test logs: http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-371/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12816188 - PreCommit-HIVE-MASTER-Build > NPE dropping permanent function > ------------------------------- > > Key: HIVE-14139 > URL: https://issues.apache.org/jira/browse/HIVE-14139 > Project: Hive > Issue Type: Bug > Reporter: Rui Li > Assignee: Rui Li > Attachments: HIVE-14139.1.patch, HIVE-14139.2.patch, > HIVE-14139.3.patch > > > To reproduce: > 1. Start a CLI session and create a permanent function. > 2. Exit current CLI session. > 3. Start a new CLI session and drop the function. > Stack trace: > {noformat} > FAILED: error during drop function: java.lang.NullPointerException > at > org.apache.hadoop.hive.ql.exec.Registry.removePersistentFunctionUnderLock(Registry.java:513) > at > org.apache.hadoop.hive.ql.exec.Registry.unregisterFunction(Registry.java:501) > at > org.apache.hadoop.hive.ql.exec.FunctionRegistry.unregisterPermanentFunction(FunctionRegistry.java:1532) > at > org.apache.hadoop.hive.ql.exec.FunctionTask.dropPermanentFunction(FunctionTask.java:228) > at > org.apache.hadoop.hive.ql.exec.FunctionTask.execute(FunctionTask.java:95) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197) > at > org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1860) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1564) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1316) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1085) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1073) > at > org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:232) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)