Hi everyone, I'm Carlos Corrales, part of the development team at SAPIN (FINODEX012). We have been working hard in the application and now that it's finished and we are doing tests with final users, we are improving our code. A couple of months ago we were able to write data to our HDFS in the COSMOS Fiware machine (cosmos.lab.fi-ware.org) with our user (idelgado). As we are not using Cosmos for production right now (it will be used in the future), we left it aside. Now that we are checking that everything works as expected, we can see that our Cygnus connector is not able to write properly in HDFS. We haven't changed anything in the configuration, but we receive the following error when trying to write (flume.log file) time=2015-09-13T15:11:36.744CEST | lvl=INFO | trans=1442149853-658-0000000000 | function=persist | comp=Cygnus | msg=es.tid.fiware.fiwareconnectors.cygnus.sinks.OrionHDFSSink[367] : [hdfs-sink] Persisting data at OrionHDFSSink. HDFS file (idelgado_SAPINnull), Data ({"recvTime":"2015-09-13T15:11:00.413","age":"25", "age_md":[],"exercisetype":"Light", "exercisetype_md":[],"hr":"36", "hr_md":[],"id_session":"1234", "id_session_md":[]}) time=2015-09-13T15:11:36.803CEST | lvl=ERROR | trans=1442149853-658-0000000000 | function=process | comp=Cygnus | msg=es.tid.fiware.fiwareconnectors.cygnus.sinks.OrionSink[140] : Persistence error (The unknownt/idelgado_SAPINnull directory could not be created in HDFS. HttpFS response: 401 Unauthorized) time=2015-09-13T15:11:36.804CEST | lvl=INFO | trans=1442149853-658-0000000000 | function=process | comp=Cygnus | msg=es.tid.fiware.fiwareconnectors.cygnus.sinks.OrionSink[150] : An event was put again in the channel (id=1444248959, ttl=0) time=2015-09-13T15:11:36.804CEST | lvl=INFO | trans=1442149853-658-0000000000 | function=process | comp=Cygnus | msg=es.tid.fiware.fiwareconnectors.cygnus.sinks.OrionSink[175] : Finishing transaction (1442149853-658-0000000000) As you can see, the error is 401 Unauthorized. However, we can access the Cosmos machine using SSH, and the user/password in the cygnus.conf file. We also checked that the IP address of the Cosmos machine hasn't changed. Could you please help us? We don't know what else to check... Best regards -- Carlos Corrales Cofounder Secmotic Innovation S.L. http://www.secmotic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-finodex-coaching/attachments/20150913/2f7dd898/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy