Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-164

Missing implementation for HiveAuthorizationTaskFactory: createShowRolesTask()

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:

      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.

      ( 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
      

        Attachments

        1. SENTRY-164.patch
          0.9 kB
          Tuong Truong

          Issue Links

            Activity

              People

              • Assignee:
                tctruong Tuong Truong
                Reporter:
                tctruong213 Tuong Truong
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified