[ https://issues.apache.org/jira/browse/HIVE-8579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14182971#comment-14182971 ]
Hive QA commented on HIVE-8579: ------------------------------- {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/12676824/HIVE-8579.1.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6563 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/1442/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1442/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1442/ 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: 12676824 - PreCommit-HIVE-TRUNK-Build > Guaranteed NPE in DDLSemanticAnalyzer > ------------------------------------- > > Key: HIVE-8579 > URL: https://issues.apache.org/jira/browse/HIVE-8579 > Project: Hive > Issue Type: Bug > Reporter: Lars Francke > Assignee: Jason Dere > Attachments: HIVE-8579.1.patch, HIVE-8579.1.patch > > > This was added by [~jdere] in HIVE-8411. I don't fully understand the code > (i.e. what it means when desc is null) but I'm sure, Jason, you can fix it > without much trouble? > {code} > if (desc == null || > !AlterTableDesc.doesAlterTableTypeSupportPartialPartitionSpec(desc.getOp())) { > throw new SemanticException( > ErrorMsg.ALTER_TABLE_TYPE_PARTIAL_PARTITION_SPEC_NO_SUPPORTED, > desc.getOp().name()); > } else if (!conf.getBoolVar(HiveConf.ConfVars.DYNAMICPARTITIONING)) { > throw new SemanticException(ErrorMsg.DYNAMIC_PARTITION_DISABLED); > } > {code} > You check for whether {{desc}} is null but then use it to do {{desc.getOp()}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)