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

Hive QA commented on HIVE-23361:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/13004048/hive-23361.10.patch

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

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

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-05-26 17:05:25.377
+ [[ -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-22627/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-05-26 17:05:25.381
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 947b7a4 HIVE-23536 : Provide an option to skip stats generation 
for major compaction (Peter Vary via Ashutosh Chauhan)
+ 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 947b7a4 HIVE-23536 : Provide an option to skip stats generation 
for major compaction (Peter Vary via Ashutosh Chauhan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-05-26 17:05:26.664
+ rm -rf ../yetus_PreCommit-HIVE-Build-22627
+ mkdir ../yetus_PreCommit-HIVE-Build-22627
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-22627
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-22627/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/hive/service/server/InformationSchemaWithPrivilegeTestBase.java:
 does not exist in index
error: a/itests/src/test/resources/testconfiguration.properties: does not exist 
in index
error: a/metastore/scripts/upgrade/hive/hive-schema-4.0.0.hive.sql: does not 
exist in index
error: a/metastore/scripts/upgrade/hive/upgrade-3.1.0-to-4.0.0.hive.sql: does 
not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java: does 
not exist in index
error: 
a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/PrivilegeSynchronizer.java:
 does not exist in index
error: a/ql/src/test/results/clientpositive/llap/show_functions.q.out: does not 
exist in index
Trying to apply the patch with -p1
error: patch failed: itests/src/test/resources/testconfiguration.properties:1698
Falling back to three-way merge...
Applied patch to 'itests/src/test/resources/testconfiguration.properties' with 
conflicts.
Going to apply patch with: git apply -p1
error: patch failed: itests/src/test/resources/testconfiguration.properties:1698
Falling back to three-way merge...
Applied patch to 'itests/src/test/resources/testconfiguration.properties' with 
conflicts.
U itests/src/test/resources/testconfiguration.properties
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-22627
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13004048 - PreCommit-HIVE-Build

> Optimising privilege synchroniser
> ---------------------------------
>
>                 Key: HIVE-23361
>                 URL: https://issues.apache.org/jira/browse/HIVE-23361
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Simhadri G
>            Assignee: Simhadri G
>            Priority: Minor
>         Attachments: hive-23361.1.patch, hive-23361.10.patch, 
> hive-23361.2.patch, hive-23361.3.patch, hive-23361.4.patch, 
> hive-23361.5.patch, hive-23361.6.patch, hive-23361.7.patch, 
> hive-23361.8.patch, hive-23361.9.patch, hive-23361.patch, hive-23361.patch
>
>
> Privilege synchronizer pulls the list of databases, tables and columns from 
> the Hive Metastore. For each of these objects it fetches the privilege 
> information and invokes HMS API to refresh the privilege information in HMS. 
> This patch store the privilege information as bit string. This is done to 
> reduce the size of the tbl_col_privs tables in metastore.



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

Reply via email to