aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zameer Manji (JIRA)" <>
Subject [jira] [Commented] (AURORA-823) thermos pex GLIBC error when using py27/glibc 2.12/rhel6.4
Date Thu, 09 Oct 2014 22:52:34 GMT


Zameer Manji commented on AURORA-823:

You should not use the egg on pypi. As far as I know it isn't maintained by the mesos team.
I suggest grabbing an egg from or compiling your own.

[~yasumoto] has some experience in this matter. [~yasumoto] what do you think what should
be done?

> thermos pex GLIBC error when using py27/glibc 2.12/rhel6.4
> ----------------------------------------------------------
>                 Key: AURORA-823
>                 URL:
>             Project: Aurora
>          Issue Type: Bug
>          Components: Executor
>    Affects Versions: 0.5.0
>            Reporter: Bhuvan Arumugam
> Recently, pants config in aurora build is modified to enforce python >= 2.7. With
this change, we can't use mesos.native library. The mesos.native egg in above pypi was built
using py27/glibc 2.16. RHEL6 is still using glibc 2.12. The pex built using this library is
not runnable, unless glibc is upgraded to 2.16.
> Here is a sample traceback occur when running {{gc_executor}}. Same error occur with
{{thermos_observer}} and {{thermos_executor}}:
> {code}
> $ /usr/local/bin/gc_executor 
> Traceback (most recent call last):
>   File "/usr/local/bin/gc_executor/.bootstrap/_pex/", line 225, in execute
>     self.execute_entry(entry_point, args)
>   File "/usr/local/bin/gc_executor/.bootstrap/_pex/", line 273, in execute_entry
>     runner(entry_point)
>   File "/usr/local/bin/gc_executor/.bootstrap/_pex/", line 295, in execute_pkg_resources
>     runner = entry.load(require=False)  # trust that the environment is sane
>   File "/usr/local/bin/gc_executor/.bootstrap/", line 2048, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File "/usr/local/bin/gc_executor/apache/aurora/executor/bin/", line
22, in <module>
>   File "/root/.pex/install/mesos.native-0.20.0-py2.7-linux-x86_64.egg.be6632b790cd03172f858e7f875cdab4ef415ca5/mesos.native-0.20.0-py2.7-linux-x86_64.egg/mesos/native/",
line 17, in <module>
>     from ._mesos import MesosExecutorDriverImpl
> ImportError: /lib64/ version `GLIBC_2.16' not found (required by /root/.pex/install/mesos.native-0.20.0-py2.7-linux-x86_64.egg.be6632b790cd03172f858e7f875cdab4ef415ca5/mesos.native-0.20.0-py2.7-linux-x86_64.egg/mesos/native/
> {code}
> I think, the fix is to recompile {{mesos.native}} egg to be compatible with glibc >=
v2.12. Same is applicable for {{mesos.interface}} egg.

This message was sent by Atlassian JIRA

View raw message