hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19058) add object owner to HivePrivilegeObject
Date Tue, 03 Apr 2018 00:00:39 GMT

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

Hive QA commented on HIVE-19058:
--------------------------------



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

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

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

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-04-02 23:55:02.676
+ [[ -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-9963/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-04-02 23:55:02.679
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   2d770d8..b849a16  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at 2d770d8 HIVE-19073: StatsOptimizer may mangle constant columns (Jesus Camacho
Rodriguez, reviewed by Ashutosh Chauhan)
+ git clean -f -d
+ 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 b849a16 HIVE-19071 : WM: backup resource plans cannot be used without quoted
idenitifiers (Sergey Shelukhin, reviewed by Prasanth Jayachandran)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-04-02 23:55:06.445
+ rm -rf ../yetus_PreCommit-HIVE-Build-9963
+ mkdir ../yetus_PreCommit-HIVE-Build-9963
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-9963
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-9963/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
Going to apply patch with: git apply -p0
+ [[ 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/protoc8276770404744856378.exe, --version]
libprotoc 2.5.0
protoc-jar: executing: [/tmp/protoc8276770404744856378.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
log4j:WARN No appenders could be found for logger (DataNucleus.Persistence).
log4j:WARN Please initialize the log4j system properly.
DataNucleus Enhancer (version 4.1.17) for API "JDO"
DataNucleus Enhancer completed with success for 39 classes.
ANTLR Parser Generator  Version 3.5.2
Output file /data/hiveptest/working/apache-github-source-source/ql/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HiveLexer.java
does not exist: must build /data/hiveptest/working/apache-github-source-source/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g
org/apache/hadoop/hive/ql/parse/HiveLexer.g
Output file /data/hiveptest/working/apache-github-source-source/ql/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HiveParser.java
does not exist: must build /data/hiveptest/working/apache-github-source-source/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g
org/apache/hadoop/hive/ql/parse/HiveParser.g
Output file /data/hiveptest/working/apache-github-source-source/ql/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HintParser.java
does not exist: must build /data/hiveptest/working/apache-github-source-source/ql/src/java/org/apache/hadoop/hive/ql/parse/HintParser.g
org/apache/hadoop/hive/ql/parse/HintParser.g
Generating vector expression code
Generating vector expression test code
Processing annotations
Annotations processed
Processing annotations
No elements to process
Processing annotations
Annotations processed
Processing annotations
No elements to process
Processing annotations
Annotations processed
Processing annotations
No elements to process
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
(process-resource-bundles) on project hive-cli: Failed to resolve dependencies for one or
more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) net.minidev:json-smart:jar:2.3-SNAPSHOT
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=net.minidev -DartifactId=json-smart -Dversion=2.3-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=net.minidev -DartifactId=json-smart -Dversion=2.3-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) org.apache.hive:hive-cli:jar:3.0.0-SNAPSHOT
[ERROR] 2) org.apache.hadoop:hadoop-common:jar:3.0.0-beta1
[ERROR] 3) org.apache.hadoop:hadoop-auth:jar:3.0.0-beta1
[ERROR] 4) com.nimbusds:nimbus-jose-jwt:jar:4.41.1
[ERROR] 5) net.minidev:json-smart:jar:2.3-SNAPSHOT
[ERROR] 
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact:
[ERROR] org.apache.hive:hive-cli:jar:3.0.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] datanucleus (http://www.datanucleus.org/downloads/maven2, releases=true, snapshots=false),
[ERROR] glassfish-repository (http://maven.glassfish.org/content/groups/glassfish, releases=false,
snapshots=false),
[ERROR] glassfish-repo-archive (http://maven.glassfish.org/content/groups/glassfish, releases=false,
snapshots=false),
[ERROR] sonatype-snapshot (https://oss.sonatype.org/content/repositories/snapshots, releases=false,
snapshots=false),
[ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
(process-resource-bundles) on project hive-jdbc: Failed to resolve dependencies for one or
more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) net.minidev:json-smart:jar:2.3-SNAPSHOT
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=net.minidev -DartifactId=json-smart -Dversion=2.3-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=net.minidev -DartifactId=json-smart -Dversion=2.3-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) org.apache.hive:hive-jdbc:jar:3.0.0-SNAPSHOT
[ERROR] 2) org.apache.hadoop:hadoop-common:jar:3.0.0-beta1
[ERROR] 3) org.apache.hadoop:hadoop-auth:jar:3.0.0-beta1
[ERROR] 4) com.nimbusds:nimbus-jose-jwt:jar:4.41.1
[ERROR] 5) net.minidev:json-smart:jar:2.3-SNAPSHOT
[ERROR] 
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact:
[ERROR] org.apache.hive:hive-jdbc:jar:3.0.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] datanucleus (http://www.datanucleus.org/downloads/maven2, releases=true, snapshots=false),
[ERROR] glassfish-repository (http://maven.glassfish.org/content/groups/glassfish, releases=false,
snapshots=false),
[ERROR] glassfish-repo-archive (http://maven.glassfish.org/content/groups/glassfish, releases=false,
snapshots=false),
[ERROR] sonatype-snapshot (https://oss.sonatype.org/content/repositories/snapshots, releases=false,
snapshots=false),
[ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
(process-resource-bundles) on project hive-accumulo-handler: Failed to resolve dependencies
for one or more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) net.minidev:json-smart:jar:2.3-SNAPSHOT
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=net.minidev -DartifactId=json-smart -Dversion=2.3-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=net.minidev -DartifactId=json-smart -Dversion=2.3-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] Path to dependency:
[ERROR] 1) org.apache.hive:hive-accumulo-handler:jar:3.0.0-SNAPSHOT
[ERROR] 2) org.apache.hadoop:hadoop-common:jar:3.0.0-beta1
[ERROR] 3) org.apache.hadoop:hadoop-auth:jar:3.0.0-beta1
[ERROR] 4) com.nimbusds:nimbus-jose-jwt:jar:4.41.1
[ERROR] 5) net.minidev:json-smart:jar:2.3-SNAPSHOT
[ERROR] 
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact:
[ERROR] org.apache.hive:hive-accumulo-handler:jar:3.0.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] datanucleus (http://www.datanucleus.org/downloads/maven2, releases=true, snapshots=false),
[ERROR] glassfish-repository (http://maven.glassfish.org/content/groups/glassfish, releases=false,
snapshots=false),
[ERROR] glassfish-repo-archive (http://maven.glassfish.org/content/groups/glassfish, releases=false,
snapshots=false),
[ERROR] sonatype-snapshot (https://oss.sonatype.org/content/repositories/snapshots, releases=false,
snapshots=false),
[ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hive-cli
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12917224 - PreCommit-HIVE-Build

> add object owner to HivePrivilegeObject
> ---------------------------------------
>
>                 Key: HIVE-19058
>                 URL: https://issues.apache.org/jira/browse/HIVE-19058
>             Project: Hive
>          Issue Type: Bug
>          Components: Security
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Major
>         Attachments: HIVE-19058.01.patch, HIVE-19058.02.patch, HIVE-19058.03.patch
>
>
> this can enable HiveAuthorizer to create policies based on the owner of the object -
for example, only let the owner of a table read/write it.



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

Mime
View raw message