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

Hive QA commented on HIVE-19812:
--------------------------------



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

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

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

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:48:19.785
+ [[ -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-12082/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:48:19.787
+ 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:48:20.360
+ rm -rf ../yetus_PreCommit-HIVE-Build-12082
+ mkdir ../yetus_PreCommit-HIVE-Build-12082
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-12082
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-12082/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/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not 
exist in index
error: 
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestExportImport.java:
 does not exist in index
error: 
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcrossInstances.java:
 does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.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/parse/repl/dump/Utils.java: does 
not exist in index
error: a/ql/src/test/queries/clientpositive/repl_2_exim_basic.q: does not exist 
in index
error: 
a/ql/src/test/results/clientnegative/exim_03_nonpart_noncompat_colschema.q.out: 
does not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_04_nonpart_noncompat_colnumber.q.out: 
does not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_05_nonpart_noncompat_coltype.q.out: 
does not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_06_nonpart_noncompat_storage.q.out: 
does not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_07_nonpart_noncompat_ifof.q.out: does 
not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_08_nonpart_noncompat_serde.q.out: 
does not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_09_nonpart_noncompat_serdeparam.q.out:
 does not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_10_nonpart_noncompat_bucketing.q.out: 
does not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_11_nonpart_noncompat_sorting.q.out: 
does not exist in index
error: a/ql/src/test/results/clientnegative/exim_12_nonnative_export.q.out: 
does not exist in index
error: a/ql/src/test/results/clientnegative/exim_13_nonnative_import.q.out: 
does not exist in index
error: a/ql/src/test/results/clientnegative/exim_14_nonpart_part.q.out: does 
not exist in index
error: a/ql/src/test/results/clientnegative/exim_15_part_nonpart.q.out: does 
not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_16_part_noncompat_schema.q.out: does 
not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_19_external_over_existing.q.out: does 
not exist in index
error: 
a/ql/src/test/results/clientnegative/exim_21_part_managed_external.q.out: does 
not exist in index
Going to apply patch with: git apply -p1
/data/hiveptest/working/scratch/build.patch:359: trailing whitespace.
FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.ExportTask. The existing table is not compatible 
with the Export/Import spec. 
warning: 1 line adds 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/protoc3251776972461136544.exe, --version]
libprotoc 2.5.0
protoc-jar: executing: [/tmp/protoc3251776972461136544.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-12082
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12928974 - PreCommit-HIVE-Build

> Disable external table replication by default via a configuration property
> --------------------------------------------------------------------------
>
>                 Key: HIVE-19812
>                 URL: https://issues.apache.org/jira/browse/HIVE-19812
>             Project: Hive
>          Issue Type: Task
>          Components: repl
>    Affects Versions: 3.1.0, 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.1.0, 4.0.0
>
>         Attachments: HIVE-19812.01.patch, HIVE-19812.02.patch, 
> HIVE-19812.03.patch, HIVE-19812.04.patch, HIVE-19812.05.patch, 
> HIVE-19812.06-branch-3.patch, HIVE-19812.06.patch, HIVE-19812.07.patch
>
>
> use a hive config property to allow external table replication. set this 
> property by default to prevent external table replication.
> for metadata only hive repl always export metadata for external tables.
>  
> REPL_DUMP_EXTERNAL_TABLES("hive.repl.dump.include.external.tables", false,
> "Indicates if repl dump should include information about external tables. It 
> should be \n"
> + "used in conjunction with 'hive.repl.dump.metadata.only' set to false. if 
> 'hive.repl.dump.metadata.only' \n"
> + " is set to true then this config parameter has no effect as external table 
> meta data is flushed \n"
> + " always by default.")
> This should be done for only replication dump and not for export



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

Reply via email to