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

Hive QA commented on HIVE-22317:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12986377/HIVE-22317.01.patch

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

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

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-11-21 06:28:56.341
+ [[ -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-19522/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2019-11-21 06:28:56.345
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at df8e185 HIVE-22513: Constant propagation of casted column in 
filter ops can cause incorrect results (Adam Szita, reviewed by Zoltan 
Haindrich, Peter Vary)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at df8e185 HIVE-22513: Constant propagation of casted column in 
filter ops can cause incorrect results (Adam Szita, reviewed by Zoltan 
Haindrich, Peter Vary)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-11-21 06:28:57.558
+ rm -rf ../yetus_PreCommit-HIVE-Build-19522
+ mkdir ../yetus_PreCommit-HIVE-Build-19522
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-19522
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-19522/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
error: 
a/beeline/src/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java:
 does not exist in index
error: 
a/beeline/src/test/org/apache/hive/beeline/hs2connection/TestBeelineSiteParser.java:
 does not exist in index
error: a/beeline/src/test/resources/beeline-site.xml: does not exist in index
error: beeline/src/test/resources/beeline-site.xml: does not exist in index
error: src/java/org/apache/hive/beeline/hs2connection/BeelineSiteParser.java: 
does not exist in index
error: 
src/test/org/apache/hive/beeline/hs2connection/TestBeelineSiteParser.java: does 
not exist in index
error: src/test/resources/beeline-site.xml: does not exist in index
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-19522
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12986377 - PreCommit-HIVE-Build

> Beeline-site parser does not handle the variable substitution correctly
> -----------------------------------------------------------------------
>
>                 Key: HIVE-22317
>                 URL: https://issues.apache.org/jira/browse/HIVE-22317
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 4.0.0
>         Environment: Hive-4.0.0
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Major
>         Attachments: HIVE-22317.01.patch, HIVE-22317.patch
>
>
> beeline-site.xml
> {code:java}
> <configuration xmlns:xi="http://www.w3.org/2001/XInclude";>
>  
>  <property>
>  <name>beeline.hs2.jdbc.url.container</name>
>  
> <value>jdbc:hive2://c3220-node2.host.com:2181,c3220-node3.host.com:2181,c3220-node4.host.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2</value>
>  </property>
>  
>  <property>
>  <name>beeline.hs2.jdbc.url.default</name>
>  <value>test</value>
>  </property>
>  <property>
> <name>beeline.hs2.jdbc.url.test</name>
> <value>${beeline.hs2.jdbc.url.container}?tez.queue.name=myqueue</value>
> </property> 
>  <property>
>  <name>beeline.hs2.jdbc.url.llap</name>
>  
> <value>jdbc:hive2://c3220-node2.host.com:2181,c3220-node3.host.com:2181,c3220-node4.host.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2-interactive</value>
>  </property>
>  
>  </configuration>{code}
> beeline fail to connect because it does not parse the substituted value 
> correctly
> {code:java}
> beeline
> Error in parsing jdbc url: 
> ${beeline.hs2.jdbc.url.container}?tez.queue.name=myqueue from beeline-site.xml
> beeline>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to