mirror of
https://github.com/apache/impala.git
synced 2026-01-08 12:02:54 -05:00
Rhel5x doesn't have the python ssl module installed by default. Thrift's TSSLSocket module tries to import the ssl module. Currently, if the import fails, the exception is not caught, making the shell unusable on Rhel5x. This change attempts to only import TSSLSocket when the user wants an SSL-secured connection; If it's not found, the shell exits with a warning. Change-Id: I5cf30b2d0533b91d207a1aadb9ded7e753d7b01b Reviewed-on: http://gerrit.ent.cloudera.com:8080/648 Tested-by: jenkins Reviewed-by: Ishaan Joshi <ishaan@cloudera.com> Tested-by: Ishaan Joshi <ishaan@cloudera.com>