fiware-cosmos

My Hive client stopped working with Cosmos instance

自闭症网瘾萝莉.ら 提交于 2019-12-02 07:46:38
问题 I have a Hive client (written in Java) that worked just fine with the Global Instance of Cosmos at FIWARE Lab. However, it is not working anymore, it seems the client cannot connect (it times out). Has anything changed on the server-side? 回答1: This is because the Global Instance of Cosmos at FIWARE Lab has been upgraded and now HiveServer2 is being run on the server side of Hive. Thus, everything in your code is still valid except for the following: Load org.apache.hive.jdbc.HiveDriver

My Hive client stopped working with Cosmos instance

。_饼干妹妹 提交于 2019-12-02 04:53:44
I have a Hive client (written in Java) that worked just fine with the Global Instance of Cosmos at FIWARE Lab. However, it is not working anymore, it seems the client cannot connect (it times out). Has anything changed on the server-side? This is because the Global Instance of Cosmos at FIWARE Lab has been upgraded and now HiveServer2 is being run on the server side of Hive. Thus, everything in your code is still valid except for the following: Load org.apache.hive.jdbc.HiveDriver instead of org.apache.hadoop.hive.jdbc.HiveDriver . Change the JDBC connection schema from jdbc:hive to jdbc:hive2

Cygnus can not persist data on Cosmos global instance

删除回忆录丶 提交于 2019-12-01 21:47:02
When trying to persist an entity from Cygnus to Cosmos global instance it fails. Looking at the log file I see something like that: 2015 15:31:50,006 DEBUG [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.http.impl.conn.DefaultClientConnection.sendRequestHeader:273) - >> GET /webhdfs/v1/user/ms/def_serv/def_servpath/6_registervalues/6_registervalues.txt?op=getfilestatus&user.name=ms HTTP/1.1 12 Nov 2015 15:31:50,006 DEBUG [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.http.impl.conn.DefaultClientConnection.sendRequestHeader:276) - >> X-Auth-Token: xxxxxxxxxxxxxxxxxxx 12

How to scale Orion GE?

只谈情不闲聊 提交于 2019-12-01 05:29:50
I have deployed an Orion instance in FILAB and I have configured the Cygnus inyector in order to store information in Cosmos. But...let us imagine a scenario in which the number of entities increases drastically. In this hypothetical scenario one instance of Orion GE wouldn't be enough so it would be necessary to deploy more instances. What would be the scale procedure? Taking into account the maximum quotas are: VM Instances: 5 VCPUs: 10 Hard Disk: 100 GB Memory: 10240 MB Public IP: 1 I understand that quotas may be subject to changes but what would be the free account limit? What would be

OAuth2 access to Cosmos' WebHDFS in FIWARE Lab

拥有回忆 提交于 2019-11-28 04:19:22
问题 I've recently seen the access to Cosmos' WebHDFS in FIWARE Lab has been protected with OAuth2. I know I have to add a OAuth2 token to the request in order to continue using WebHDFS, but: How can I get the token? How the token is added to the request? Without the token, the API always returns: $ curl -X GET "http://cosmos.lab.fi-ware.org:14000/webhdfs/v1/user/gtorodelvalle?op=liststatus&user.name=gtorodelvalle" Auth-token not found in request header 回答1: Yes, now WebHDFS access is protected