[
https://issues.apache.org/jira/browse/HIVE-21770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128227#comment-17128227
]
Hive QA commented on HIVE-21770:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12976061/HIVE-21770.01.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/22773/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/22773/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-22773/
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'
2020-06-08 12:01:04.811
+ [[ -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-22773/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'
2020-06-08 12:01:04.814
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
388d37c..d5fb71f master -> origin/master
+ git reset --hard HEAD
HEAD is now at 388d37c HIVE-23242: Fix flaky tests
testHouseKeepingThreadExistence in TestMetastoreHousekeepingLeaderEmptyConfig
and TestMetastoreHousekeepingLeader (Peter Varga via Peter Vary)
+ 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 d5fb71f HIVE-23605: 'Wrong FS' error during
_external_tables_info creation when staging location is remote(Pravin Kumar
Sinha, reviewed by Aasha Medhi)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-06-08 12:01:06.325
+ rm -rf ../yetus_PreCommit-HIVE-Build-22773
+ mkdir ../yetus_PreCommit-HIVE-Build-22773
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-22773
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-22773/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
Trying to apply the patch with -p0
error:
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java:
does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/ExportTask.java: does not
exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java:
does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java:
does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/util/ReplUtils.java:
does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/PartitionIterable.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/ExportSemanticAnalyzer.java: does
not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: does not
exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java:
does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java: does
not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AddPartitionHandler.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AlterPartitionHandler.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/DropPartitionHandler.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandler.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/InsertHandler.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/UpdatePartColStatHandler.java:
does not exist in index
error:
a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/TableSerializer.java:
does not exist in index
error:
a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/repl/ReplScope.java:
does not exist in index
error:
a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java:
does not exist in index
error:
a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java:
does not exist in index
error: a/testutils/ptest2/conf/deployed/master-mr2.properties: does not exist
in index
Trying to apply the patch with -p1
error: patch failed:
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java:255
Falling back to three-way merge...
Applied patch to
'itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java'
with conflicts.
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/exec/ExportTask.java:53
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/ExportTask.java'
with conflicts.
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java:83
Falling back to three-way merge...
Applied patch to
'ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java' with
conflicts.
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java:24
Falling back to three-way merge...
Applied patch to
'ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java' with
conflicts.
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/util/ReplUtils.java:26
Falling back to three-way merge...
Applied patch to
'ql/src/java/org/apache/hadoop/hive/ql/exec/repl/util/ReplUtils.java' with
conflicts.
error: ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: does not exist
in index
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java:65
Falling back to three-way merge...
Applied patch to
'ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java'
with conflicts.
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java:21
Falling back to three-way merge...
Applied patch to
'ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java'
cleanly.
Trying to apply the patch with -p2
error:
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java:
does not exist in index
error: src/java/org/apache/hadoop/hive/ql/exec/ExportTask.java: does not exist
in index
error: src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java: does not
exist in index
error: src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java: does not
exist in index
error: src/java/org/apache/hadoop/hive/ql/exec/repl/util/ReplUtils.java: does
not exist in index
error: src/java/org/apache/hadoop/hive/ql/metadata/PartitionIterable.java: does
not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/ExportSemanticAnalyzer.java:
does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: does not exist in
index
error:
src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java: does
not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java: does not
exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AddPartitionHandler.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AlterPartitionHandler.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/DropPartitionHandler.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandler.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/InsertHandler.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/UpdatePartColStatHandler.java:
does not exist in index
error:
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/TableSerializer.java:
does not exist in index
error:
metastore-common/src/main/java/org/apache/hadoop/hive/common/repl/ReplScope.java:
does not exist in index
error:
metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java:
does not exist in index
error:
metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java:
does not exist in index
error: ptest2/conf/deployed/master-mr2.properties: 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-22773
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12976061 - PreCommit-HIVE-Build
> Support extraction of replication spec from notification event.
> ----------------------------------------------------------------
>
> Key: HIVE-21770
> URL: https://issues.apache.org/jira/browse/HIVE-21770
> Project: Hive
> Issue Type: Sub-task
> Components: HiveServer2, repl
> Affects Versions: 4.0.0
> Reporter: mahesh kumar behera
> Assignee: mahesh kumar behera
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE-21770.01.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The notification event structure currently does not have the partition spec.
> Events which can span across multiple databases and tables, the database and
> table info can not be obtained from the event structure. To know the event is
> added for which partition, the event message has to be deserialized and the
> partition information can be obtained from it.
> * Each event handler has to expose a static API.
> * The API should take the event as input and return the list of db name,
> table name and partition spec from it.
> * If database name, table name or partition name is present in the event
> structure, then return it. If all these info are present then no need to
> deserialize the message. Later if these info are added to the event structure
> then it will be useful.
> * Deserialize the message and create the list of name and return through a
> partition info class object.
> * If the table is not partitioned or is table level event, then set the
> partition info as null. Same for table info incase of db level events.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)