Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-5172

Security Backends should be extensions

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.4.0
    • Component/s: CDAP, Security
    • Labels:
      None
    • Release Notes:
      Added support for authorization extensions in CDAP. Extensions extend the Authorizer class and provide a bundle jar containing all their required dependencies. This jar is specified as security.authorization.extension.jar.path in cdap-site.xml.
    • Rank:
      1|hzz85z:

      Description

      Apache Sentry cannot work with libthrift-0.9.0 that CDAP today uses. It needs v0.9.2. On 0.9.0, we get the following error:

      java.lang.NoSuchMethodError: org.apache.thrift.protocol.TBinaryProtocol.<init>(Lorg/apache/thrift/transport/TTransport;JJZZ)V
      

      This is because the TBinaryProtocol(TTransport, long, long, boolean, boolean) constructor is only available in 0.9.2.

      This jira is only to test and update the CDAP dependency. We should not update anything in Tephra.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                bhooshan Bhooshan Mogal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: