[jira] [Commented] (HIVE-10963) Hive throws NPE rather than meaningful error message when window is missing
[ https://issues.apache.org/jira/browse/HIVE-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14579011#comment-14579011 ] Ashutosh Chauhan commented on HIVE-10963: - +1 Hive throws NPE rather than meaningful error message when window is missing --- Key: HIVE-10963 URL: https://issues.apache.org/jira/browse/HIVE-10963 Project: Hive Issue Type: Bug Components: PTF-Windowing Affects Versions: 1.3.0 Reporter: Aihua Xu Assignee: Aihua Xu Attachments: HIVE-10963.patch {{select sum(salary) over w1 from emp;}} throws NPE rather than meaningful error message like missing window. And also give the right window name rather than the classname in the error message after NPE issue is fixed. {noformat} org.apache.hadoop.hive.ql.parse.SemanticException: Window Spec org.apache.hadoop.hive.ql.parse.WindowingSpec$WindowSpec@7954e1de refers to an unknown source {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10963) Hive throws NPE rather than meaningful error message when window is missing
[ https://issues.apache.org/jira/browse/HIVE-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14579215#comment-14579215 ] Hive QA commented on HIVE-10963: {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/12738596/HIVE-10963.patch {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 9005 tests executed *Failed tests:* {noformat} org.apache.hive.beeline.TestSchemaTool.testSchemaInit org.apache.hive.beeline.TestSchemaTool.testSchemaUpgrade org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchCommit_Json {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4226/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4226/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4226/ 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: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12738596 - PreCommit-HIVE-TRUNK-Build Hive throws NPE rather than meaningful error message when window is missing --- Key: HIVE-10963 URL: https://issues.apache.org/jira/browse/HIVE-10963 Project: Hive Issue Type: Bug Components: PTF-Windowing Affects Versions: 1.3.0 Reporter: Aihua Xu Assignee: Aihua Xu Attachments: HIVE-10963.patch {{select sum(salary) over w1 from emp;}} throws NPE rather than meaningful error message like missing window. And also give the right window name rather than the classname in the error message after NPE issue is fixed. {noformat} org.apache.hadoop.hive.ql.parse.SemanticException: Window Spec org.apache.hadoop.hive.ql.parse.WindowingSpec$WindowSpec@7954e1de refers to an unknown source {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10963) Hive throws NPE rather than meaningful error message when window is missing
[ https://issues.apache.org/jira/browse/HIVE-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14577868#comment-14577868 ] Hive QA commented on HIVE-10963: {color:red}Overall{color}: -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12738408/HIVE-10963.patch Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4215/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4215/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4215/ Messages: {noformat} This message was trimmed, see log for full details [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-hwi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/hwi/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-hwi --- [INFO] Executing tasks main: [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/hwi/target/tmp [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/hwi/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hwi/target/tmp [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hwi/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hwi/target/tmp/conf [copy] Copying 11 files to /data/hive-ptest/working/apache-github-source-source/hwi/target/tmp/conf [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-hwi --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-hwi --- [INFO] [INFO] [INFO] Building Hive ODBC 2.0.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-odbc --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-odbc --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-odbc --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-odbc --- [INFO] Executing tasks main: [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/odbc/target/tmp [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/odbc/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/odbc/target/tmp [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/odbc/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/odbc/target/tmp/conf [copy] Copying 11 files to /data/hive-ptest/working/apache-github-source-source/odbc/target/tmp/conf [INFO] Executed tasks [INFO] [INFO] [INFO] Building Hive Shims Aggregator 2.0.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-shims-aggregator --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-shims-aggregator --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-shims-aggregator --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-shims-aggregator --- [INFO] Executing tasks main: [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/shims/target/tmp [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/shims/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/shims/target/tmp [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/shims/target/warehouse [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/shims/target/tmp/conf [copy] Copying 11 files to /data/hive-ptest/working/apache-github-source-source/shims/target/tmp/conf [INFO] Executed tasks [INFO] [INFO]
[jira] [Commented] (HIVE-10963) Hive throws NPE rather than meaningful error message when window is missing
[ https://issues.apache.org/jira/browse/HIVE-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578056#comment-14578056 ] Ashutosh Chauhan commented on HIVE-10963: - Couple of comments on RB. Hive throws NPE rather than meaningful error message when window is missing --- Key: HIVE-10963 URL: https://issues.apache.org/jira/browse/HIVE-10963 Project: Hive Issue Type: Bug Components: PTF-Windowing Affects Versions: 1.3.0 Reporter: Aihua Xu Assignee: Aihua Xu Attachments: HIVE-10963.patch {{select sum(salary) over w1 from emp;}} throws NPE rather than meaningful error message like missing window. And also give the right window name rather than the classname in the error message after NPE issue is fixed. {noformat} org.apache.hadoop.hive.ql.parse.SemanticException: Window Spec org.apache.hadoop.hive.ql.parse.WindowingSpec$WindowSpec@7954e1de refers to an unknown source {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)