You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2014/04/02 18:35:25 UTC

[jira] [Updated] (SENTRY-164) Missing implementation for HiveAuthorizationTaskFactory: createShowRolesTask()

     [ https://issues.apache.org/jira/browse/SENTRY-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Jarcec Cecho updated SENTRY-164:
--------------------------------------

    Description: 
Recent commit of HIVE-6793 backport to CHD Hive 12 jar (hive-exec-0.12.0-cdh5.1.0-SNAPSHOT.jar)  introduced a new abstract method that caused  a compilation error in  sentry-binding-hive module.

{code}
( public Task<? extends Serializable> createShowRolesTask(ASTNode ast, Path resFile,  HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs) throws SemanticException;)  

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project sentry-binding-hive: Compilation failure
[ERROR] /home/biadmin/GIT_REPOS/incubator-sentry/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/SentryHiveAuthorizationTaskFactoryImpl.java:[55,7] error: SentryHiveAuthorizationTaskFactoryImpl is not abstract and does not override abstract method createShowRolesTask(ASTNode,Path,HashSet<ReadEntity>,HashSet<WriteEntity>) in HiveAuthorizationTaskFactory
{code}

  was:
Recent commit of HIVE-6793 backport to CHD Hive 12 jar (hive-exec-0.12.0-cdh5.1.0-SNAPSHOT.jar)  introduced a new abstract method that caused  a compilation error in  sentry-binding-hive module.

( public Task<? extends Serializable> createShowRolesTask(ASTNode ast, Path resFile,  HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs) throws SemanticException;)  

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project sentry-binding-hive: Compilation failure
[ERROR] /home/biadmin/GIT_REPOS/incubator-sentry/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/SentryHiveAuthorizationTaskFactoryImpl.java:[55,7] error: SentryHiveAuthorizationTaskFactoryImpl is not abstract and does not override abstract method createShowRolesTask(ASTNode,Path,HashSet<ReadEntity>,HashSet<WriteEntity>) in HiveAuthorizationTaskFactory



> Missing implementation for  HiveAuthorizationTaskFactory: createShowRolesTask()
> -------------------------------------------------------------------------------
>
>                 Key: SENTRY-164
>                 URL: https://issues.apache.org/jira/browse/SENTRY-164
>             Project: Sentry
>          Issue Type: Task
>    Affects Versions: 1.3.0
>            Reporter: Tuong Truong
>              Labels: easyfix, patch
>             Fix For: 1.3.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Recent commit of HIVE-6793 backport to CHD Hive 12 jar (hive-exec-0.12.0-cdh5.1.0-SNAPSHOT.jar)  introduced a new abstract method that caused  a compilation error in  sentry-binding-hive module.
> {code}
> ( public Task<? extends Serializable> createShowRolesTask(ASTNode ast, Path resFile,  HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs) throws SemanticException;)  
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project sentry-binding-hive: Compilation failure
> [ERROR] /home/biadmin/GIT_REPOS/incubator-sentry/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/SentryHiveAuthorizationTaskFactoryImpl.java:[55,7] error: SentryHiveAuthorizationTaskFactoryImpl is not abstract and does not override abstract method createShowRolesTask(ASTNode,Path,HashSet<ReadEntity>,HashSet<WriteEntity>) in HiveAuthorizationTaskFactory
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)