add LICENSE
Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/22929cb2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/22929cb2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/22929cb2 Branch: refs/heads/master Commit: 22929cb22cac980bcc5c290c7eb6a066ffe2d4c8 Parents: ca6abfb Author: qinzhaokun <qinzhao...@gmail.com> Authored: Wed Nov 25 19:49:34 2015 -0700 Committer: qinzhaokun <qinzhao...@gmail.com> Committed: Wed Nov 25 19:49:34 2015 -0700 ---------------------------------------------------------------------- eagle-external/eagle-docker/Dockerfile | 16 ++++++++++++++++ eagle-external/eagle-docker/deploy-eagle.sh | 15 +++++++++++++++ eagle-external/eagle-docker/eagle-functions | 15 +++++++++++++++ eagle-external/eagle-docker/httpd/.mkdir | 0 eagle-external/eagle-docker/install-cluster.sh | 15 +++++++++++++++ eagle-external/eagle-docker/serf/handlers/eagle | 15 +++++++++++++++ eagle-external/eagle-docker/wait-for-eagle.sh | 15 +++++++++++++++ 7 files changed, 91 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/22929cb2/eagle-external/eagle-docker/Dockerfile ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/Dockerfile b/eagle-external/eagle-docker/Dockerfile index 024921d..39cbf9b 100644 --- a/eagle-external/eagle-docker/Dockerfile +++ b/eagle-external/eagle-docker/Dockerfile @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + FROM sequenceiq/ambari:1.7.0 MAINTAINER d...@eagle.incubator.apache.org http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/22929cb2/eagle-external/eagle-docker/deploy-eagle.sh ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/deploy-eagle.sh b/eagle-external/eagle-docker/deploy-eagle.sh index 8d9b029..834474c 100755 --- a/eagle-external/eagle-docker/deploy-eagle.sh +++ b/eagle-external/eagle-docker/deploy-eagle.sh @@ -1,5 +1,20 @@ #!/bin/sh +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + set -o pipefail # trace ERR through pipes set -o errtrace # trace ERR through 'time command' and other functions http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/22929cb2/eagle-external/eagle-docker/eagle-functions ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/eagle-functions b/eagle-external/eagle-docker/eagle-functions index 430a78a..708541e 100644 --- a/eagle-external/eagle-docker/eagle-functions +++ b/eagle-external/eagle-docker/eagle-functions @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + : ${NODE_PREFIX=eagle} : ${AMBARI_SERVER_NAME:=${NODE_PREFIX}-server} : ${MYDOMAIN:=apache.org} http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/22929cb2/eagle-external/eagle-docker/httpd/.mkdir ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/httpd/.mkdir b/eagle-external/eagle-docker/httpd/.mkdir new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/22929cb2/eagle-external/eagle-docker/install-cluster.sh ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/install-cluster.sh b/eagle-external/eagle-docker/install-cluster.sh index 74fe21f..4acd384 100755 --- a/eagle-external/eagle-docker/install-cluster.sh +++ b/eagle-external/eagle-docker/install-cluster.sh @@ -1,5 +1,20 @@ #!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + export PATH=/usr/jdk64/jdk1.7.0_67/bin:$PATH http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/22929cb2/eagle-external/eagle-docker/serf/handlers/eagle ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/serf/handlers/eagle b/eagle-external/eagle-docker/serf/handlers/eagle index fef860a..7f7df4b 100755 --- a/eagle-external/eagle-docker/serf/handlers/eagle +++ b/eagle-external/eagle-docker/serf/handlers/eagle @@ -1,5 +1,20 @@ #!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # install Eagle on the Ambari server instance if [[ "$SERF_TAG_AMBARI_SERVER" == "true" ]] ;then echo run eagle install script http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/22929cb2/eagle-external/eagle-docker/wait-for-eagle.sh ---------------------------------------------------------------------- diff --git a/eagle-external/eagle-docker/wait-for-eagle.sh b/eagle-external/eagle-docker/wait-for-eagle.sh index 8449a6d..3b6ab11 100755 --- a/eagle-external/eagle-docker/wait-for-eagle.sh +++ b/eagle-external/eagle-docker/wait-for-eagle.sh @@ -1,5 +1,20 @@ #!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + : ${EAGLE_HOST:=$AMBARISERVER_PORT_9099_TCP_ADDR} : ${SLEEP:=2} : ${DEBUG:=1}