Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-6591

FIWARE.Question.Tech.Data.BigData-Analysis.Cygnus Cosmos integration

    Details

      Description

      Created question in FIWARE Q/A platform on 13-05-2016 at 15:05
      Please, ANSWER this question AT http://stackoverflow.com/questions/37211328/cygnus-cosmos-integration

      Question:
      Cygnus Cosmos integration

      Description:
      We manage to integrate idas-cygnus-orion flow, everything is working perfectly. (Thanks for your help Francisco)

      Now we want to add the Cosmos to the integration and I've configured Cygnus with your answer posted here (Part starting with * is added for Cosmos configuration)

      When I start Cygnus, I see that both of the sinks are started(hdfs and ckan) but when we receive a notification to Cygnus, only Ckan sink works and data is only persisted to CKAN, there isnt any log regarding Cosmos/hdfs sink/channel

      We have this grouping_rules.conf file in our path, but inside, everything is commented(since we didnt need this file for the CKAN integration) do we need to edit this file for Cosmos?(if yes, how?)

      Would you please help us on this issue?

      Many thanks
      Omer

      cygnusagent.sources = http-source
      cygnusagent.sinks = ckan-sink hdfs-sink
      cygnusagent.channels = ckan-channel hdfs-channel

      cygnusagent.sources.http-source.channels = ckan-channel hdfs-channel
      cygnusagent.sources.http-source.type = org.apache.flume.source.http.HTTPSource
      cygnusagent.sources.http-source.port = 5050
      cygnusagent.sources.http-source.handler = com.telefonica.iot.cygnus.handlers.OrionRestHandler
      cygnusagent.sources.http-source.handler.notification_target = /notify
      cygnusagent.sources.http-source.handler.events_ttl = 2
      cygnusagent.sources.http-source.interceptors = ts gi
      cygnusagent.sources.http-source.interceptors.ts.type = timestamp
      cygnusagent.sources.http-source.interceptors.gi.type = com.telefonica.iot.cygnus.interceptors.GroupingInterceptor$Builder
      cygnusagent.sources.http-source.interceptors.gi.gropuing_rules_conf_file = /Applications/apache-flume-1.4.0-bin/conf/grouping_rules.
      conf

      cygnusagent.channels.ckan-channel.type = memory
      cygnusagent.channels.ckan-channel.capacity = 1000
      cygnusagent.channels.ckan-channel.transactionCapacity = 100

      cygnusagent.sinks.ckan-sink.channel = ckan-channel
      cygnusagent.sinks.ckan-sink.type = com.telefonica.iot.cygnus.sinks.OrionCKANSink
      cygnusagent.sinks.ckan-sink.enable_grouping = false
      cygnusagent.sinks.ckan-sink.api_key = XXXXXXXXXX
      cygnusagent.sinks.ckan-sink.ckan_host = data.lab.fiware.org
      cygnusagent.sinks.ckan-sink.ckan_port = 443
      cygnusagent.sinks.ckan-sink.orion_url = localhost:1026
      cygnusagent.sinks.ckan-sink.attr_persistence = row
      cygnusagent.sinks.ckan-sink.ssl = true
      cygnusagent.sinks.ckan-sink.batch_size = 1
      cygnusagent.sinks.ckan-sink.batch_timeout = 10

      *******cygnusagent.sinks.hdfs-sink.type = com.telefonica.iot.cygnus.sinks.OrionHDFSSink
      cygnusagent.sinks.hdfs-sink.channel = hdfs-channel
      cygnusagent.sinks.hdfs-sink.enable_grouping = false
      cygnusagent.sinks.hdfs-sink.hdfs_host = cosmos.lab.fiware.org
      cygnusagent.sinks.hdfs-sink.hdfs_port = 14000
      cygnusagent.sinks.hdfs-sink.hdfs_username = XXXXX
      cygnusagent.sinks.hdfs-sink.hdfs_password = XXX
      cygnusagent.sinks.hdfs-sink.oauth2_token = XXXXXXXXX
      cygnusagent.sinks.hdfs-sink.file_format = json-column
      cygnusagent.sinks.hdfs-sink.hive_server_version = 2
      cygnusagent.sinks.hdfs-sink.hive_host = cosmos.lab.fiware.org
      cygnusagent.sinks.hdfs-sink.hive_port = 10000
      cygnusagent.sinks.hdfs-sink.krb5_auth = false

      cygnusagent.channels.hdfs-channel.type = memory
      cygnusagent.channels.hdfs-channel.capacity = 1000
      cygnusagent.channels.hdfs-channel.transactionCapacity = 100

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Cygnus Cosmos integration FIWARE.Question.Tech.Data.BigData-Analysis.Cygnus Cosmos integration
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        frb Francisco Romero made changes -
        Resolution Done [ 10000 ]
        Status Closed [ 6 ] In Progress [ 3 ]
        frb Francisco Romero made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Assignee Francisco Romero [ frb ]
        backlogmanager Backlog Manager made changes -
        HD-Chapter Unknown [ 10845 ] Data [ 10838 ]
        mev Manuel Escriche made changes -
        HD-Enabler Unknown [ 10910 ] Cosmos [ 10872 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: