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-21825) Improve client error msg when Active/Passive HA is enabled
Date Sat, 22 Jun 2019 21:45:00 GMT

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

Hive QA commented on HIVE-21825:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12972597/Hive-21825.2.patch

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

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

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-06-22 21:43:14.695
+ [[ -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-17701/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-06-22 21:43:14.698
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   9890919..11f7856  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at 9890919 HIVE-21576: Introduce CAST...FORMAT and limited list of SQL:2016 datetime
formats (Karen Coppage via Marta Kuczora)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 11f7856 HIVE-21764 : REPL DUMP should detect and bootstrap any rename table
events where old table was excluded but renamed table is included. (Mahesh Kumar Behera reviewed
by  Sankar Hariappan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-06-22 21:43:17.159
+ rm -rf ../yetus_PreCommit-HIVE-Build-17701
+ mkdir ../yetus_PreCommit-HIVE-Build-17701
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-17701
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17701/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/service/src/java/org/apache/hive/service/cli/session/SessionManager.java: does not
exist in index
error: patch failed: service/src/java/org/apache/hive/service/cli/session/SessionManager.java:65
error: repository lacks the necessary blob to fall back on 3-way merge.
error: service/src/java/org/apache/hive/service/cli/session/SessionManager.java: patch does
not apply
error: src/java/org/apache/hive/service/cli/session/SessionManager.java: 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-17701
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12972597 - PreCommit-HIVE-Build

> Improve client error msg when Active/Passive HA is enabled
> ----------------------------------------------------------
>
>                 Key: HIVE-21825
>                 URL: https://issues.apache.org/jira/browse/HIVE-21825
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0, 3.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Richard Zhang
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Hive-21825.1.patch, Hive-21825.2.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When Active/Passive HA is enabled and when client tries to connect to Passive HA or when
HS2 is still starting up, clients will receive the following the error msg
> {code:java}
> 'Cannot open sessions on an inactive HS2 instance; use service discovery to connect'{code}
> This error msg can be improved to say that HS2 is still starting up (or more user-friendly
error msg). 



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

Mime
View raw message