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