将无身份验证的 apache hive 与 MicroStrategy 连接

connecting no authentication apache hive with MicroStrategy

我已经安装了 MicroStrategy BI 工具和 Apache Hive-1。1.x 以及 Hadoop 服务。

已开始 hiveserver2hadoop services。并测试了连接,完美运行。我没有对 运行 此服务使用任何身份验证。

是否有将非 SASL Apache Hive 服务器与 MicroStrategy 连接的选项? 没有用户名和密码无法在 MicroStrategy 中创建 DSN。

我使用以下步骤连接 apache hive 'Add New Datasource->Hadoop->DSN-less Datasource->Apache Hive'

如果我在 User 和 Password 中给出任何未知值意味着抛出以下错误

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.

我在 hive-site.xml 中发现问题,对于 hive。server2.authentication 值必须使用作为 NONE。 NOSASL 是原始传输,有用户名和密码。

hive-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>