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

FIWARE.Request.Tech.Data.BigData-Analysis.OAuth2InCygnus

    Details

      Description

      Created question in FIWARE Q/A platform on 09-07-2015 at 08:07
      Please, ANSWER this question AT http://stackoverflow.com/questions/31310111/oauth2-in-cygnus

      Question:
      OAuth2 in Cygnus

      Description:
      Since it was announced the access to Cosmos' WebHDFS in FIWARE Lab is protected with OAuth2, Cygnus (version 0.8.1) is not able to persist Orion's context data in Cosmos HDFS:

      15/07/09 08:45:21 INFO handlers.OrionRestHandler: Starting transaction (1436424291-649-0000000000)
      15/07/09 08:45:21 INFO handlers.OrionRestHandler: Received data ({ "subscriptionId" : "51c0ac9ed714fb3b37d7d5a8", "originator" : "localhost", "contextResponses" : [ { "contextElement" : { "attributes" : [

      { "name" : "temperature", "type" : "centigrade", "value" : "26.5" }

      ], "type" : "Room", "isPattern" : "false", "id" : "Room1" }, "statusCode" :

      { "code" : "200", "reasonPhrase" : "OK" }

      } ]})
      15/07/09 08:45:21 INFO handlers.OrionRestHandler: Event put in the channel (id=109760451, ttl=10)
      15/07/09 08:45:21 INFO sinks.OrionSink: Event got from the channel (id=109760451, headers=

      {timestamp=1436424321536, content-type=application/json, transactionId=1436424291-649-0000000000, fiware-service=def_serv, fiware-servicepath=def_serv_path, ttl=10, destination=room1_room}

      , bodyLength=460)
      15/07/09 08:45:22 INFO sinks.OrionHDFSSink: [hdfs-sink] Persisting data at OrionHDFSSink. HDFS file (def_serv/def_serv_path/room1_room/room1_room.txt), Data (

      {"recvTime":"2015-07-09T06:45:21.536Z","temperature":"26.5", "temperature_md":[]}

      )
      15/07/09 08:45:22 ERROR sinks.OrionSink: Persistence error (The /user/frb/def_serv/def_serv_path/room1_room directory could not be created in HDFS. HttpFS response: 503 Service unavailable)
      15/07/09 08:45:22 INFO sinks.OrionSink: An event was put again in the channel (id=109760451, ttl=9)
      15/07/09 08:45:22 INFO sinks.OrionSink: Finishing transaction (1436424291-649-0000000000)

      I figure out an OAuth2 token has to be configured somewhere, but how?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1s 1 Backlog Manager 23/Sep/15 8:39 AM
        In Progress In Progress Closed Closed
        54m 3s 1 Backlog Manager 23/Sep/15 9:33 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Cosmos [ 10872 ]
        HD-Chapter Data [ 10838 ]
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Data.BigData-Analysis.OAuth2InCygnus FIWARE.Request.Tech.Data.BigData-Analysis.OAuth2InCygnus
        frb Francisco Romero made changes -
        Summary FIWARE.Question.Lab.OAuth2 in Cygnus FIWARE.Request.Lab.Data.BigData-Analysis.OAuth2InCygnus
        backlogmanager Backlog Manager made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        mev Manuel Escriche made changes -
        Assignee Francisco Romero [ frb ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: