Fiware Cosmos。无法连接到Comos以进行蜂巢服务

时间:2015-07-07 11:06:33

标签: hadoop hive fiware-cosmos

我无法远程连接servive配置单元。

我正在使用这个库

https://github.com/Automattic/php-thrift-sql

我的连接声明如下:

// Load this lib
require_once __DIR__ . '/ThriftSQL.phar';

// Try out a Hive query
$hive = new \ThriftSQL\Hive( 'cosmos.lab.fi-ware.org', 10000, 'myuser', 'myaccountpass');
$hiveTables = $hive
  ->connect()
  ->queryAndFetchAll( 'SHOW TABLES' );
print_r( $hiveTables );

但是呼叫会无限期地等待,直到超时为止。

0 个答案:

没有答案