2017-06-22 54 views
0

我已經安裝了MicroStrategy BI工具和Apache Hive-1.1.x以及Hadoop服務。將MicroStrategy連接到身份驗證的Apache配置單元

Started hiveserver2 and hadoop services。並測試連接,完美工作。我沒有使用任何身份驗證來運行此服務。

有沒有任何選項可以將非SASL Apache配置單元服務器與MicroStrategy連接? 如果沒有用戶和密碼,則無法在MicroStrategy中創建DSN。

我用下面的步驟來與Apache蜂巢連接 「添加新Datasource-> Hadoop-> DSN的Datasource->的Apache蜂巢」 enter image description here

如果我給的用戶和密碼的任何未知值意味着拋以下錯誤

There is an error. Details 
(Database error <5>: Connect failed. Error type: Odbc error. Odbc operation 
attempted: SQLDriverConnect. [S1000:5: on HDBC] [MicroStrategy][ThriftExtension] 
(5) Error occurred while contacting server: No more data to read.. This could be 
because you are trying to establish a non-SSL connection to a SSL-enabled 
server. 

回答

0

我發現蜂房的site.xml的問題,hive.server2.authentication值已用作NONE。 NOSASL是原始運輸,其中有用戶名和密碼。在蜂房的site.xml

添加以下屬性

<property> 
    <name>hive.server2.authentication</name> 
    <value>NONE</value> 
    <description> 
     Expects one of [nosasl, none, ldap, kerberos, pam, custom]. 
     Client authentication types. 
     NONE: no authentication check 
     LDAP: LDAP/AD based authentication 
     KERBEROS: Kerberos/GSSAPI authentication 
     CUSTOM: Custom authentication provider 
       (Use with property hive.server2.custom.authentication.class) 
     PAM: Pluggable authentication module 
     NOSASL: Raw transport 
    </description> 
    </property>