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

Hive QA commented on HIVE-21256:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12958542/HIVE-21256.2.branch-2.patch

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/16053/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16053/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16053/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ date '+%Y-%m-%d %T.%3N'
2019-02-13 13:46:15.451
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-16053/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z branch-2 ]]
+ [[ -d apache-github-branch-2-source ]]
+ [[ ! -d apache-github-branch-2-source/.git ]]
+ [[ ! -d apache-github-branch-2-source ]]
+ date '+%Y-%m-%d %T.%3N'
2019-02-13 13:46:15.534
+ cd apache-github-branch-2-source
+ git fetch origin
>From https://github.com/apache/hive
   7065c92..c791b90  branch-3   -> origin/branch-3
   7c21361..008eda8  branch-3.1 -> origin/branch-3.1
   dfc4b8e..fd2be8e  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at 0b8cfa7 HIVE-21040 : msck does unnecessary file listing at last 
level of directory tree (Vihang Karajgaonkar, reviewed by Prasanth Jayachandran)
+ git clean -f -d
+ git checkout branch-2
Already on 'branch-2'
Your branch is up-to-date with 'origin/branch-2'.
+ git reset --hard origin/branch-2
HEAD is now at 0b8cfa7 HIVE-21040 : msck does unnecessary file listing at last 
level of directory tree (Vihang Karajgaonkar, reviewed by Prasanth Jayachandran)
+ git merge --ff-only origin/branch-2
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-02-13 13:46:31.413
+ rm -rf ../yetus_PreCommit-HIVE-Build-16053
+ mkdir ../yetus_PreCommit-HIVE-Build-16053
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-16053
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-16053/yetus
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh 
/data/hiveptest/working/scratch/build.patch
Going to apply patch with: git apply -p0
/data/hiveptest/working/scratch/build.patch:123: trailing whitespace.
  
warning: 1 line adds whitespace errors.
+ [[ maven == \m\a\v\e\n ]]
+ rm -rf /data/hiveptest/working/maven/org/apache/hive
+ mvn -B clean install -DskipTests -T 4 -q 
-Dmaven.repo.local=/data/hiveptest/working/maven
[ERROR] Failed to execute goal on project hive-hcatalog: Could not resolve 
dependencies for project 
org.apache.hive.hcatalog:hive-hcatalog:pom:2.4.0-SNAPSHOT: Failed to collect 
dependencies for [org.mockito:mockito-all:jar:1.9.5 (test), 
org.apache.hadoop:hadoop-common:jar:2.7.2 (test), 
org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.7.2 (test), 
org.apache.pig:pig:jar:h2:0.16.0 (test), org.slf4j:slf4j-api:jar:1.7.10 
(compile)]: Failed to read artifact descriptor for 
com.sun.jersey:jersey-core:jar:1.14: Could not find artifact 
com.sun.jersey:jersey-project:pom:1.14 in datanucleus 
(http://www.datanucleus.org/downloads/maven2) -> [Help 1]
[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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hive-hcatalog
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-16053
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12958542 - PreCommit-HIVE-Build

> Vectorized LENGTH UDF doesn't respect the max length of VARCHAR or CHAR in 
> Hive 2
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-21256
>                 URL: https://issues.apache.org/jira/browse/HIVE-21256
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.3.4
>            Reporter: Teddy Choi
>            Assignee: Teddy Choi
>            Priority: Major
>         Attachments: HIVE-21256.2.branch-2.patch
>
>
> After HIVE-19951 is fixed, there still are some cases that vectorized length 
> UDF doesn't respect the max length of VARCHAR or CHAR. StringLength has an 
> internal bug. Moreover, it's hard to get input data type details in Hive 2, 
> unlike Hive 3. So separate both implementation to keep code clean in Hive 3 
> while the changes minimal in Hive 2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to