hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15644) Hadoop Docker Image Pip Install Fails on branch-2
Date Tue, 31 Jul 2018 22:04:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564419#comment-16564419
] 

Haibo Chen commented on HADOOP-15644:
-------------------------------------

Thanks [~rkanter]

> Hadoop Docker Image Pip Install Fails on branch-2
> -------------------------------------------------
>
>                 Key: HADOOP-15644
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15644
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.10.0
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>            Priority: Critical
>             Fix For: 2.10.0
>
>         Attachments: HADOOP-15644-branch-2.00.patch
>
>
> HADOOP-15610 fixes the pip install failures on branch 3.x releases, but it is still failing
on branch-2, though with a slightly different error message
> {code:java}
> Downloading/unpacking pylint
>   Running setup.py (path:/tmp/pip_build_root/pylint/setup.py) egg_info for package pylint
>     /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option:
'python_requires'
>       warnings.warn(msg)
>     Traceback (most recent call last):
>       File "<string>", line 17, in <module>
>       File "/tmp/pip_build_root/pylint/setup.py", line 177, in <module>
>         install()
>       File "/tmp/pip_build_root/pylint/setup.py", line 174, in install
>         **kwargs)
>       File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
>         _setup_distribution = dist = klass(attrs)
>       File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in __init__
>         self.fetch_build_eggs(attrs.pop('setup_requires'))
>       File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
>         replace_conflicting=True
>       File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve
>         dist = best[req.key] = env.best_match(req, ws, installer)
>       File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 858, in best_match
>         return self.obtain(req, installer) # try and download/install
>       File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 870, in obtain
>         return installer(requirement)
>       File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 314, in fetch_build_egg
>         return cmd.easy_install(req)
>       File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 616, in easy_install
>         return self.install_item(spec, dist.location, tmpdir, deps)
>       File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 646, in install_item
>         dists = self.install_eggs(spec, download, tmpdir)
>       File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 834, in install_eggs
>         return self.build_and_install(setup_script, setup_base)
>       File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 1040, in build_and_install
>         self.run_setup(setup_script, setup_base, args)
>       File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py",
line 1025, in run_setup
>         run_setup(setup_script, args)
>       File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 50, in
run_setup
>         lambda: execfile(
>       File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 100, in
run
>         return func()
>       File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 52, in
<lambda>
>         {'__file__':setup_script, '__name__':'__main__'}
>       File "setup.py", line 76, in <module>
>       File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
>         _setup_distribution = dist = klass(attrs)
>       File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 243, in __init__
>         _Distribution.__init__(self,attrs)
>       File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
>         self.finalize_options()
>       File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 277, in finalize_options
>         ep.load()(self, ep.name, value)
>       File "build/bdist.linux-x86_64/egg/setuptools_scm/integration.py", line 10,
in version_keyword
>       File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 66, in
_warn_if_setuptools_outdated
>     setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
>     Complete output from command python setup.py egg_info:
>     /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option:
'python_requires'
>   warnings.warn(msg)
> Traceback (most recent call last):
>   File "<string>", line 17, in <module>
>   File "/tmp/pip_build_root/pylint/setup.py", line 177, in <module>
>     install()
>   File "/tmp/pip_build_root/pylint/setup.py", line 174, in install
>     **kwargs)
>   File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
>     _setup_distribution = dist = klass(attrs)
>   File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in __init__
>     self.fetch_build_eggs(attrs.pop('setup_requires'))
>   File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
>     replace_conflicting=True
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve
>     dist = best[req.key] = env.best_match(req, ws, installer)
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 858, in best_match
>     return self.obtain(req, installer) # try and download/install
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 870, in obtain
>     return installer(requirement)
>   File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 314, in fetch_build_egg
>     return cmd.easy_install(req)
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 616,
in easy_install
>     return self.install_item(spec, dist.location, tmpdir, deps)
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 646,
in install_item
>     dists = self.install_eggs(spec, download, tmpdir)
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 834,
in install_eggs
>     return self.build_and_install(setup_script, setup_base)
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1040,
in build_and_install
>     self.run_setup(setup_script, setup_base, args)
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1025,
in run_setup
>     run_setup(setup_script, args)
>   File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 50, in run_setup
>     lambda: execfile(
>   File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 100, in run
>     return func()
>   File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 52, in <lambda>
>     {'__file__':setup_script, '__name__':'__main__'}
>   File "setup.py", line 76, in <module>
>   File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
>     _setup_distribution = dist = klass(attrs)
>   File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 243, in __init__
>     _Distribution.__init__(self,attrs)
>   File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
>     self.finalize_options()
>   File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 277, in finalize_options
>     ep.load()(self, ep.name, value)
>   File "build/bdist.linux-x86_64/egg/setuptools_scm/integration.py", line 10, in version_keyword
>   File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 66, in _warn_if_setuptools_outdated
> setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
> ----------------------------------------
> Cleaning up...
> Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/pylint
> Storing debug log for failure in /root/.pip/pip.log
> The command '/bin/sh -c pip install pylint' returned a non-zero code: 1l{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message