Apache S4
  1. Apache S4
  2. S4-111

Deployment fails getting the .s4r file from the web

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.6

      Description

      Using 0.5.0. Trying to deploy an example s4 app in a distributed environment. First I build the s4r file, leave it in a web server accessible from my machines, and execute the following, getting an error:

      ./s4 deploy -s4r=http://<server>/<path>/twitter-adapter.s4r
        -c=cluster2 -appName=twitter-adapter
      
      01:15:52.584 [main] ERROR org.apache.s4.tools.Deploy
        Specified S4R file does not exist in
        /home/jaime/s4/http:/<server>/<path>/twitter-adapter.s4r
      

      Note from Matthieu: Fetching from http works when the s4r file URI is correct in ZooKeeper. Unfortunately that does not seem to work directly when using the Deploy tool

        Activity

        Jaime D created issue -
        Jaime D made changes -
        Field Original Value New Value
        Description Using 0.5.0. Trying to deploy an example s4 app in a distributed environment. First I build the s4r file, leave it in a web server accessible from my machines, and execute the following, getting an error:

        {code:none}
        ./s4 deploy -s4r=http://&lt;server&gt;/&lt;path&gt;/twitter-adapter.s4r
          -c=cluster2 -appName=twitter-adapter

        01:15:52.584 [main] ERROR org.apache.s4.tools.Deploy
          Specified S4R file does not exist in
          /home/jaime/s4/http:/<server>/<path>/twitter-adapter.s4r
        {code}

        Note from Matthieu: Fetching from http works when the s4r file URI is correct in ZooKeeper. Unfortunately that does not seem to work directly when using the Deploy tool
        Using 0.5.0. Trying to deploy an example s4 app in a distributed environment. First I build the s4r file, leave it in a web server accessible from my machines, and execute the following, getting an error:


        {code:none}
        ./s4 deploy -s4r=http://&lt;server&gt;/&lt;path&gt;/twitter-adapter.s4r
          -c=cluster2 -appName=twitter-adapter

        01:15:52.584 [main] ERROR org.apache.s4.tools.Deploy
          Specified S4R file does not exist in
          /home/jaime/s4/http:/<server>/<path>/twitter-adapter.s4r
        {code}

        Note from Matthieu: Fetching from http works when the s4r file URI is correct in ZooKeeper. Unfortunately that does not seem to work directly when using the Deploy tool
        Matthieu Morel made changes -
        Priority Minor [ 4 ] Major [ 3 ]
        Matthieu Morel made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Matthieu Morel [ mmorel ]
        Matthieu Morel made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Matthieu Morel
            Reporter:
            Jaime D
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development