brief-insurance-68141
09/23/2021, 9:55 PMminiature-tiger-96062
09/23/2021, 9:58 PMbrief-insurance-68141
09/23/2021, 10:15 PMbrief-insurance-68141
09/23/2021, 10:15 PMoptions
config parameter.
# scheme: ‘hive+http’ # set this if Thrift should use the HTTP transport
#scheme: ‘hive+https’ # set this if Thrift should use the HTTP with SSL transport
sink:
type: “datahub-rest”
config:
server: “http://datahub-datahub-gms:8080”brief-insurance-68141
09/23/2021, 10:17 PM>> from pyhive import hive
>> from TCLIService.ttypes import TOperationState
>> cursor = hive.Connection(host=“10.0.15.26", port=9083)Traceback (most recent call last): File “<stdin>“, line 1, in <module> File “/usr/local/lib/python3.8/site-packages/pyhive/hive.py”, line 267, in init self._transport.open() File “/usr/local/lib/python3.8/site-packages/thrift_sasl/__init__.py”, line 84, in open raise TTransportException(type=TTransportException.NOT_OPEN, thrift.transport.TTransport.TTransportException: Could not start SASL: b’Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found’
brief-insurance-68141
09/23/2021, 10:17 PMbrief-insurance-68141
09/23/2021, 10:18 PMbrief-insurance-68141
09/23/2021, 10:52 PMbrief-insurance-68141
09/23/2021, 10:52 PMbrief-insurance-68141
09/23/2021, 10:53 PMmammoth-bear-12532
v0.8.10
mammoth-bear-12532
mammoth-bear-12532
scheme: 'hive+https'
like the docs saymammoth-bear-12532
mysterious-monkey-71931
09/24/2021, 5:37 AMlibsasl2-modules
package.mammoth-bear-12532
yum install
?mysterious-monkey-71931
09/24/2021, 8:53 AMapt
actuallybrief-insurance-68141
09/24/2021, 7:43 PMmammoth-bear-12532
mammoth-bear-12532
mammoth-bear-12532
brief-insurance-68141
09/24/2021, 11:46 PMbrief-insurance-68141
09/24/2021, 11:46 PMpolite-flower-25924
09/26/2021, 4:49 PMmammoth-bear-12532
libsasl-modules
works for you?polite-flower-25924
09/26/2021, 5:40 PMpolite-flower-25924
09/26/2021, 8:27 PMlibsasl-modules
in datahub-ingestion image, right ?polite-flower-25924
10/03/2021, 8:45 PMlibsasl2-modules
library here fixed the issue. Should I create a PR for that?mammoth-bear-12532
polite-flower-25924
10/04/2021, 6:24 AMhigh-notebook-40979
10/21/2021, 7:27 AMhigh-notebook-40979
10/21/2021, 8:14 AMlibsasl2-modules-gssapi-mit
for GSSAPI authentication and it's worked