You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Cody Maloney (JIRA)" <ji...@apache.org> on 2015/06/12 00:51:00 UTC

[jira] [Created] (MESOS-2862) mesos-fetcher won't fetch uris which begin with a " "

Cody Maloney created MESOS-2862:
-----------------------------------

             Summary: mesos-fetcher won't fetch uris which begin with a " "
                 Key: MESOS-2862
                 URL: https://issues.apache.org/jira/browse/MESOS-2862
             Project: Mesos
          Issue Type: Bug
          Components: fetcher
    Affects Versions: 0.22.1
            Reporter: Cody Maloney
            Priority: Minor


Discovered while running mesos with marathon on top. If I launch a marathon task with a URI which is " http://apache.osuosl.org/mesos/0.22.1/mesos-0.22.1.tar.gz" mesos will log to stderr:

{code}
I0611 22:39:22.815636 35673 logging.cpp:177] Logging to STDERR
I0611 22:39:25.643889 35673 fetcher.cpp:214] Fetching URI ' http://apache.osuosl.org/mesos/0.22.1/mesos-0.22.1.tar.gz'
I0611 22:39:25.648111 35673 fetcher.cpp:94] Hadoop Client not available, skipping fetch with Hadoop Client
Failed to fetch:  http://apache.osuosl.org/mesos/0.22.1/mesos-0.22.1.tar.gz
Failed to synchronize with slave (it's probably exited)
{code}

It would be nice if mesos trimmed leading whitespace before doing protocol detection so that simple mistakes are just fixed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)