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

Hive QA commented on HIVE-22865:
--------------------------------



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

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

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

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-03-07 17:44:36.155
+ [[ -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-21001/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-03-07 17:44:36.158
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 1b50b70 HIVE-22673: Replace Base64 in contrib Package (David 
Mollitor, reviewed by Zoltan Haindrich)
+ git clean -f -d
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 1b50b70 HIVE-22673: Replace Base64 in contrib Package (David 
Mollitor, reviewed by Zoltan Haindrich)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-03-07 17:44:37.353
+ rm -rf ../yetus_PreCommit-HIVE-Build-21001
+ mkdir ../yetus_PreCommit-HIVE-Build-21001
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-21001
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-21001/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
fatal: git diff header lacks filename information when removing 0 leading 
pathname components (line 23)
Trying to apply the patch with -p1
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000002_0000002_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000003_0000003_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000003_0000003_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000003_0000003_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000002_0000002_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl3/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl3/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl3/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl4/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl4/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl4/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl5/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl5/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl5/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl6/fld1=1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl6/fld1=1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl6/fld1=1/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl6/fld1=2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'data/files/repl_dump/hive/test_hcube_2/tbl6/fld1=2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
data/files/repl_dump/hive/test_hcube_2/tbl6/fld1=2/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
Trying to apply the patch with -p2
error: files/repl_dump/_dumpmetadata: does not exist in index
error: files/repl_dump/test_hcube_2/_metadata: does not exist in index
error: files/repl_dump/test_hcube_2/tbl/_metadata: does not exist in index
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: files/repl_dump/test_hcube_2/tbl1/_metadata: does not exist in index
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000002_0000002_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000003_0000003_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000003_0000003_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl1/data/delta_0000003_0000003_0000/bucket_00000:
 patch does not apply
error: files/repl_dump/test_hcube_2/tbl2/_metadata: does not exist in index
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000002_0000002_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl2/data/delta_0000002_0000002_0000/bucket_00000:
 patch does not apply
error: files/repl_dump/test_hcube_2/tbl3/_metadata: does not exist in index
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl3/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl3/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl3/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: files/repl_dump/test_hcube_2/tbl4/_metadata: does not exist in index
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl4/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl4/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl4/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: files/repl_dump/test_hcube_2/tbl5/_metadata: does not exist in index
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl5/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl5/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl5/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: files/repl_dump/test_hcube_2/tbl6/_metadata: does not exist in index
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl6/fld1=1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl6/fld1=1/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl6/fld1=1/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl6/fld1=2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
Falling back to three-way merge...
error: cannot apply binary patch to 
'files/repl_dump/hive/test_hcube_2/tbl6/fld1=2/data/delta_0000001_0000001_0000/bucket_00000'
 without full index line
error: 
files/repl_dump/hive/test_hcube_2/tbl6/fld1=2/data/delta_0000001_0000001_0000/bucket_00000:
 patch does not apply
error: files/repl_dump/test_hcube_2/tbl/data/_files: does not exist in index
error: files/repl_dump/test_hcube_2/tbl1/data/_files: does not exist in index
error: files/repl_dump/test_hcube_2/tbl2/data/_files: does not exist in index
error: files/repl_dump/test_hcube_2/tbl3/data/_files: does not exist in index
error: files/repl_dump/test_hcube_2/tbl4/data/_files: does not exist in index
error: files/repl_dump/test_hcube_2/tbl5/data/_files: does not exist in index
error: files/repl_dump/test_hcube_2/tbl6/fld1=1/_files: does not exist in index
error: files/repl_dump/test_hcube_2/tbl6/fld1=2/_files: does not exist in index
error: 
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenarios.java:
 does not exist in index
error: 
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTablesBootstrap.java:
 does not exist in index
error: 
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcrossInstances.java:
 does not exist in index
error: 
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosExternalTables.java:
 does not exist in index
error: 
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosExternalTablesMetaDataOnly.java:
 does not exist in index
error: 
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationWithTableMigration.java:
 does not exist in index
error: 
hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestTableLevelReplicationScenarios.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/ReplCopyTask.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/ReplLoadWork.java: does not 
exist in index
error: 
src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java:
 does not exist in index
error: 
src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.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/parse/EximUtil.java: does not exist 
in index
error: src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java: 
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/ReplicationSpec.java: does not 
exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java: does not 
exist in index
error: 
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/BootStrapReplicationSpecFunction.java:
 does not exist in index
error: src/java/org/apache/hadoop/hive/ql/parse/repl/dump/PartitionExport.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/AbstractEventHandler.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/CommitTxnHandler.java:
 does not exist in index
error: 
src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CreateTableHandler.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/io/FileOperations.java: does 
not exist in index
error: src/test/org/apache/hadoop/hive/ql/exec/repl/TestReplDumpTask.java: 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-21001
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12995916 - PreCommit-HIVE-Build

> Include data in replication staging directory
> ---------------------------------------------
>
>                 Key: HIVE-22865
>                 URL: https://issues.apache.org/jira/browse/HIVE-22865
>             Project: Hive
>          Issue Type: Task
>            Reporter: PRAVIN KUMAR SINHA
>            Assignee: PRAVIN KUMAR SINHA
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22865.1.patch, HIVE-22865.10.patch, 
> HIVE-22865.11.patch, HIVE-22865.12.patch, HIVE-22865.13.patch, 
> HIVE-22865.14.patch, HIVE-22865.2.patch, HIVE-22865.3.patch, 
> HIVE-22865.4.patch, HIVE-22865.5.patch, HIVE-22865.6.patch, 
> HIVE-22865.7.patch, HIVE-22865.8.patch, HIVE-22865.9.patch
>
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to