[ https://issues.apache.org/jira/browse/HIVE-21485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967147#comment-16967147 ]
Hive QA commented on HIVE-21485: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12963994/HIVE-21485.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19290/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19290/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19290/ 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-05 01:37:24.321 + [[ -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-19290/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-05 01:37:24.324 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 164b78b HIVE-22429: Migrated clustered tables using bucketing_version 1 on hive 3 uses bucketing_version 2 for inserts (Ramesh Kumar Thangarajan, reviewed by Jesus Camacho Rodriguez) + git clean -f -d Removing ${project.basedir}/ Removing itests/${project.basedir}/ 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 164b78b HIVE-22429: Migrated clustered tables using bucketing_version 1 on hive 3 uses bucketing_version 2 for inserts (Ramesh Kumar Thangarajan, reviewed by Jesus Camacho Rodriguez) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-11-05 01:37:26.794 + rm -rf ../yetus_PreCommit-HIVE-Build-19290 + mkdir ../yetus_PreCommit-HIVE-Build-19290 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-19290 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-19290/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: ql/src/java/org/apache/hadoop/hive/ql/ddl/table/DescTableOperation.java: does not exist in index error: patch failed: ql/src/test/results/clientpositive/describe_table.q.out:388 Falling back to three-way merge... Applied patch to 'ql/src/test/results/clientpositive/describe_table.q.out' with conflicts. error: src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index error: src/java/org/apache/hadoop/hive/ql/ddl/table/DescTableOperation.java: does not exist in index error: src/test/queries/clientpositive/describe_table.q: does not exist in index error: src/test/results/clientpositive/describe_table.q.out: does not exist in index error: java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index error: java/org/apache/hadoop/hive/ql/ddl/table/DescTableOperation.java: does not exist in index error: test/queries/clientpositive/describe_table.q: does not exist in index error: test/results/clientpositive/describe_table.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-19290 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12963994 - PreCommit-HIVE-Build > Hive desc operation takes more than 100 seconds after upgrading from Hive > 1.2.1 to 2.3.4 > ---------------------------------------------------------------------------------------- > > Key: HIVE-21485 > URL: https://issues.apache.org/jira/browse/HIVE-21485 > Project: Hive > Issue Type: Bug > Components: CLI, Hive > Affects Versions: 2.3.4 > Reporter: Qingxin Wu > Priority: Major > Labels: pull-request-available > Attachments: HIVE-21485.patch > > Time Spent: 40m > Remaining Estimate: 0h > > Hive desc [formatted|extended] operation cost more than 100 seconds after > upgrading from Hive 1.2.1 to 2.3.4. This is mainly caused by showing stats > for partitioned tables which was introduced by HIVE-16098 when the > partitioned tables have a large amount of partitions. In our case, the number > of partition is 187221. > {code:java} > hive> desc bus.kafka_data; > OK > id string > ... > d map<string,string> > stat_date string > log_id string > # Partition Information > # col_name data_type comment > stat_date string > log_id string > Time taken: 115.342 seconds, Fetched: 42 row(s) > {code} > same operation executed in hive-1.2.1 and only cost 2 seconds. > {code:java} > hive> desc bus.kafka_data; > OK > id string > ... > d map<string,string> > stat_date string > log_id string > # Partition Information > # col_name data_type comment > stat_date string > log_id string > Time taken: 2.037 seconds, Fetched: 42 row(s) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)