Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hadoop Fiware Cosmos。无法连接到Comos到配置单元服务_Hadoop_Hive_Fiware Cosmos - Fatal编程技术网

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