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

Missing implementation for HiveAuthorizationTaskFactory: createShowRolesTask()

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • None

    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

              tctruong Tuong Truong
              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