You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2016/11/07 12:54:58 UTC

[jira] [Commented] (HIVE-12943) Use default doesnot work in Hive 1.2.1

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

Hive QA commented on HIVE-12943:
--------------------------------



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

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

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

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'
2016-11-07 12:54:26.934
+ [[ -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-2000/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'
2016-11-07 12:54:26.936
+ cd apache-github-source-source
+ git fetch origin
From https://github.com/apache/hive
   0951c9c..fad5398  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at 0951c9c HIVE-15054: Hive insertion query execution fails on Hive on Spark (Aihua Xu via Rui Li)
+ git clean -f -d
+ 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 fad5398 HIVE-14910: Flaky test: TestSparkClient.testJobSubmission (Barna Zsombor Klara, reviewed by Xuefu, via Rui)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2016-11-07 12:54:28.066
+ 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: b/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: No such file or directory
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g: No such file or directory
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12785454 - PreCommit-HIVE-Build

> Use default doesnot work in Hive 1.2.1
> --------------------------------------
>
>                 Key: HIVE-12943
>                 URL: https://issues.apache.org/jira/browse/HIVE-12943
>             Project: Hive
>          Issue Type: Bug
>          Components: Database/Schema
>    Affects Versions: 1.2.1
>            Reporter: Kashish Jain
>            Priority: Blocker
>         Attachments: HIVE-12943.patch
>
>
> "USE Default" does not work with the latest hive 1.2.1
> The message is 
> "
>    Cannot recognize input near 'default' '<EOF>' '<EOF>' in switch database statement; line 1 pos 4
>    NoViableAltException(81@[])
>    at org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier(HiveParser_IdentifiersParser.java:11577)
>    at org.apache.hadoop.hive.ql.parse.HiveParser.identifier(HiveParser.java:46055)
> "



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)