[ 
https://issues.apache.org/jira/browse/ATLAS-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967671#comment-16967671
 ] 

Ashutosh Mestry edited comment on ATLAS-3506 at 11/5/19 5:24 PM:
-----------------------------------------------------------------

[~mukund-thakur] Thank you for the patch. Changes look good +1.

Pre-commit build: 
[https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/1526/]


was (Author: ashutoshm):
[~mukund-thakur] Thank you for the patch. Changes look good +1.

> ALTAS import fails when AtlasClient is used but succeeds when curl is using 
> in Knox trusted proxy setup
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3506
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3506
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 3.0.0
>            Reporter: Mukund Thakur
>            Assignee: Ashutosh Mestry
>            Priority: Critical
>              Labels: knox
>         Attachments: atlas_trusted_proxy.patch
>
>
> 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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to