Use deprecated HTTPClient as some CDH versions does not have the new method

Description

Hey after this commit it fails to start on CDH cluster, since it uses old jar from CDH: /opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/jars/httpcore-4.2.5.jar

SW doesn't have HttpClientBuilder in assembly. So it will use provided jar. On CDH it's quite old and doesn't have this HttpClientBuilder. The solution is to add explicitly to client assembly that uses SW dependencies and play with classpath

Status

Assignee

Jakub Hava

Reporter

Jakub Hava

Labels

None

CustomerVisible

No

testcase 1

None

testcase 2

None

testcase 3

None

h2ostream link

None

Affected Spark version

None

AffectedContact

None

AffectedCustomers

None

AffectedPilots

None

AffectedOpenSource

None

Support Assessment

None

Customer Request Type

None

Support ticket URL

None

End date

None

Baseline start date

None

Baseline end date

None

Task progress

None

Task mode

None

Fix versions

Priority

Major
Configure