[
https://issues.apache.org/jira/browse/AURORA-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248274#comment-14248274
]
Brian Brazil commented on AURORA-972:
-------------------------------------
These are the steps I used:
{code}
mkdir -p third_party
# <Internal command to download our mesos package, and install it in mesos/ >
cp mesos/*.egg third_party/
# Workaround incorrect path.
./pants src/main/python/apache/aurora/client/cli:aurora2 || true
ln -s . build-support/pants.venv/local
./pants src/main/python/apache/aurora/client/cli:aurora2
./pants src/main/python/apache/aurora/client/bin:aurora_client
./pants src/main/python/apache/aurora/client/bin:aurora_admin
./pants src/main/python/apache/aurora/executor/bin:thermos_executor
./pants src/main/python/apache/aurora/executor/bin:gc_executor
./pants src/main/python/apache/thermos/observer/bin:thermos_observer
./pants src/main/python/apache/thermos/bin:thermos_ckpt
./pants src/main/python/apache/thermos/bin:thermos
./pants src/main/python/apache/thermos/bin:thermos_runner
python <<EOF
import contextlib
import zipfile
with contextlib.closing(zipfile.ZipFile('dist/thermos_executor.pex', 'a')) as
zf:
zf.writestr('apache/aurora/executor/resources/__init__.py', '')
zf.write('dist/thermos_runner.pex',
'apache/aurora/executor/resources/thermos_runner.pex')
EOF
{code}
I suspect you need to do a build of mesos and put the eggs under third_party.
It'd be good if there was a single-step build, rather than having to reverse
engineer the vagrant setup and get things working on something other than
Ubuntu 14.04. It took me 4 hours to figure this out.
> Impossible to build Thermos.pex following instructions
> ------------------------------------------------------
>
> Key: AURORA-972
> URL: https://issues.apache.org/jira/browse/AURORA-972
> Project: Aurora
> Issue Type: Story
> Components: Documentation, Executor
> Environment: CentOS 6.5, Mesos 0.20.1
> Reporter: Igor
>
> I’ve followed all the installation instructions but can’t find the
> appropriate thermos.pex
> Started to reverse engineer what Vagrant is doing and landed on the whole
> process of “pants”
> ./pants src/main/python/apache/aurora/executor/bin:thermos_executor
> Fails with the error:
> Unsatisfiable: Cannot satisfy requirements:
> [PythonRequirement(mesos.native==0.20.1)]
> Apparently I can’t find the instructions on how to build this egg. Please
> advise.
> Thanks a lot
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)