Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-8297

ambari hadoop deploy fails in docker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      As stated here https://cwiki.apache.org/confluence/display/AMBARI/Development+in+Docker

      The ambari docker container should be able to deploy a Hadoop cluster in the container (tested on 1.6.1), but it is broken on trunk due to nagios being retired.
      The following docker command will fail on the latest code.

      docker run --privileged -t -p 80:80 -p 5005:5005 -p 8080:8080 -h node1.mydomain.com --name ambari1 -v ${AMBARI_SRC:-$(pwd)}:/tmp/ambari ambari/build /tmp/ambari-build-docker/bin/ambaribuild.py deploy -b
      
      ...
      
      {
        "status" : 400,
        "message" : "The component 'NAGIOS_SERVER' in host group 'host_group_1' is not valid for the specified stack"
      }HTTP/1.1 400 Bad Request
      Set-Cookie: AMBARISESSIONID=8xe0aw0vuopcytvhlzetau5q;Path=/
      Expires: Thu, 01 Jan 1970 00:00:00 GMT
      
      

      Attachments

        Issue Links

          Activity

            People

              jaoki Jun Aoki
              jaoki Jun Aoki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: