You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2014/10/21 18:15:34 UTC
[jira] [Commented] (HIVE-8523) Potential null dereference in
DDLSemanticAnalyzer#addInputsOutputsAlterTable()
[ https://issues.apache.org/jira/browse/HIVE-8523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178577#comment-14178577 ]
Hive QA commented on HIVE-8523:
-------------------------------
{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/12676035/HIVE-8523.1.patch.txt
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6567 tests executed
*Failed tests:*
{noformat}
org.apache.hive.minikdc.TestJdbcWithMiniKdc.testNegativeTokenAuth
{noformat}
Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1373/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1373/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1373/
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: 12676035 - PreCommit-HIVE-TRUNK-Build
> Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()
> ------------------------------------------------------------------------------
>
> Key: HIVE-8523
> URL: https://issues.apache.org/jira/browse/HIVE-8523
> Project: Hive
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Navis
> Priority: Minor
> Attachments: HIVE-8523.1.patch.txt
>
>
> Here is related code:
> {code}
> if (desc == null
> || !AlterTableDesc.doesAlterTableTypeSupportPartialPartitionSpec(desc.getOp())) {
> throw new SemanticException(
> ErrorMsg.ALTER_TABLE_TYPE_PARTIAL_PARTITION_SPEC_NO_SUPPORTED, desc.getOp().name());
> {code}
> If desc is null, the construction of SemanticException would trigger NPE due to the call to desc.getOp().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)