fiware

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

Rush installation and integration with Orion Context Broker

随声附和 提交于 2019-12-02 04:18:44
After having running the listener and one time a consumer in the Rush, I run: contextBroker -rush localhost:5001 I made sure to use Orion 0.17 instead of 0.14 and what It's shown after enter to the /version url is: <orion> <version>0.17.0</version> <uptime>0 d, 0 h, 12 m, 14 s</uptime> <git_hash>127793ff921b37a6a570cd315ddce9a3ec541ccf</git_hash> <compile_time>Fri Nov 28 09:41:22 CET 2014</compile_time> <compiled_by>fermin</compiled_by> <compiled_in>centollo</compiled_in> </orion> Now Rush relayer works fine, what it's shown in the terminal is : [root@fiware ngsi-proxy]# contextBroker -rush

Orion Context Broker works half of the times

本秂侑毒 提交于 2019-12-02 03:05:16
I've installed Orion Context Broker 0.23.0 and it behaves rare: it only works half of the times. For instance, when trying to retrieve the version I get this error message: $ curl "http://localhost:1026/version" curl: (52) Empty reply from server $ curl "http://localhost:1026/version" <orion> <version>0.23.0</version> <uptime>15 d, 22 h, 13 m, 18 s</uptime> <git_hash>f5d76a6f11736d52402e63a4aa0ba990bff7f5eb</git_hash> <compile_time>Fri Jul 10 13:21:42 CEST 2015</compile_time> <compiled_by>fermin</compiled_by> <compiled_in>centollo</compiled_in> </orion> $ curl "http://localhost:1026/version"

SafeModeException at cosmos.lab.fi-ware.org

匆匆过客 提交于 2019-12-02 03:03:15
问题 According to the wiki http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/BigData_Analysis_-_Quick_Start_for_Programmers#Step_1._Create_a_Cosmos_account and via ssh my_user@cosmos.lab.fi-ware.org 1) I realize that there is no folder '/user/my_user' but '/home/my_user'. Why? May I suposse that my user is not propertly created? 2) I am trying to create a folder, but I get the SafeModeException: hadoop fs -mkdir /home/my_user/test mkdir: org.apache.hadoop.hdfs.server.namenode

Wilma pep proxy and keystone - valid access token not found

百般思念 提交于 2019-12-02 03:00:42
I have wilma redirecting valid requests to orion but no messages are reaching it as i always get "Access Token not found" from wilma. The account entered in wilma config file is the admin account of keystone. From openStack API docs i request tokens using below request. curl -i \ > -H "Content-Type: application/json" \ > -d ' > { "auth": { > "identity": { > "methods": ["password"], > "password": { > "user": { > "name": "userAdmin", > "domain": { "id": "default" }, > "password": "pw" > } > } > } > } > }' \ > http://130.206.115.xxx:5000/v3/auth/tokens ; echo I think i get a valid token because

Fiware error: Access-Control-Allow-Origin

与世无争的帅哥 提交于 2019-12-02 02:19:51
I'm making a call to the contextBroker and it gives me this error. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 405. From postman or from freeboard I do not get any of this. getContextBroker(){ console.log("Consumimos el servicio getContextBroker"); let headers = new Headers ({'Accept': 'application/json', 'Fiware-Service': 'x', 'Fiware-ServicePath': '/x', 'Access-Control-Allow-Origin': '*'}); let

Orion Context Broker HTTPS for subscribers

喜夏-厌秋 提交于 2019-12-02 02:13:48
Very simply question: Does the Orion Context Broker support SSL for subscribers: Ex.: Can the callback URL for subscriptions be https://mysimpleexample.com/notify I've tried this (using a trusted certificate!), and this does not seem to work for me. That being said, I've not run the Orion Context Broker using the -https option. However, looking at the manual, this option seems to be for using SSL on the context broker http server, and have nothing to do with client subscriptions. Edit: I did try this on an http endpoint and then on an https endpoint with the same hostname afterwards. Only the

Fiware - Context broker: Issue with NGSIv2 subscriptions

亡梦爱人 提交于 2019-12-02 02:02:13
I'm working with an Orion context broker version 1.2.0. I have subscribed in it two different cygnus (0.11 and 0.13) using NGSIv2, as follows: (curl 172.21.0.23:1026/v2/subscriptions -s -S --header 'Fiware-Service: prueba_015_adapter' --header 'Fiware-ServicePath: /Prueba/Planta_3' --header 'Content-Type: application/json' -d @- ) <<EOF { "description": "Cygnus subscription", "subject": { "entities": [ { "idPattern": ".*", "type": "density_algorithm" } ], "condition": { "attrs": [] } }, "notification": { "http": { "url": "http://172.21.0.33:5050/notify" }, "attrs": [] } } EOF But when the

SafeModeException at cosmos.lab.fi-ware.org

心已入冬 提交于 2019-12-01 23:40:50
According to the wiki http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/BigData_Analysis_-_Quick_Start_for_Programmers#Step_1._Create_a_Cosmos_account and via ssh my_user@cosmos.lab.fi-ware.org 1) I realize that there is no folder '/user/my_user' but '/home/my_user'. Why? May I suposse that my user is not propertly created? 2) I am trying to create a folder, but I get the SafeModeException: hadoop fs -mkdir /home/my_user/test mkdir: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /home/my_user/test. Name node is in safe mode. I have tried: hadoop

Subscription to CB working but not visible

↘锁芯ラ 提交于 2019-12-01 22:59:29
问题 I have an entity represented on the Context Broker with severall attributes (such as temperature, humidity etc...). I have a MySql database that persists the values from that entity by row . So in order to persist that info i have to make a subscription from cygnus. The problem here is that the information is being presisted but when i run the command (curl http://localhost:1026/v2/subscription) i get the output: [] as if any subscription was being made. If i do the command echo 'db.csubs