[
https://issues.apache.org/jira/browse/HIVE-7248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569783#comment-16569783
]
Hive QA commented on HIVE-7248:
-------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12687391/HIVE-7248.3.patch.txt
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/13055/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13055/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13055/
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'
2018-08-06 06:24:12.874
+ [[ -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-13055/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'
2018-08-06 06:24:12.878
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
27bdbda..20c95c1 master -> origin/master
+ git reset --hard HEAD
HEAD is now at 27bdbda HIVE-20162: Logging cleanup, avoid printing stacktraces
to stderr (Anurag Mantripragada, reviewed by Naveen Gangam)
+ 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 20c95c1 HIVE-19097 : related equals and in operators may cause
inaccurate stats estimations (Zoltan Haindrich via Ashutosh Chauhan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-08-06 06:24:14.437
+ rm -rf ../yetus_PreCommit-HIVE-Build-13055
+ mkdir ../yetus_PreCommit-HIVE-Build-13055
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-13055
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-13055/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: patch failed:
hbase-handler/src/test/results/positive/hbase_pushdown.q.out:120
Falling back to three-way merge...
Applied patch to 'hbase-handler/src/test/results/positive/hbase_pushdown.q.out'
with conflicts.
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/parse/TaskCompiler.java:20
Falling back to three-way merge...
Applied patch to
'ql/src/java/org/apache/hadoop/hive/ql/parse/TaskCompiler.java' with conflicts.
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/parse/TezCompiler.java:48
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/parse/TezCompiler.java'
with conflicts.
error: ql/src/test/results/clientpositive/index_auto_self_join.q.out: does not
exist in index
error: src/test/queries/positive/hbase_pushdown.q: does not exist in index
error: src/test/results/positive/hbase_pushdown.q.out: does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/MapReduceCompiler.java: does
not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/TaskCompiler.java: does not
exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/TezCompiler.java: does not
exist in index
error: src/java/org/apache/hadoop/hive/ql/plan/ExprNodeDescUtils.java: does not
exist in index
error: src/test/results/clientpositive/index_auto_self_join.q.out: does not
exist in index
error: test/queries/positive/hbase_pushdown.q: does not exist in index
error: test/results/positive/hbase_pushdown.q.out: does not exist in index
error: java/org/apache/hadoop/hive/ql/parse/MapReduceCompiler.java: does not
exist in index
error: java/org/apache/hadoop/hive/ql/parse/TaskCompiler.java: does not exist
in index
error: java/org/apache/hadoop/hive/ql/parse/TezCompiler.java: does not exist in
index
error: java/org/apache/hadoop/hive/ql/plan/ExprNodeDescUtils.java: does not
exist in index
error: test/results/clientpositive/index_auto_self_join.q.out: 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-13055
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12687391 - PreCommit-HIVE-Build
> UNION ALL in hive returns incorrect results on Hbase backed table
> -----------------------------------------------------------------
>
> Key: HIVE-7248
> URL: https://issues.apache.org/jira/browse/HIVE-7248
> Project: Hive
> Issue Type: Bug
> Components: HBase Handler
> Affects Versions: 0.12.0, 0.13.0, 0.13.1
> Reporter: Mala Chikka Kempanna
> Assignee: Navis
> Priority: Major
> Attachments: HIVE-7248.1.patch.txt, HIVE-7248.2.patch.txt,
> HIVE-7248.3.patch.txt
>
>
> The issue can be recreated with following steps
> 1) In hbase
> create 'TABLE_EMP','default'
> 2) On hive
> sudo -u hive hive
> CREATE EXTERNAL TABLE TABLE_EMP(FIRST_NAME string,LAST_NAME
> string,CDS_UPDATED_DATE string,CDS_PK string) STORED BY
> 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH
> SERDEPROPERTIES("hbase.columns.mapping" =
> "default:FIRST_NAME,default:LAST_NAME,default:CDS_UPDATED_DATE,:key",
> "hbase.scan.cache" = "500", "hbase.scan.cacheblocks" = "false" )
> TBLPROPERTIES("hbase.table.name" =
> "TABLE_EMP",'serialization.null.format'='');
> 3) On hbase insert the following data
> put 'TABLE_EMP', '1', 'default:FIRST_NAME', 'Srini'
> put 'TABLE_EMP', '1', 'default:LAST_NAME', 'P'
> put 'TABLE_EMP', '1', 'default:CDS_UPDATED_DATE', '2014-06-16 00:00:00'
> put 'TABLE_EMP', '2', 'default:FIRST_NAME', 'Aravind'
> put 'TABLE_EMP', '2', 'default:LAST_NAME', 'K'
> put 'TABLE_EMP', '2', 'default:CDS_UPDATED_DATE', '2014-06-16 00:00:00'
> 4) On hive execute the following query
> hive
> SELECT *
> FROM (
> SELECT CDS_PK
> FROM TABLE_EMP
> WHERE
> CDS_PK >= '0'
> AND CDS_PK <= '9'
> AND CDS_UPDATED_DATE IS NOT NULL
> UNION ALL SELECT CDS_PK
> FROM TABLE_EMP
> WHERE
> CDS_PK >= 'a'
> AND CDS_PK <= 'z'
> AND CDS_UPDATED_DATE IS NOT NULL
> )t ;
> 5) Output of the query
> 1
> 1
> 2
> 2
> 6) Output of just
> SELECT CDS_PK
> FROM TABLE_EMP
> WHERE
> CDS_PK >= '0'
> AND CDS_PK <= '9'
> AND CDS_UPDATED_DATE IS NOT NULL
> is
> 1
> 2
> 7) Output of just
> SELECT CDS_PK
> FROM TABLE_EMP
> WHERE
> CDS_PK >= 'a'
> AND CDS_PK <= 'z'
> AND CDS_UPDATED_DATE IS NOT NULL
> Empty
> 8) UNION is used to combine the result from multiple SELECT statements into a
> single result set. Hive currently only supports UNION ALL (bag union), in
> which duplicates are not eliminated
> Accordingly above query should return output
> 1
> 2
> instead it is giving wrong output
> 1
> 1
> 2
> 2
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)