You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2019/04/17 22:22:00 UTC

[jira] [Resolved] (IMPALA-8392) make -j $IMPALA_BUILD_THREADS docker_images fails with OSError: [Errno 17] File exists: '/home/ubuntu/Impala/docker/build_context'

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

Tim Armstrong resolved IMPALA-8392.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.3.0

> make -j $IMPALA_BUILD_THREADS docker_images fails with OSError: [Errno 17] File exists: '/home/ubuntu/Impala/docker/build_context'
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-8392
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8392
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>    Affects Versions: Impala 3.2.0
>            Reporter: Tim Armstrong
>            Assignee: Tim Armstrong
>            Priority: Minor
>             Fix For: Impala 3.3.0
>
>
> Looks like there is a bug in the CMake file. I didn't see this with serial make or with ninja at all. I use ninja locally which is why I didn't notice this while developing it.
> {noformat}
> 02:45:52 Scanning dependencies of target catalogd_image
> 02:45:52 Scanning dependencies of target coord_exec_image
> 02:45:52 Scanning dependencies of target statestored_image
> 02:45:52 Scanning dependencies of target coordinator_image
> 02:45:52 Scanning dependencies of target executor_image
> 02:45:52 [ 97%] Creating impala base build context.
> 02:45:52 [ 97%] Creating impala base build context.
> 02:45:52 [ 97%] Creating impala base build context.
> 02:45:52 [ 98%] Creating impala base build context.
> 02:45:52 [ 98%] Creating impala base build context.
> 02:45:52 Traceback (most recent call last):
> 02:45:52 Traceback (most recent call last):
> 02:45:52 Traceback (most recent call last):
> 02:45:52   File "./setup_build_context.py", line 38, in <module>
> 02:45:52   File "./setup_build_context.py", line 38, in <module>
> 02:45:52   File "./setup_build_context.py", line 38, in <module>
> 02:45:52     os.makedirs(OUTPUT_DIR)
> 02:45:52         os.makedirs(OUTPUT_DIR)
> 02:45:52 os.makedirs(OUTPUT_DIR)
> 02:45:52   File "/home/ubuntu/Impala/bin/../infra/python/env/lib/python2.7/os.py", line 157, in makedirs
> 02:45:52   File "/home/ubuntu/Impala/bin/../infra/python/env/lib/python2.7/os.py", line 157, in makedirs
> 02:45:52   File "/home/ubuntu/Impala/bin/../infra/python/env/lib/python2.7/os.py", line 157, in makedirs
> 02:45:52         mkdir(name, mode)
> 02:45:52 mkdir(name, mode)
> 02:45:52     mkdir(name, mode)
> 02:45:52 OSErrorOSErrorOSError: [Errno 17] File exists: '/home/ubuntu/Impala/docker/build_context'
> 02:45:52 : [Errno 17] File exists: '/home/ubuntu/Impala/docker/build_context': 
> 02:45:52 [Errno 17] File exists: '/home/ubuntu/Impala/docker/build_context'
> 02:45:52 Traceback (most recent call last):
> 02:45:52   File "./setup_build_context.py", line 60, in <module>
> 02:45:52     symlink_file_into_dir(so, LIB_DIR)
> 02:45:52   File "./setup_build_context.py", line 51, in symlink_file_into_dir
> 02:45:52     os.symlink(src_file, os.path.join(dst_dir, os.path.basename(src_file)))
> 02:45:52 OSError: [Errno 17] File exists
> 02:45:52 docker/CMakeFiles/executor_image.dir/build.make:74: recipe for target 'docker/build_context/.timestamp' failed
> 02:45:52 make[3]: *** [docker/build_context/.timestamp] Error 1
> 02:45:52 docker/CMakeFiles/catalogd_image.dir/build.make:74: recipe for target 'docker/build_context/.timestamp' failed
> 02:45:52 make[3]: *** [docker/build_context/.timestamp] Error 1
> 02:45:52 CMakeFiles/Makefile2:13731: recipe for target 'docker/CMakeFiles/executor_image.dir/all' failed
> 02:45:52 make[2]: *** [docker/CMakeFiles/executor_image.dir/all] Error 2
> 02:45:52 make[2]: *** Waiting for unfinished jobs....
> 02:45:52 CMakeFiles/Makefile2:13665: recipe for target 'docker/CMakeFiles/catalogd_image.dir/all' failed
> 02:45:52 make[2]: *** [docker/CMakeFiles/catalogd_image.dir/all] Error 2
> 02:45:52 docker/CMakeFiles/coordinator_image.dir/build.make:74: recipe for target 'docker/build_context/.timestamp' failed
> 02:45:52 make[3]: *** [docker/build_context/.timestamp] Error 1
> 02:45:52 docker/CMakeFiles/coord_exec_image.dir/build.make:74: recipe for target 'docker/build_context/.timestamp' failed
> 02:45:52 make[3]: *** [docker/build_context/.timestamp] Error 1
> 02:45:52 CMakeFiles/Makefile2:13797: recipe for target 'docker/CMakeFiles/coord_exec_image.dir/all' failed
> 02:45:52 make[2]: *** [docker/CMakeFiles/coord_exec_image.dir/all] Error 2
> 02:45:52 CMakeFiles/Makefile2:13764: recipe for target 'docker/CMakeFiles/coordinator_image.dir/all' failed
> 02:45:52 make[2]: *** [docker/CMakeFiles/coordinator_image.dir/all] Error 2
> 02:45:52 [ 98%] Building Impala base docker image.
> {noformat}
> https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/33/



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