[Fiware-lab-help] Difficulties to connect to hive service

Victor Esteban victor at limogin.com
Tue Jul 7 11:43:09 CEST 2015


Hello,

I can not connect with the servive hive remotely.

I'm use this library

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

And my connection declaration is the following:

// 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  );

But the call waits indefinitely until it reaches a timeout.

Thanks,

Victor.


-- 
*Victor Esteban*
*Mail: * victor at limogin.com <mailto:victor at limogin.com>
*Telf. * +34 615 800 104
*Web: * http://www.limogin.com
*LinkedIn:* http://www.linkedin.com/in/limogin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150707/da72e956/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy