[
https://issues.apache.org/jira/browse/ATLAS-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967851#comment-16967851
]
ASF subversion and git services commented on ATLAS-3506:
--------------------------------------------------------
Commit 3c0d7857c0b528e489cada665e64dc4fad20ec81 in atlas's branch
refs/heads/branch-2.0 from Mukund Thakur
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=3c0d785 ]
ATLAS-3506 Add Expect 100 Continue header to Atlas Client.
Signed-off-by: Ashutosh Mestry <[email protected]>
> 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)