You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2015/05/07 19:54:03 UTC

[jira] [Resolved] (AURORA-823) thermos pex GLIBC error when using py27/glibc 2.12/rhel6.4

     [ https://issues.apache.org/jira/browse/AURORA-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell resolved AURORA-823.
---------------------------------
    Resolution: Fixed

> thermos pex GLIBC error when using py27/glibc 2.12/rhel6.4
> ----------------------------------------------------------
>
>                 Key: AURORA-823
>                 URL: https://issues.apache.org/jira/browse/AURORA-823
>             Project: Aurora
>          Issue Type: Bug
>          Components: Executor
>    Affects Versions: 0.5.0
>            Reporter: Bhuvan Arumugam
>            Assignee: brian wickman
>             Fix For: 0.8.0
>
>
> https://pypi.python.org/pypi/mesos.native/0.20.0
> 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/pex.py", line 225, in execute
>     self.execute_entry(entry_point, args)
>   File "/usr/local/bin/gc_executor/.bootstrap/_pex/pex.py", line 273, in execute_entry
>     runner(entry_point)
>   File "/usr/local/bin/gc_executor/.bootstrap/_pex/pex.py", line 295, in execute_pkg_resources
>     runner = entry.load(require=False)  # trust that the environment is sane
>   File "/usr/local/bin/gc_executor/.bootstrap/pkg_resources.py", line 2048, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File "/usr/local/bin/gc_executor/apache/aurora/executor/bin/gc_executor_main.py", 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/__init__.py", line 17, in <module>
>     from ._mesos import MesosExecutorDriverImpl
> ImportError: /lib64/libc.so.6: 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/_mesos.so)
> {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
(v6.3.4#6332)