You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/02/20 23:56:18 UTC

[jira] [Commented] (AMBARI-15124) Can't install ambari-server in Docker environment

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

Hadoop QA commented on AMBARI-15124:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12788834/AMBARI-15124.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5489//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5489//console

This message is automatically generated.

> Can't install ambari-server in Docker environment
> -------------------------------------------------
>
>                 Key: AMBARI-15124
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15124
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk
>         Environment: Docker
>            Reporter: Masahiro TANAKA
>            Priority: Minor
>              Labels: easyfix, patch
>         Attachments: AMBARI-15124.patch
>
>
> I tried to install and run ambari-server with Docker referring to [this|https://cwiki.apache.org/confluence/display/AMBARI/Development+in+Docker#DevelopmentinDocker-CreateDockerImage] then I got an error.
> {code:none}
> $ sudo docker rm ambari1
> $ sudo docker run --privileged -t -p 80:80 -p 5005:5005 -p 8080:8080 -h node1.mydomain.com --name ambari1 -v $(pwd):/tmp/ambari ambari/build /tmp/ambari-build-docker/bin/ambaribuild.py server -b
> ...(snip)...
> Traceback (most recent call last):
>   File "/tmp/ambari-build-docker/bin/ambaribuild.py", line 239, in <module>
>     retcode = install_ambari_server()
>   File "/tmp/ambari-build-docker/bin/ambaribuild.py", line 52, in install_ambari_server
>     cwd="/tmp/ambari/ambari-server/target/rpm/ambari-server/RPMS/noarch")
>   File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
>     errread, errwrite)
>   File "/usr/lib64/python2.6/subprocess.py", line 1238, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory: '/tmp/ambari/ambari-server/target/rpm/ambari-server/RPMS/noarch'
> {code}
> I think ambari-server-*.rpm is x86_64, and is in ambari-server/target/rpm/ambari-server/RPMS/x86_64



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)