Hadoop Fiware Cosmos。无法连接到Comos到配置单元服务
我无法远程连接服务蜂箱 我正在使用这个图书馆Hadoop Fiware Cosmos。无法连接到Comos到配置单元服务,hadoop,hive,fiware-cosmos,Hadoop,Hive,Fiware Cosmos,我无法远程连接服务蜂箱 我正在使用这个图书馆 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'
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 );
但是调用会无限期地等待,直到到达超时。不是PHP专家,但请尝试在某个地方指定默认数据库。它名为
default
。不是PHP专家,但请尝试在某个地方指定默认数据库。它被命名为default
。