hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10963) Hive throws NPE rather than meaningful error message when window is missing
Date Mon, 08 Jun 2015 21:23:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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] ------------------------------------------------------------------------
[INFO] Building Hive TestUtils 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-testutils ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-testutils ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-testutils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/testutils/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-testutils ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-testutils ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-testutils
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/testutils/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-testutils ---
[INFO] Executing tasks

main:
   [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/testutils/target/tmp
   [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/testutils/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/testutils/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/testutils/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/testutils/target/tmp/conf
     [copy] Copying 11 files to /data/hive-ptest/working/apache-github-source-source/testutils/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-testutils ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-testutils ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive Packaging 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-packaging ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-packaging ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-packaging ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-packaging ---
[INFO] Executing tasks

main:
   [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/packaging/target/tmp
   [delete] Deleting directory /data/hive-ptest/working/apache-github-source-source/packaging/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/packaging/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/packaging/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/packaging/target/tmp/conf
     [copy] Copying 11 files to /data/hive-ptest/working/apache-github-source-source/packaging/target/tmp/conf
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive .............................................. SUCCESS [9.451s]
[INFO] Hive Shims Common ................................. SUCCESS [6.282s]
[INFO] Hive Shims 0.20S .................................. SUCCESS [2.201s]
[INFO] Hive Shims 0.23 ................................... SUCCESS [7.863s]
[INFO] Hive Shims Scheduler .............................. SUCCESS [1.726s]
[INFO] Hive Shims ........................................ SUCCESS [2.331s]
[INFO] Hive Common ....................................... SUCCESS [6.276s]
[INFO] Hive Serde ........................................ SUCCESS [4.651s]
[INFO] Hive Metastore .................................... SUCCESS [11.717s]
[INFO] Hive Ant Utilities ................................ SUCCESS [1.316s]
[INFO] Spark Remote Client ............................... SUCCESS [20.314s]
[INFO] Hive Query Language ............................... SUCCESS [37.427s]
[INFO] Hive Service ...................................... SUCCESS [4.777s]
[INFO] Hive Accumulo Handler ............................. SUCCESS [3.837s]
[INFO] Hive JDBC ......................................... SUCCESS [1.539s]
[INFO] Hive Beeline ...................................... SUCCESS [2.709s]
[INFO] Hive CLI .......................................... SUCCESS [3.248s]
[INFO] Hive Contrib ...................................... SUCCESS [3.102s]
[INFO] Hive HBase Handler ................................ SUCCESS [6.787s]
[INFO] Hive HCatalog ..................................... SUCCESS [0.794s]
[INFO] Hive HCatalog Core ................................ SUCCESS [1.895s]
[INFO] Hive HCatalog Pig Adapter ......................... SUCCESS [2.591s]
[INFO] Hive HCatalog Server Extensions ................... SUCCESS [2.513s]
[INFO] Hive HCatalog Webhcat Java Client ................. SUCCESS [1.610s]
[INFO] Hive HCatalog Webhcat ............................. SUCCESS [12.202s]
[INFO] Hive HCatalog Streaming ........................... SUCCESS [1.697s]
[INFO] Hive HWI .......................................... SUCCESS [1.384s]
[INFO] Hive ODBC ......................................... SUCCESS [1.032s]
[INFO] Hive Shims Aggregator ............................. SUCCESS [0.170s]
[INFO] Hive TestUtils .................................... SUCCESS [0.200s]
[INFO] Hive Packaging .................................... SUCCESS [1.439s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:47.813s
[INFO] Finished at: Mon Jun 08 17:22:21 EDT 2015
[INFO] Final Memory: 87M/225M
[INFO] ------------------------------------------------------------------------
+ cd itests
+ mvn -B clean install -DskipTests -Dmaven.repo.local=/data/hive-ptest/working/maven -Phadoop-2
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.hive:hive-it-qfile-accumulo:1.3.0-SNAPSHOT (/data/hive-ptest/working/apache-github-source-source/itests/qtest-accumulo/pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.apache.hive:hive-it:pom:1.3.0-SNAPSHOT
and 'parent.relativePath' points at wrong local POM @ line 20, column 11 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12738408 - 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)

Mime
View raw message