数日前、ドキュメントにあるように、Context Broker vm で cygnus を実行できました。cygnus と CB の間のすべてのサブスクリプションは問題なく行われ、CB が送信する通知は cygnus に届きます。
私の疑問は、cygnus.conf を構成する必要があるときです。Cygnus が COSMOS にデータを送信するときに発生する失敗は、このアーカイブのフィールド構成に関連していると思います。次のファイルは入力するテンプレートで、ドキュメントで入手できます。
### ============================================
###OrionHDFSSink configuration
###channel name from where to read notification events
cygnusagent.sinks.hdfs-sink.channel = hdfs-channel
### sink class, must not be changed
cygnusagent.sinks.hdfs-sink.type = es.tid.fiware.fiwareconnectors.cygnus.sinks.OrionHDFSSink
### 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
### 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
### Hive port for Hive external table provisioning
cygnusagent.sinks.hdfs-sink.hive_port = 10000
### ============================================
しかし、私にとっては、次のフィールドにどのような方向性を持たなければならないのか明確ではありません:
### 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
また、ハイブ サーバー フィールド、書き込む必要がある方向が fiware COSMOS インスタンスの IP アドレスと同じかどうかもわかりません。
### Hive FQDN/IP address of the Hive server
cygnusagent.sinks.hdfs-sink.hive_host = x.y.z.w