Member since
06-23-2017
7
Posts
0
Kudos Received
0
Solutions
05-21-2019
01:17 PM
Hi,
I cannot connect to hive server using impyla and SSLTrustStore. Any help is highly appreciated!
>>> from impala.dbapi import connect >>> conn = connect(host='localhost',port=9443,database='default',auth_mechanism='LDAP',use_ssl=True,ca_cert='/home/faywang/my.jks',user='uid',password='passw0rd') No handlers could be found for logger "thrift.transport.TSSLSocket" Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fayw/anaconda2/lib/python2.7/site-packages/impala/dbapi.py", line 147, in connect auth_mechanism=auth_mechanism, krb_host=krb_host) File "/home/fayw/anaconda2/lib/python2.7/site-packages/impala/hiveserver2.py", line 779, in connect transport.open() File "/home/fayw/anaconda2/lib/python2.7/site-packages/thrift_sasl/__init__.py", line 68, in open self._trans.open() File "/home/fayw/anaconda2/lib/python2.7/site-packages/thrift/transport/TSSLSocket.py", line 289, in open super(TSSLSocket, self).open() File "/home/fayw/anaconda2/lib/python2.7/site-packages/thrift/transport/TSocket.py", line 101, in open handle = self._do_open(family, socktype) File "/home/fayw/anaconda2/lib/python2.7/site-packages/thrift/transport/TSSLSocket.py", line 286, in _do_open raise TTransportException(TTransportException.NOT_OPEN, msg) thrift.transport.TTransport.TTransportException: failed to initialize SSL
... View more
Labels:
- Labels:
-
Apache Hive
05-21-2018
04:10 PM
I have been struggling to install kudu-python on Centos 7 without success. The following are the commands: sudo yum install kudu-client0 sudo yum install kudu-client-devel sudo yum install -y kudu pip install kudu-python The error message: gcc -pthread -B /home/fayw/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O 3 -Wall -Wstrict-prototypes -fPIC -I/usr/include -I/home/fayw/anaconda2/include/python2.7 -c kudu/client.cpp -o build/temp. linux-x86_64-2.7/kudu/client.o cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] kudu/client.cpp:589:30: fatal error: kudu/util/int128.h: No such file or directory #include "kudu/util/int128.h" ^ compilation terminated. error: command 'gcc' failed with exit status 1 Any help is highly appreciated!!
... View more
Labels:
- Labels:
-
Apache Kudu
06-23-2017
05:35 PM
Hi, I want to install impala without cloudera manager on Centos 7. However, I could not find any impala repo for Centos 7: http://www.cloudera.com/documentation/cdh/5-0-x/Impala/Installing-and-Using-Impala/ciiu_prereqs.html?scroll=prereqs#prereqs_packages_unique_1 Please advise.
... View more
Labels: