Loading

Cloudera Hadoop 연결 시 "SSL_connect: certificate verify failed" 오류 발생

게시 일자: Jul 20, 2023
상세 설명
Tableau Desktop에서 Cloudera Hadoop Hive 또는 Impala 서버에 연결할 때 다음 오류 중 하나가 발생할 수 있습니다.
[Cloudera][ImpalaODBC] (100) Error from the Impala Thrift API:SSL_connect: certificate verify failed(Impala Thrift API의 오류: SSL_connect: 인증서 확인에 실패했습니다.)
또는
[Cloudera][Hardy] (34) Error from server: SSL_connect: certificate verify failed.(Impala Thrift API의 오류: SSL_connect: 인증서 확인에 실패했습니다.) 

또는 Tableau Server에서 연결할 때 다음 오류가 발생할 수 있습니다.
Unable to connect to the data source.(데이터 원본에 연결할 수 없습니다.)
Try connecting again. If the problem persists, disconnect from the data source and contact the data source owner.(연결을 다시 시도하십시오. 문제가 지속되면 데이터 원본의 연결을 끊고 데이터 원본 소유자에게 문의하십시오.)
Unable to connect to the ODBC Data Source.Check that the necessary drivers are installed and that the connection proprties are valid.(ODBC 데이터 원본에 연결할 수 없습니다. 필요한 드라이버가 설치되어 있고 연결 속성이 유효한지 확인하십시오.)
[Cloudera][ImpalaODBC] (100) Error form the Impala Thrift API: SSL_CTX_load_verify_locations: error code: 0(Impala Thrift API 오류: SSL_CTX_load_verify_locations: 오류 코드: 0)
Unable to connect to the server <name>. Check that the server is running and that you have access privileges to the requested database(서버에 연결할 수 없습니다. 서버가 실행 중이며 요청된 데이터베이스에 액세스할 수 있는 권한이 있는지 확인하십시오.)

Cause

Tableau Desktop 또는 Tableau Server가 SSL 인증서에 연결할 수 없습니다. 
솔루션
현지 IT 팀과 협력하여 다음 옵션 중 하나를 시도해 보십시오. 

옵션 1:

Windows 인증서 관리자(certmgr.msc) 또는 그룹 정책을 사용하여 루트 인증서에 Impala SSL 인증서를 설치합니다.

옵션 2:

  1. Impala 서버의 .pem 인증서 복사본을 Tableau Desktop이 실행되는 컴퓨터에 저장합니다.
  2. TDC 파일을 다운로드하고 편집하여 신뢰할 수 있는 인증서 파일 경로를 지정하고(큰따옴표는 필요하지 않음) .tdc 파일을 다음 위치에 추가합니다.
    1. (Tableau Desktop): 내 Tableau 리포지토리\데이터 원본 폴더.
    2. (Windows용 Tableau Server): tabsvc\vizqlserver\Datasources 아래의 Tableau Server 데이터 디렉터리. 기본 경로는 C:\ProgramData\Tableau\Tableau Server\data\tabsvc\vizqlserver\Datasources입니다.
    3. (Linux용 Tableau Server): tabsvc/vizqlserver/Datasources 아래의 Tableau Server 데이터 디렉터리. 기본 경로는 /var/opt/tableau/tableau_server/data/tabsvc/vizqlserver/Datasources/입니다.

옵션 3:

ODBC 드라이버와 함께 설치된 cacerts.pem 파일을 데이터베이스 서버용으로 만든 자체 서명된 인증서로 덮어씁니다. 가능한 파일 위치 예: 
C:\Program Files (x86)\Cloudera ODBC Driver for Impala\lib
C:\Program Files\Cloudera ODBC Driver for Apache Hive\lib 
추가 자원
Tableau Server를 변경하는 경우 데이터 원본 연결(백그라운더, 데이터 서버, Vizportal, VizQL 서버)을 설정하는 프로세스를 사용하여 모든 노드에 해당 변경 사항을 적용해야 합니다.
Tableau Server에서 옵션 2를 사용하는 경우 TDC 파일은 Tableau Desktop의 해당 파일과 정확히 일치해야 합니다. 즉, .PEM 파일의 드라이브 문자, 파일 경로 및 이름이 일치해야 합니다.
 

Knowledge 기사 번호

001473448

첨부 파일

hadoopssl2.tdc

0 KB

 
로드 중
Salesforce Help | Article