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

[fiware-stackoverflow] Can't use attr_persistence column on mysql sink

    Details

      Description

      Created question in FIWARE Q/A platform on 14-12-2015 at 11:12
      Please, ANSWER this question AT https://stackoverflow.com/questions/34264298/cant-use-attr-persistence-column-on-mysql-sink

      Question:
      Can't use attr_persistence column on mysql sink

      Description:
      I'm trying to use the column type with OrionMySQLSink. My agent has this code:

      cygnusagent.sinks.mysql-sink.type = com.telefonica.iot.cygnus.sinks.OrionMySQLSink
      cygnusagent.sinks.mysql-sink.channel = mysql-channel
      cygnusagent.sinks.mysql-sink.enable_grouping = false
      cygnusagent.sinks.mysql-sink.mysql_host = localhost
      cygnusagent.sinks.mysql-sink.mysql_port = 3306
      cygnusagent.sinks.mysql-sink.mysql_username = ********
      cygnusagent.sinks.mysql-sink.mysql_password = *********
      cygnusagent.sinks.mysql-sink.table_type = table-by-destination
      cygnusagent.sinks.mysql-sink.attr_persistence = column
      cygnusagent.sinks.mysql-sink.batch_size = 1
      cygnusagent.sinks.mysql-sink.batch_timeout = 10

      I'm having this error when I use the sink:

      2015-12-14 08:43:58,118 (SinkRunner-PollingRunner-DefaultSinkProcessor) [ERROR - com.telefonica.iot.cygnus.sinks.OrionSink.process(OrionSink.java:187)] Persistence error (Unknown database 'fiw-serv')

      I don't have any problem with row mode, only with column mode.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 54m 1 Backlog Manager 22/May/17 6:10 PM
        In Progress In Progress Closed Closed
        3h 1 Backlog Manager 22/May/17 9:10 PM

          People

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

            Dates

            • Created:
              Updated:
              Resolved: