fiware

Fiware Cygnus Error

僤鯓⒐⒋嵵緔 提交于 2019-12-11 04:37:02
问题 Looking for why my information was not persisting in Cosmos I have found this error in the log of cygnus repeated hundreds of times: 03 Sep 2015 02:20:18,491 ERROR [SinkRunner-PollingRunner-DefaultSinkProcessor] (com.telefonica.iot.cygnus.sinks.OrionSink.process:103) - Channel error (The Flume transaction could not be started. Details=begin() called when transaction is OPEN!) 03 Sep 2015 02:20:18,491 ERROR [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.flume.SinkRunner

How do I configure context broker accept post requests from my remote sensor?

落爺英雄遲暮 提交于 2019-12-11 04:36:07
问题 I have set my weather station with different sensors attached. My practice until now was to send the sensor data to a web address. But now that I have set up a CentOS 6.6 on a server with its IP address so now I want to send the sensor data directly to that machine that has orion context broker installed. So my question is, how do I configure orion context broker to accept these post requests (from the weather station sensors) that are being sent to the CentOS machine? 回答1: You shouldn't have

Fiware Cosmos Hive Authorization Issue

Deadly 提交于 2019-12-11 03:57:35
问题 I'm using a shared instance of Fiware Cosmos (meaning I don't have root privileges). I have until today successfully acessed and managed tables in hive both remotely using jdbc, and Hive CLI. But now I'm getting this error when starting Hive CLI: log4j:ERROR Could not instantiate class [org.apache.hadoop.hive.shims.HiveEventCounter]. java.lang.RuntimeException: Could not load shims in class org.apache.hadoop.log.metrics.EventCounter at org.apache.hadoop.hive.shims.ShimLoader.createShim

Download blob from fiware object-storage

与世无争的帅哥 提交于 2019-12-11 03:06:33
问题 I am facing problems using ObjectStorageAPI to manage files in FIWARE object storage. Having written a set of widgets/operators that create images and upload them onto object-storage, I would like to be able to download these files at any given instance. However, it seems that i am not able to do so. After having been authenticated, i list the container contents and, then, i try to download the file i need, specified by the global variable file_name, as follows: function onGetAuthTokenSuccess

How I specify the Fiware-Service and Fiware-ServicePath fields at Orion that set the name of MySQL database and table in Cygnus?

一个人想着一个人 提交于 2019-12-11 03:04:44
问题 So far I have configured ContextBroker to send data to Cygnus which in turn saves data by default names in database. But what if I want to target a specific database with a specific table? I know I have to set: dbName=<fiware-service> tableName=<fiware-servicePath>_<entityId>_<entityType> I dont know where that file is, and I know it isnt in /etc/sysconfig/contextBroker because that folder doesnt exist. EDIT1: here is my updatecontext: (curl localhost:1026/NGSI10/updateContext -s -S --header

Invalid Idm User when trying to Connect to Cosmos Gui

喜夏-厌秋 提交于 2019-12-11 02:48:51
问题 Since the maintenance of last Thursday I haven't been able to connect to the Cosmos-gui. As mentionned in the differents emails, i have reset my Filab password and can now access my Filab account. Everythings works fine , except for Cosmos-gui.I get the message : "Error: invalid IdM user" , Everytime i try to connect using the correct credentials. It's not a big problem, because I can still connect to my Cosmos session using SSH. The problem is just located on the web page giving the ssh

RPMs for IDAS IoTAgents GE, from Fiware

旧街凉风 提交于 2019-12-11 02:35:54
问题 I'm trying to get an IDAS intance going in a CentOS_7.1 VM in my computer. I'm interested in using UL2.0 via http, so https://github.com/telefonicaid/fiware-IoTAgent-Cplusplus/ should be the place to go. There I find RPMs are an option under Deployment/Using RPMs, but I can't find the RPMs, only the instructions on how to build them. Aren't there RPMs available for IDAS? Only building from source? Perhaps each OS instance needs its own build. Thank you 回答1: I found the RPMs. It's in the IDAS

Fiware: configure orion context broker port

蓝咒 提交于 2019-12-11 02:05:18
问题 I'm using Orion Context Broker but the default port is not valid in my organization (a firewall is filtering out 1026 for external connections). How can I change the Orion Context Broker default port? 回答1: You can change the Orion Context Broker service port using the -port command line option. For example, if you want to use port 9999, run contextBroker using the following: contextBroker ... -port 9999 Check the Orion Context Broker administration manual for details. 来源: https:/

Why cepheus don't send int without quotes to orion?

强颜欢笑 提交于 2019-12-11 00:04:25
问题 In this question I have a problem that the orion conditions were not satisfied but it was solved by removing the quotes on the especial value Why this orion subscription don't works as I want? The new problem is that when I process an event with cep that calculates the mFlag int attribute it send it to orion but apparently it is send with the quotes (same problem as described in the related question posted before) because the orion entity is changed but the notification is not triggered. The

Fiware - IDAS: TimeInstant attribute

微笑、不失礼 提交于 2019-12-10 22:38:01
问题 I’m using the MQTT Ultralight agent. I have seen that when the agent registers into the context broker an entity related to a device, the agent adds to that entity the “TimeInstant” attribute. This attribute seems to be on UTC+0. I would like to work with UTC +1. I tried modifying the device’s “TimeZone” when registering it, but seems that this doesn’t work, because the time continues to be on UTC+0. Here an example: curl -X POST 172.21.0.23:8090/iot/devices \ -i \ -H "Content-Type: