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

FIWARE.Question.Tech.Data.OrionContextBroker.HowToFillCygnusconf

    Details

      Description

      Created question in FIWARE Q/A platform on 26-11-2014 at 14:11
      Please, ANSWER this question AT http://stackoverflow.com/questions/27150093/how-to-fill-cygnus-conf

      Question:
      How to fill Cygnus.conf

      Description:
      Some days ago I was able to run cygnus, on my Context Broker vm, like that the documentation says. All suscriptions between cygnus and CB are done without problems, and the notifications that the CB sends, reach cygnus.

      My doubt is when I have to configure cygnus.conf, I think that, the failures that I have, when Cygnus sends data to COSMOS are related with this archive's fields configuration. The next file is the template to fill, available in the documentation:

          1. ============================================
            ###OrionHDFSSink configuration
            ###channel name from where to read notification events
            cygnusagent.sinks.hdfs-sink.channel = hdfs-channel
          2. sink class, must not be changed
            cygnusagent.sinks.hdfs-sink.type = es.tid.fiware.fiwareconnectors.cygnus.sinks.OrionHDFSSink
          3. Comma-separated list of FQDN/IP address regarding the Cosmos Namenode endpoints
            cygnusagent.sinks.hdfs-sink.cosmos_host = x1.y1.z1.w1,x2.y2.z2.w2
            ###port of the Cosmos service listening for persistence operations; 14000 for httpfs, 50070 for webhdfs and free choice for inifinty
            cygnusagent.sinks.hdfs-sink.cosmos_port = 14000
            ###default username allowed to write in HDFS
            cygnusagent.sinks.hdfs-sink.cosmos_default_username = default
            ###default password for the default username
            cygnusagent.sinks.hdfs-sink.cosmos_default_password = xxxxxxxxxxxxx
            ###HDFS backend type (webhdfs, httpfs or infinity)
            cygnusagent.sinks.hdfs-sink.hdfs_api = httpfs
          4. how the attributes are stored, either per row either per column (row, column)
            cygnusagent.sinks.hdfs-sink.attr_persistence = column
            ###Hive FQDN/IP address of the Hive server
            cygnusagent.sinks.hdfs-sink.hive_host = x.y.z.w
          5. Hive port for Hive external table provisioning
            cygnusagent.sinks.hdfs-sink.hive_port = 10000
          1. ============================================

      But for me is not clear what direction i have to put in the next field:

          1. Comma-separated list of FQDN/IP address regarding the Cosmos Namenode endpoints
            cygnusagent.sinks.hdfs-sink.cosmos_host = x1.y1.z1.w1,x2.y2.z2.w2

      and I also don't know if the hive server field, the direction that i need to write is the same that fiware COSMOS instance's ip address:

          1. Hive FQDN/IP address of the Hive server
            cygnusagent.sinks.hdfs-sink.hive_host = x.y.z.w

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-11-12 21:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-11-12 21:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-11-13 00:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-11-13 00:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-11-13 03:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-11-13 03:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: