Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0.0-incubating
    • Security
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: