You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eagle.apache.org by "xinzhang (JIRA)" <ji...@apache.org> on 2017/01/10 09:57:58 UTC

[jira] [Created] (EAGLE-856) docker - eagle could not get /eagle-service and ambari

xinzhang created EAGLE-856:
------------------------------

             Summary: docker - eagle could not get /eagle-service and ambari 
                 Key: EAGLE-856
                 URL: https://issues.apache.org/jira/browse/EAGLE-856
             Project: Eagle
          Issue Type: Bug
          Components: Application Framework
    Affects Versions: v0.4.0
            Reporter: xinzhang


step1
docker pull apacheeagle/sandbox
100%
step2
docker run -p 7077:7077 -p 7070:7070 -p 8744:8744 -p 2171:2171 -p 2777:2777 -p 6667:6667 -p 60020:60020 \
  -p 60030:60030 -p 60010:60010 -d --dns 127.0.0.1 --entrypoint /usr/local/serf/bin/start-serf-agent.sh \
  -e KEYCHAIN= --env EAGLE_SERVER_HOST=sandbox.eagle.incubator.apache.org --name sandbox \
  -h sandbox.eagle.incubator.apache.org --privileged=true apacheeagle/sandbox:latest \
  --tag ambari-server=true
100%
step3
docker run -it --rm -e EXPECTED_HOST_COUNT=1 -e BLUEPRINT=hdp-singlenode-eagle --link sandbox:ambariserver\
  --entrypoint /bin/sh apacheeagle/sandbox:latest -c /tmp/install-cluster.sh
result console:
AMBARI_HOST=172.17.0.3
[DEBUG] waits for ambari server: 172.17.0.3 RUNNING ...
...........
[DEBUG] waits until 1 hosts connected to server ...
[DEBUG] connected hosts: 0
[DEBUG] connected hosts: 0
[DEBUG] connected hosts: 0
[DEBUG] connected hosts: 0
[DEBUG] connected hosts: 1
    _                _                   _  ____   _            _  _
   / \    _ __ ___  | |__    __ _  _ __ (_)/ ___| | |__    ___ | || |
  / _ \  | '_ ` _ \ | '_ \  / _` || '__|| |\___ \ | '_ \  / _ \| || |
 / ___ \ | | | | | || |_) || (_| || |   | | ___) || | | ||  __/| || |
/_/   \_\|_| |_| |_||_.__/  \__,_||_|   |_||____/ |_| |_| \___||_||_|

Welcome to Ambari Shell. For command and param completion press TAB, for assistance type 'hint'.
ambari-shell>blueprint add --file /tmp/eagle-singlenode.json
Blueprint: 'hdp-singlenode-eagle' has been added
ambari-shell>blueprint add --file /tmp/eagle-multinode.json
Blueprint: 'hdp-multinode-eagle' has been added
ambari-shell>cluster build --blueprint hdp-singlenode-eagle
  HOSTNAME                            STATE
  ----------------------------------  ----------------------------------
  sandbox.eagle.incubator.apache.org  sandbox.eagle.incubator.apache.org

  HOSTGROUP  COMPONENT
  ---------  -------------------
  master     NODEMANAGER
  master     HIVE_CLIENT
  master     HDFS_CLIENT
  master     APP_TIMELINE_SERVER
  master     AMBARI_SERVER
  master     WEBHCAT_SERVER
  master     RESOURCEMANAGER
  master     DATANODE
  master     SUPERVISOR                                                                                                                       Installation: COMPLE
  master     NAMENODE
  master     HBASE_CLIENT
  master     HBASE_REGIONSERVER
  master     KAFKA_BROKER
  master     HISTORYSERVER
  master     HCAT
  master     YARN_CLIENT
  master     GANGLIA_SERVER
  master     HIVE_METASTORE
  master     NIMBUS
  master     DRPC_SERVER
  master     GANGLIA_MONITOR
  master     MYSQL_SERVER
  master     MAPREDUCE2_CLIENT
  master     HIVE_SERVER
  master     STORM_UI_SERVER
  master     HBASE_MASTER
  master     ZOOKEEPER_SERVER
  master     ZOOKEEPER_CLIENT
  master     SECONDARY_NAMENODE
  master     PIG
  master     TEZ_CLIENT

CLUSTER_BUILD:hdp-singlenode-eagle>cluster autoAssign
  HOSTGROUP  HOST
  ---------  ----------------------------------
  master     sandbox.eagle.incubator.apache.org

CLUSTER_BUILD:hdp-singlenode-eagle>cluster create --exitOnFinish true
Successfully created the cluster
CLUSTER:hdp-singlenode-eagle>
Event 'eagle' dispatched! Coalescing enabled: true
[DEBUG] waits for eagle to start on: 172.17.0.3
................
[DEBUG] eagle web started: 172.17.0.3:9099/eagle-service

question:
i can get on ip:192.168.33.203
hbase ui http://192.168.33.203:60010/master-status
storm ui http://192.168.33.203:8744/index.html
but i can not access 
eagle-service UI http://192.168.33.203:7077/eagle-service
Ambari UI http://192.168.33.203:7070




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