Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-256 Integrate Security with Apache Ranger
  3. HAWQ-1256

Enhance libcurl connection to RPS(Ranger Plugin Service), keep it as a long-live connection in session level

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0.0-incubating
    • Component/s: Security
    • Labels:
      None

      Description

      The current implementation of call restful api is using a local libcurl handle, which means every time there is restful call, this handle will be initialized and user, after the restful call, this handle is finalized.

      Establishing the call consumes more time, we can reduce this by keep the libcurl as a long-live connection.

      A better way is to make this libcurl context as a global structure. Just initialize it once before QD calls restful api, and finalize it before QD exits.

        Attachments

          Activity

            People

            • Assignee:
              xsheng Xiang Sheng
              Reporter:
              lilima Lili Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: