Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arcgis sink looses events (maybe when arcgis is restarted or modified?) #2405

Closed
AlvaroVega opened this issue Sep 9, 2024 · 3 comments
Closed

Comments

@AlvaroVega
Copy link
Member

AlvaroVega commented Sep 9, 2024

TBD: more info is needed:

  • Event
  • debug logs

Arcgis sink is using a custom aggregator (NGSIArcgisAggregator). So main debug logs are produced by this aggregator.

@AlvaroVega
Copy link
Member Author

Stack trace: [com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.persistBatch(NGSIArcgisFeatureTableSink.java:311), com.telefonica.iot.cygnus.sinks.NGSISink.processNewBatches(NGSISink.java:597), com.telefonica.iot.cygnus.sinks.NGSISink.process(NGSISink.java:372), com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.process(NGSIArcgisFeatureTableSink.java:325), org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:39), org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:145), java.base/java.lang.Thread.run(Thread.java:840)]
class java.net.SocketException
time=2024-09-12T11:25:58.527Z | lvl=ERROR | corr=c1e15f7e-70f9-11ef-862c-0a580a8102cd; cbnotif=6 | trans=7f93b6ea-97df-4a57-b503-d4adb702baa2 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=processNewBatches | msg=com.telefonica.iot.cygnus.sinks.NGSISink[610] : CygnusRuntimeError. CygnusRuntimeError. Error: 0
Connection reset.
class java.net.SocketException
time=2024-09-12T11:25:58.526Z | lvl=ERROR | corr=c1e15f7e-70f9-11ef-862c-0a580a8102cd; cbnotif=6 | trans=7f93b6ea-97df-4a57-b503-d4adb702baa2 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistBatch | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[310] : [sink-arcgis_geoportal_ayto_pro] Error persisting batch, CygnusRuntimeError.CygnusRuntimeError. Error: 0
Connection reset
class java.net.SocketException
time=2024-09-12T11:25:58.526Z | lvl=ERROR | corr=c1e15f7e-70f9-11ef-862c-0a580a8102cd; cbnotif=6 | trans=7f93b6ea-97df-4a57-b503-d4adb702baa2 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistAggregation | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[403] : [sink-arcgis_geoportal_ayto_pro] Error persisting batch, ArcgisException - Error: 0
ConnectietException
time=2024-09-12T11:25:58.526Z | lvl=ERROR | corr=c1e15f7e-70f9-11ef-862c-0a580a8102cd; cbnotif=6 | trans=7f93b6ea-97df-4a57-b503-d4adb702baa2 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=setError | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[596] : Error Message: Error: 0
Connection reset
class java.net.SocketException
time=2024-09-12T11:25:58.526Z | lvl=ERROR | corr=c1e15f7e-70f9-11ef-862c-0a580a8102cd; cbnotif=6 | trans=7f93b6ea-97df-4a57-b503-d4adb702baa2 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=commitFeatures | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[549] : Error: 0
Connection reset
class java.net.SocketException
time=2024-09-12T11:25:58.526Z | lvl=ERROR | corr=c1e15f7e-70f9-11ef-862c-0a580a8102cd; cbnotif=6 | trans=7f93b6ea-97df-4a57-b503-d4adb702baa2 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=checkResponse | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.RestFeatureTable[235] : Error: 0

@AlvaroVega
Copy link
Member Author

Configuring a non existent arcgis endpoint, and sending events to arcgis sink I've got the following traces each time that batch is full or reaches timeout:

time=2024-09-24T09:12:05.250Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=processNewBatches | msg=com.telefonica.iot.cygnus.sinks.NGSISink[583] : Batch completed
time=2024-09-24T09:12:05.251Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistBatch | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[291] : [arcgis-sink] Processing sub-batch regarding the smartcity_/_thing:disp1_thing destination
time=2024-09-24T09:12:05.251Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[457] : [NGSIArcgisAggregator] aggregate - ContextElement ->{"id":"thing:disp1","type":"thing","isPattern":"null","attributes":[{"name":"b","type":"Number","value":60,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"precio","type":"number","value":66,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"color","type":"string","value":"blue","metadatas":[{"name":"units","type":"text","value":"cms"},{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"level","type":"Text","value":55,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"temperature","type":"Number","value":40,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]},{"name":"TimeInstant","type":"DateTime","value":"2024-09-24T09:11:28.502Z","metadatas":[]},{"name":"status","type":"Text","value":"ALARMA12","metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]}]}
time=2024-09-24T09:12:05.252Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[458] : [NGSIArcgisAggregator] aggregate - MappedCE ->{"id":"thing:disp1","type":"thing","isPattern":"null","attributes":[{"name":"b","type":"Number","value":60,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"precio","type":"number","value":66,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"color","type":"string","value":"blue","metadatas":[{"name":"units","type":"text","value":"cms"},{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"level","type":"Text","value":55,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"temperature","type":"Number","value":40,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]},{"name":"TimeInstant","type":"DateTime","value":"2024-09-24T09:11:28.502Z","metadatas":[]},{"name":"status","type":"Text","value":"ALARMA12","metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]}]}
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[459] : [NGSIArcgisAggregator] aggregate - OriginalCE ->{"id":"thing:disp1","type":"thing","isPattern":"null","attributes":[{"name":"b","type":"Number","value":60,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"precio","type":"number","value":66,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"color","type":"string","value":"blue","metadatas":[{"name":"units","type":"text","value":"cms"},{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"level","type":"Text","value":55,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"temperature","type":"Number","value":40,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]},{"name":"TimeInstant","type":"DateTime","value":"2024-09-24T09:11:28.502Z","metadatas":[]},{"name":"status","type":"Text","value":"ALARMA12","metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]}]}
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[460] : [NGSIArcgisAggregator] aggregate - enableNameMappings status -> false
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[464] : [NGSIArcgisAggregator] aggregate - creating new aggregation object.
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$ArcgisAggregatorDomain[708] : [ArcgisAggregatorDomain] - constructor init.
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$ArcgisAggregatorDomain[718] : [ArcgisAggregatorDomain] - constructor end
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[466] : [NGSIArcgisAggregator] aggregate - aggregation created
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[468] : [NGSIArcgisAggregator] aggregate - Feature getted
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[473] : [NGSIArcgisAggregator] aggregate - Selecting context
time=2024-09-24T09:12:05.253Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[476] : [NGSIArcgisAggregator] aggregate - no mappings
time=2024-09-24T09:12:05.254Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[483] : [NGSIArcgisAggregator] aggregate - Selected context ->{"id":"thing:disp1","type":"thing","isPattern":"null","attributes":[{"name":"b","type":"Number","value":60,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"precio","type":"number","value":66,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"color","type":"string","value":"blue","metadatas":[{"name":"units","type":"text","value":"cms"},{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"level","type":"Text","value":55,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]},{"name":"temperature","type":"Number","value":40,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]},{"name":"TimeInstant","type":"DateTime","value":"2024-09-24T09:11:28.502Z","metadatas":[]},{"name":"status","type":"Text","value":"ALARMA12","metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]}]}
time=2024-09-24T09:12:05.254Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[493] : [NGSIArcgisAggregator] aggregate - featureTableUrl ->https://none.smartcity.es/server/rest/services/smartcity/
time=2024-09-24T09:12:05.254Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=aggregate | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[503] : [NGSIArcgisAggregator] aggregate - uniqueField ->thing
time=2024-09-24T09:12:05.254Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[535] : [NGSIArcgisAggregator-contextAttrToFeature] Processing Attribute: {"name":"b","type":"Number","value":60,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]}
time=2024-09-24T09:12:05.254Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[543] : [NGSIArcgisAggregator] aggregate - Atribute (name --> b, type --> Number, value --> 60, metadata= ignored )
time=2024-09-24T09:12:05.254Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[547] : Proccessing attribute value: b --> 60
time=2024-09-24T09:12:05.254Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=jsonElementToFeatureAttr | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[567] : Proccessing attribute value: b --> 60
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[535] : [NGSIArcgisAggregator-contextAttrToFeature] Processing Attribute: {"name":"precio","type":"number","value":66,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]}
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[543] : [NGSIArcgisAggregator] aggregate - Atribute (name --> precio, type --> number, value --> 66, metadata= ignored )
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[547] : Proccessing attribute value: precio --> 66
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=jsonElementToFeatureAttr | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[567] : Proccessing attribute value: precio --> 66
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[535] : [NGSIArcgisAggregator-contextAttrToFeature] Processing Attribute: {"name":"color","type":"string","value":"blue","metadatas":[{"name":"units","type":"text","value":"cms"},{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]}
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[543] : [NGSIArcgisAggregator] aggregate - Atribute (name --> color, type --> string, value --> "blue", metadata= ignored )
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[547] : Proccessing attribute value: color --> "blue"
time=2024-09-24T09:12:05.255Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=jsonElementToFeatureAttr | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[567] : Proccessing attribute value: color --> "blue"
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[535] : [NGSIArcgisAggregator-contextAttrToFeature] Processing Attribute: {"name":"level","type":"Text","value":55,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2024-09-23T09:50:28.502Z"}]}
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[543] : [NGSIArcgisAggregator] aggregate - Atribute (name --> level, type --> Text, value --> 55, metadata= ignored )
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[547] : Proccessing attribute value: level --> 55
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=jsonElementToFeatureAttr | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[567] : Proccessing attribute value: level --> 55
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[535] : [NGSIArcgisAggregator-contextAttrToFeature] Processing Attribute: {"name":"temperature","type":"Number","value":40,"metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]}
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[543] : [NGSIArcgisAggregator] aggregate - Atribute (name --> temperature, type --> Number, value --> 40, metadata= ignored )
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[547] : Proccessing attribute value: temperature --> 40
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=jsonElementToFeatureAttr | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[567] : Proccessing attribute value: temperature --> 40
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[535] : [NGSIArcgisAggregator-contextAttrToFeature] Processing Attribute: {"name":"TimeInstant","type":"DateTime","value":"2024-09-24T09:11:28.502Z","metadatas":[]}
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[543] : [NGSIArcgisAggregator] aggregate - Atribute (name --> TimeInstant, type --> DateTime, value --> "2024-09-24T09:11:28.502Z", metadata= ignored )
time=2024-09-24T09:12:05.256Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[547] : Proccessing attribute value: TimeInstant --> "2024-09-24T09:11:28.502Z"
time=2024-09-24T09:12:05.257Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=jsonElementToFeatureAttr | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[567] : Proccessing attribute value: TimeInstant --> "2024-09-24T09:11:28.502Z"
time=2024-09-24T09:12:05.257Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[535] : [NGSIArcgisAggregator-contextAttrToFeature] Processing Attribute: {"name":"status","type":"Text","value":"ALARMA12","metadatas":[{"name":"TimeInstant","type":"DateTime","value":"2023-05-22T08:25:11.391Z"}]}
time=2024-09-24T09:12:05.257Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[543] : [NGSIArcgisAggregator] aggregate - Atribute (name --> status, type --> Text, value --> "ALARMA12", metadata= ignored )
time=2024-09-24T09:12:05.257Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=contextAttrToFeature | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink$NGSIArcgisAggregator[547] : Proccessing attribute value: status --> "ALARMA12"
time=2024-09-24T09:12:05.257Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=jsonElementToFeatureAttr | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[567] : Proccessing attribute value: status --> "ALARMA12"
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistAggregation | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[378] : [arcgis-sink] persisting aggregation, 1 features.
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistAggregation | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[384] : [arcgis-sink] persistAggregation - Feature table: https://none.smartcity.es/server/rest/services/smartcity/ is new: true
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getPersistenceBackend | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[172] : Creating new persistenceBackend for Feature table: https://none.smartcity.es/server/rest/services/smartcity/
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getPersistenceBackend | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[173] : Token url: https://none.smartcity./portal/sharing/rest/generateToken
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[91] : Arcgis constructor.. https://none.smartcity.es/server/rest/services/smartcity/
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[93] : Arcgis url.. https://none.smartcity.es/server/rest/services/smartcity/
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[94] : Arcgis tokenGenUrl.. https://none.smartcity./portal/sharing/rest/generateToken
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[95] : Arcgis readOnly.. false
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[100] : Recovering attribute info from feature table. ->https://none.smartcity.es/server/rest/services/smartcity/
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getTableAttributesInfo | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.RestFeatureTable[384] : Retriving Feature table info: https://none.smartcity.es/server/rest/services/smartcity/
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=isExpired | msg=com.telefonica.iot.cygnus.backends.arcgis.model.Credential[103] : Checking Credential expiration time: 2024-09-24T09:11:05.258453910
time=2024-09-24T09:12:05.258Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getCredential | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.CredentialRestApi[86] : ------------------ getCredential()
tokenGenUrl: https://none.smartcity./portal/sharing/rest/generateToken
credential: com.telefonica.iot.cygnus.backends.arcgis.model.UserCredential@26f9ae10
credential.isExpired(): true
time=2024-09-24T09:12:05.259Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=isExpired | msg=com.telefonica.iot.cygnus.backends.arcgis.model.Credential[103] : Checking Credential expiration time: 2024-09-24T09:11:05.258453910
time=2024-09-24T09:12:05.259Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getCredential | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.CredentialRestApi[90] : Creating/Refreshing token.
time=2024-09-24T09:12:05.259Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=requestHTTP | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.RestApi[179] : requesting HTTP: https://none.smartcity./portal/sharing/rest/generateToken---METHOD: POST---BODY: username=no_username_arcgis&password=no_password_arcgis&referer=https%3A%2F%2Fnone.smartcity.es%2Fserver%2Frest%2Fservices%2Fsmartcity%2F&f=pjson
time=2024-09-24T09:12:05.266Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=requestHTTP | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.RestApi[263] : Disposing connection objects
time=2024-09-24T09:12:05.266Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getTableAttributesInfo | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.RestFeatureTable[423] : 500 { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."}
time=2024-09-24T09:12:05.267Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op= | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[105] : Argis error while connecting to Feature Table: ({ "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."})
URL: https://none.smartcity.es/server/rest/services/smartcity/
tokenGenURL: https://none.smartcity./portal/sharing/rest/generateToken
time=2024-09-24T09:12:05.267Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=setError | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[596] : Error Message: { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."}
time=2024-09-24T09:12:05.267Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getPersistenceBackend | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[181] : Error creating new persistence Backend. { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."} https://none.smartcity.es/server/rest/services/smartcity/ - https://none.smartcity./portal/sharing/rest/generateToken
time=2024-09-24T09:12:05.267Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getPersistenceBackend | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[191] : Error creating new persistence Backend. CygnusRuntimeError
time=2024-09-24T09:12:05.267Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=getPersistenceBackend | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[192] : com.telefonica.iot.cygnus.errors.CygnusRuntimeError: CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."} https://none.smartcity.es/server/rest/services/smartcity/ - https://none.smartcity./portal/sharing/rest/generateToken.
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.getPersistenceBackend(NGSIArcgisFeatureTableSink.java:183)
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.persistAggregation(NGSIArcgisFeatureTableSink.java:386)
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.persistBatch(NGSIArcgisFeatureTableSink.java:305)
at com.telefonica.iot.cygnus.sinks.NGSISink.processNewBatches(NGSISink.java:597)
at com.telefonica.iot.cygnus.sinks.NGSISink.process(NGSISink.java:372)
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.process(NGSIArcgisFeatureTableSink.java:325)
at org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:39)
at org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:145)
at java.base/java.lang.Thread.run(Thread.java:840)

time=2024-09-24T09:12:05.268Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistAggregation | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[400] : PersistAggregation Error: com.telefonica.iot.cygnus.errors.CygnusRuntimeError: CygnusRuntimeError (com.telefonica.iot.cygnus.errors.CygnusRuntimeError). Error creating new persistence Backend. (CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."} https://none.smartcity.es/server/rest/services/smartcity/ - https://none.smartcity./portal/sharing/rest/generateToken. ).
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.getPersistenceBackend(NGSIArcgisFeatureTableSink.java:195)
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.persistAggregation(NGSIArcgisFeatureTableSink.java:386)
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.persistBatch(NGSIArcgisFeatureTableSink.java:305)
at com.telefonica.iot.cygnus.sinks.NGSISink.processNewBatches(NGSISink.java:597)
at com.telefonica.iot.cygnus.sinks.NGSISink.process(NGSISink.java:372)
at com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.process(NGSIArcgisFeatureTableSink.java:325)
at org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:39)
at org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:145)
at java.base/java.lang.Thread.run(Thread.java:840)

time=2024-09-24T09:12:05.268Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistBatch | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[310] : [arcgis-sink] Error persisting batch, CygnusRuntimeError.CygnusRuntimeError (com.telefonica.iot.cygnus.errors.CygnusRuntimeError). Error creating new persistence Backend. (CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."} https://none.smartcity.es/server/rest/services/smartcity/ - https://none.smartcity./portal/sharing/rest/generateToken. ).
time=2024-09-24T09:12:05.268Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=processNewBatches | msg=com.telefonica.iot.cygnus.sinks.NGSISink[610] : CygnusRuntimeError. CygnusRuntimeError (com.telefonica.iot.cygnus.errors.CygnusRuntimeError). Error creating new persistence Backend. (CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException
none.smartcity."} https://none.smartcity.es/server/rest/services/smartcity/ - https://none.smartcity./portal/sharing/rest/generateToken. ). . Sink: arcgis-sink Destination: smartcity_/_thing:disp1_thing Stack trace: [com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.persistBatch(NGSIArcgisFeatureTableSink.java:311), com.telefonica.iot.cygnus.sinks.NGSISink.processNewBatches(NGSISink.java:597), com.telefonica.iot.cygnus.sinks.NGSISink.process(NGSISink.java:372), com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.process(NGSIArcgisFeatureTableSink.java:325), org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:39), org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:145), java.base/java.lang.Thread.run(Thread.java:840)]
time=2024-09-24T09:12:05.268Z | lvl=DEBUG | corr=N/A | trans=N/A | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=checkTimeouts | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[346] : [arcgis-sink] No Feature table Timeouts found. Features in batch: 0

@AlvaroVega AlvaroVega changed the title Arcgis sink looses events Arcgis sink looses events (when arcgis is restarted or modified) Sep 27, 2024
@AlvaroVega AlvaroVega changed the title Arcgis sink looses events (when arcgis is restarted or modified) Arcgis sink looses events (maybe when arcgis is restarted or modified?) Sep 27, 2024
@fgalan
Copy link
Member

fgalan commented Oct 1, 2024

Fixed by PR #2421

@fgalan fgalan closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants