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-19481) sample10.q returns wrong results
Date Mon, 25 Jun 2018 08:54:00 GMT

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

Hive QA commented on HIVE-19481:
--------------------------------



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

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

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

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-06-25 08:51:59.948
+ [[ -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-12085/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-06-25 08:51:59.952
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 2277661 HIVE-19922: TestMiniDruidKafkaCliDriver[druidkafkamini_basic] is flaky
(Peter Vary, reviewed by Jason Dere)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 2277661 HIVE-19922: TestMiniDruidKafkaCliDriver[druidkafkamini_basic] is flaky
(Peter Vary, reviewed by Jason Dere)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-06-25 08:52:00.575
+ rm -rf ../yetus_PreCommit-HIVE-Build-12085
+ mkdir ../yetus_PreCommit-HIVE-Build-12085
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-12085
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-12085/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/itests/src/test/resources/testconfiguration.properties: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SamplePruner.java: does not exist
in index
error: a/ql/src/test/results/clientpositive/archive_excludeHadoop20.q.out: does not exist
in index
error: a/ql/src/test/results/clientpositive/beeline/smb_mapjoin_11.q.out: does not exist in
index
error: a/ql/src/test/results/clientpositive/llap/sample10.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/masking_5.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/sample6.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/sample7.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/sample9.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/smb_mapjoin_11.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/spark/infer_bucket_sort_bucketed_table.q.out:
does not exist in index
error: a/ql/src/test/results/clientpositive/spark/sample10.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/spark/sample2.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/spark/sample4.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/spark/sample6.q.out: does not exist in index
error: a/ql/src/test/results/clientpositive/spark/sample7.q.out: does not exist in index
Going to apply patch with: git apply -p1
/data/hiveptest/working/scratch/build.patch:625: trailing whitespace.
        Map 1 
/data/hiveptest/working/scratch/build.patch:645: trailing whitespace.
        Reducer 2 
/data/hiveptest/working/scratch/build.patch:2407: trailing whitespace.
              columns.comments 
/data/hiveptest/working/scratch/build.patch:2420: trailing whitespace.
          
/data/hiveptest/working/scratch/build.patch:2430: trailing whitespace.
                columns.comments 
warning: squelched 4 whitespace errors
warning: 9 lines add 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
protoc-jar: executing: [/tmp/protoc2596323187391662458.exe, --version]
libprotoc 2.5.0
protoc-jar: executing: [/tmp/protoc2596323187391662458.exe, -I/data/hiveptest/working/apache-github-source-source/standalone-metastore/src/main/protobuf/org/apache/hadoop/hive/metastore,
--java_out=/data/hiveptest/working/apache-github-source-source/standalone-metastore/target/generated-sources,
/data/hiveptest/working/apache-github-source-source/standalone-metastore/src/main/protobuf/org/apache/hadoop/hive/metastore/metastore.proto]
ANTLR Parser Generator  Version 3.5.2
Output file /data/hiveptest/working/apache-github-source-source/standalone-metastore/target/generated-sources/org/apache/hadoop/hive/metastore/parser/FilterParser.java
does not exist: must build /data/hiveptest/working/apache-github-source-source/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/parser/Filter.g
org/apache/hadoop/hive/metastore/parser/Filter.g
[ERROR] COMPILATION ERROR : 
[ERROR] /data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestTimestampWritable.java:[46,8]
class TestTimestampWritableV2 is public, should be declared in a file named TestTimestampWritableV2.java
[ERROR] /data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestDateWritable.java:[48,8]
class TestDateWritableV2 is public, should be declared in a file named TestDateWritableV2.java
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile
(default-testCompile) on project hive-serde: Compilation failure: Compilation failure:
[ERROR] /data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestTimestampWritable.java:[46,8]
class TestTimestampWritableV2 is public, should be declared in a file named TestTimestampWritableV2.java
[ERROR] /data/hiveptest/working/apache-github-source-source/serde/src/test/org/apache/hadoop/hive/serde2/io/TestDateWritable.java:[48,8]
class TestDateWritableV2 is public, should be declared in a file named TestDateWritableV2.java
[ERROR] -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hive-serde
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-12085
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12928996 - PreCommit-HIVE-Build

> sample10.q returns wrong results 
> ---------------------------------
>
>                 Key: HIVE-19481
>                 URL: https://issues.apache.org/jira/browse/HIVE-19481
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.0.0
>            Reporter: Steve Yeom
>            Assignee: Deepak Jaiswal
>            Priority: Major
>             Fix For: 3.1.0, 4.0.0
>
>         Attachments: HIVE-19481.1.patch, HIVE-19481.2.patch, HIVE-19481.3.patch
>
>
> Ran "mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=sample10.q " after changing the
table to be 
> insert-only transactional. 
> The following queries returns couple of rows whereis no row results returns for non-ACID
table. 
> query: select ds, count(1) from srcpartbucket tablesample (bucket 2 out of 4 on key)
where ds is not null group by ds ORDER BY ds ASC
> 2008-04-08      14
> 2008-04-09      14
> ..
> query: select ds, count(1) from srcpartbucket tablesample (bucket 1 out of 2 on key)
where ds is not null group by ds ORDER BY ds ASC
> 2008-04-08      4
> 2008-04-09      4



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

Mime
View raw message