HDFS-12656. Ozone: dozone: Use (proposed) base image from HADOOP-14898. Contributed by Elek, Marton

This commit is contained in:
Xiaoyu Yao 2017-10-16 23:34:14 -07:00 committed by Owen O'Malley
parent 06c6582694
commit b1e2704a3a
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
version: "3" version: "3"
services: services:
namenode: namenode:
image: flokkr/hadoop-runner:latest image: elek/hadoop-runner:latest
hostname: namenode hostname: namenode
volumes: volumes:
- ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop - ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop
@ -30,14 +30,14 @@ services:
- ./docker-config - ./docker-config
command: ["/opt/hadoop/bin/hdfs","namenode"] command: ["/opt/hadoop/bin/hdfs","namenode"]
datanode: datanode:
image: flokkr/hadoop-runner:latest image: elek/hadoop-runner:latest
volumes: volumes:
- ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop - ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop
ports: ports:
- 9864 - 9864
command: ["/opt/hadoop/bin/hdfs","datanode"] command: ["/opt/hadoop/bin/hdfs","datanode"]
ksm: ksm:
image: flokkr/hadoop-runner:latest image: elek/hadoop-runner:latest
volumes: volumes:
- ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop - ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop
ports: ports:
@ -46,7 +46,7 @@ services:
- ./docker-config - ./docker-config
command: ["/opt/hadoop/bin/hdfs","ksm"] command: ["/opt/hadoop/bin/hdfs","ksm"]
scm: scm:
image: flokkr/hadoop-runner:latest image: elek/hadoop-runner:latest
volumes: volumes:
- ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop - ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop
ports: ports:

View File

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
CORE-SITE.XML_fs.defaultFS: "hdfs://namenode:9000" CORE-SITE.XML_fs.defaultFS=hdfs://namenode:9000
OZONE-SITE.XML_ozone.ksm.address=ksm OZONE-SITE.XML_ozone.ksm.address=ksm
OZONE-SITE.XML_ozone.scm.names=scm OZONE-SITE.XML_ozone.scm.names=scm
OZONE-SITE.XML_ozone.enabled=True OZONE-SITE.XML_ozone.enabled=True