[Nix-dev] Mesos fetcher
Kamil Chmielewski
kamil.chm at gmail.com
Tue Jul 26 14:07:13 CEST 2016
Hi,
I've just tested it on my local NixOS with one simple tgz and everything
works:
I0726 11:59:08.197223 18213 fetcher.cpp:187] Fetching URI
'file:///tmp/fetcher-test/command.tgz'
I0726 11:59:08.197238 18213 fetcher.cpp:167] Copying resource with
command:cp '/tmp/fetcher-test/command.tgz'
'/tmp/mesos/slaves/7a5d365d-959a-4942-ba0d-0de6ebf1bd98-S0/frameworks/2681c520-9d76-413a-ac03-fa28ced72d75-0000/executors/fetcher-test-sh.5b8ccc91-5328-11e6-a2fb-0a0027000000/runs/687f7177-cb6a-441a-b59f-e51b89d559d5/command.tgz'
I0726 11:59:08.202335 18213 fetcher.cpp:84] Extracting with command:
/nix/store/3wd1y5bjl4xzhwwd5z3dy7153w5mfmyr-gnutar-1.29/bin/tar -C
'/tmp/mesos/slaves/7a5d365d-959a-4942-ba0d-0de6ebf1bd98-S0/frameworks/2681c520-9d76-413a-ac03-fa28ced72d75-0000/executors/fetcher-test-sh.5b8ccc91-5328-11e6-a2fb-0a0027000000/runs/687f7177-cb6a-441a-b59f-e51b89d559d5'
-xf
'/tmp/mesos/slaves/7a5d365d-959a-4942-ba0d-0de6ebf1bd98-S0/frameworks/2681c520-9d76-413a-ac03-fa28ced72d75-0000/executors/fetcher-test-sh.5b8ccc91-5328-11e6-a2fb-0a0027000000/runs/687f7177-cb6a-441a-b59f-e51b89d559d5/command.tgz'
I0726 11:59:08.208693 18213 fetcher.cpp:92] Extracted
'/tmp/mesos/slaves/7a5d365d-959a-4942-ba0d-0de6ebf1bd98-S0/frameworks/2681c520-9d76-413a-ac03-fa28ced72d75-0000/executors/fetcher-test-sh.5b8ccc91-5328-11e6-a2fb-0a0027000000/runs/687f7177-cb6a-441a-b59f-e51b89d559d5/command.tgz'
into
'/tmp/mesos/slaves/7a5d365d-959a-4942-ba0d-0de6ebf1bd98-S0/frameworks/2681c520-9d76-413a-ac03-fa28ced72d75-0000/executors/fetcher-test-sh.5b8ccc91-5328-11e6-a2fb-0a0027000000/runs/687f7177-cb6a-441a-b59f-e51b89d559d5'
I0726 11:59:08.208735 18213 fetcher.cpp:456] Fetched
'file:///tmp/fetcher-test/command.tgz' to
'/tmp/mesos/slaves/7a5d365d-959a-4942-ba0d-0de6ebf1bd98-S0/frameworks/2681c520-9d76-413a-ac03-fa28ced72d75-0000/executors/fetcher-test-sh.5b8ccc91-5328-11e6-a2fb-0a0027000000/runs/687f7177-cb6a-441a-b59f-e51b89d559d5/command.tgz'
I0726 11:59:08.258139 18210 exec.cpp:143] Version: 0.28.0
I0726 11:59:08.259668 18222 exec.cpp:217] Executor registered on slave
7a5d365d-959a-4942-ba0d-0de6ebf1bd98-S0
I'll try to find some time later to check your example.
--
Kamil
2016-07-26 13:21 GMT+02:00 Maarten Hoogendoorn <maarten at moretea.nl>:
> Hi,
>
> Is anyone on the list using mesos?
>
> I've tried to deploy a mesos framework (mesos-kafka) that depends on the
> extraction of archives, that are downloaded by the mesos fetcher [1].
>
> I've opened an issue about this on the nixpkgs repository as well [2].
>
> [1] http://mesos.apache.org/documentation/latest/fetcher/
> [2] https://github.com/NixOS/nixpkgs/issues/16917
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160726/cfe1391f/attachment-0001.html>
More information about the nix-dev
mailing list