我已经安装了microstrategy bi工具和带有hadoop服务的apachehive-1.1.x。
起动 hiveserver2
以及 hadoop services
. 测试了连接,工作正常。我没有使用任何身份验证来运行此服务。
是否可以选择将非sasl apache配置单元服务器与microstrategy连接?没有用户和密码就无法在微策略中创建dsn。
我使用以下步骤连接apachehive“addnewdatasource->hadoop->dsnless datasource->apachehive”
如果我在用户和密码中给出任何未知值,则表示抛出以下错误
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.
1条答案
按热度按时间2eafrhcq1#
我在hive-site.xml中发现了这个问题,因为hive.server2.authentication值必须用作none。
NOSASL
是原始传输,具有用户名和密码。在hive-site.xml中添加以下属性