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

Hive QA commented on HIVE-9975:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12704962/HIVE-9975.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 7769 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_alter_rename_partition_failure
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3057/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3057/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3057/

Messages:
{noformat}
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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12704962 - PreCommit-HIVE-TRUNK-Build

> Renaming a nonexisting partition should not throw out NullPointerException
> --------------------------------------------------------------------------
>
>                 Key: HIVE-9975
>                 URL: https://issues.apache.org/jira/browse/HIVE-9975
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>            Priority: Minor
>         Attachments: HIVE-9975.patch
>
>
> Renaming a nonexisting partition should not throw out NullPointerException. 
> create table testpart (col1 int, col2 string, col3 string) partitioned by 
> (part string);
> alter table testpart partition (part = 'nonexisting') rename to partition 
> (part = 'existing');
> we get NPE like following:
> {code}
> 15/03/16 10:16:11 ERROR exec.DDLTask: java.lang.NullPointerException
>       at 
> org.apache.hadoop.hive.ql.exec.DDLTask.renamePartition(DDLTask.java:944)
>       at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:350)
>       at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
>       at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:88)
>       at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1642)
>       at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1402)
>       at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1187)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1053)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1043)
>       at 
> org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:207)
>       at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:159)
>       at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:370)
>       at 
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:754)
>       at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
>       at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615)
> FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.DDLTask. null
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to