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

Hive QA commented on HIVE-19753:
--------------------------------



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

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

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

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-21 16:49:06.124
+ [[ -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-11972/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-21 16:49:06.127
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 596edd1 HIVE-19897: Add more tests for parallel compilation 
(Yongzhi Chen, reviewed by Aihua Xu)
+ 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 596edd1 HIVE-19897: Add more tests for parallel compilation 
(Yongzhi Chen, reviewed by Aihua Xu)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-06-21 16:49:07.197
+ rm -rf ../yetus_PreCommit-HIVE-Build-11972
+ mkdir ../yetus_PreCommit-HIVE-Build-11972
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-11972
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-11972/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
fatal: git apply: bad git-diff - inconsistent old filename on line 5970
error: patch failed: 
itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java:1238
Falling back to three-way merge...
Applied patch to 
'itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java' with 
conflicts.
Going to apply patch with: git apply -p1
/data/hiveptest/working/scratch/build.patch:1259: trailing whitespace.
col1                    string                                      
/data/hiveptest/working/scratch/build.patch:1260: trailing whitespace.
col2                    string                                      
/data/hiveptest/working/scratch/build.patch:1261: trailing whitespace.
col3                    double                                      
/data/hiveptest/working/scratch/build.patch:1262: trailing whitespace.
col4                    string                                      
/data/hiveptest/working/scratch/build.patch:1263: trailing whitespace.
col5                    string                                      
error: patch failed: 
itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java:1238
Falling back to three-way merge...
Applied patch to 
'itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java' with 
conflicts.
U itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
warning: squelched 54 whitespace errors
warning: 59 lines add whitespace errors.
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-11972
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12928536 - PreCommit-HIVE-Build

> Strict managed tables mode in Hive
> ----------------------------------
>
>                 Key: HIVE-19753
>                 URL: https://issues.apache.org/jira/browse/HIVE-19753
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>            Priority: Major
>         Attachments: HIVE-19753.1.patch, HIVE-19753.2.patch, 
> HIVE-19753.3.patch, HIVE-19753.4.patch, HIVE-19753.5.patch
>
>
> Create a mode in Hive which enforces that all managed tables are 
> transactional (both full or insert-only tables allowed). Non-transactional 
> tables, as well as non-native tables, must be created as external tables when 
> this mode is enabled.
> The idea would be that in strict managed tables mode all of the data written 
> to managed tables would have been done through Hive.
> The mode would be enabled using config setting hive.strict.managed.tables.



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

Reply via email to