Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3506

ALTAS import fails when AtlasClient is used but succeeds when curl is using in Knox trusted proxy setup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • None
    • atlas-core

    Description

      Atlas client to call import for hive databases. We have a knox based trusted proxy setup when this call fails with 500 Internal Sever Error. But the same exact call succeeds when curl is used in place of atlas java client. 

      I debugged this and found that Atlas client doesn't set  "Expect", "100-continue" header and curl automatically sets this. I have a patch where i added this header in the atlas client java code and post that it works fine. 

      Let me know if anybody has any specific questions. 

      Attachments

        1. atlas_trusted_proxy.patch
          1 kB
          Mukund Thakur

        Activity

          People

            amestry Ashutosh Mestry
            mukund-thakur Mukund Thakur
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: