HDDS-2230. Invalid entries in ozonesecure-mr config
Doroszlai, Attila <adoroszlai@apache.org>
This commit is contained in:
parent
a9849f65ba
commit
bffcd33085
|
@ -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.
|
||||||
|
|
||||||
version: "3"
|
version: "3.5"
|
||||||
services:
|
services:
|
||||||
kdc:
|
kdc:
|
||||||
build:
|
build:
|
||||||
|
@ -23,17 +23,23 @@ services:
|
||||||
args:
|
args:
|
||||||
buildno: 1
|
buildno: 1
|
||||||
hostname: kdc
|
hostname: kdc
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
kms:
|
kms:
|
||||||
image: apache/hadoop:${HADOOP_VERSION}
|
image: apache/hadoop:${HADOOP_VERSION}
|
||||||
ports:
|
networks:
|
||||||
|
- ozone
|
||||||
|
ports:
|
||||||
- 9600:9600
|
- 9600:9600
|
||||||
env_file:
|
env_file:
|
||||||
- ./docker-config
|
- ./docker-config
|
||||||
command: ["hadoop", "kms"]
|
command: ["hadoop", "kms"]
|
||||||
datanode:
|
datanode:
|
||||||
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
ports:
|
ports:
|
||||||
|
@ -44,6 +50,8 @@ services:
|
||||||
om:
|
om:
|
||||||
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
||||||
hostname: om
|
hostname: om
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
ports:
|
ports:
|
||||||
|
@ -56,6 +64,8 @@ services:
|
||||||
s3g:
|
s3g:
|
||||||
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
||||||
hostname: s3g
|
hostname: s3g
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
ports:
|
ports:
|
||||||
|
@ -66,6 +76,8 @@ services:
|
||||||
scm:
|
scm:
|
||||||
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
image: apache/ozone-runner:${HADOOP_RUNNER_VERSION}
|
||||||
hostname: scm
|
hostname: scm
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/hadoop
|
- ../..:/opt/hadoop
|
||||||
ports:
|
ports:
|
||||||
|
@ -78,6 +90,8 @@ services:
|
||||||
rm:
|
rm:
|
||||||
image: apache/hadoop:${HADOOP_VERSION}
|
image: apache/hadoop:${HADOOP_VERSION}
|
||||||
hostname: rm
|
hostname: rm
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/ozone
|
- ../..:/opt/ozone
|
||||||
ports:
|
ports:
|
||||||
|
@ -90,6 +104,8 @@ services:
|
||||||
nm:
|
nm:
|
||||||
image: apache/hadoop:${HADOOP_VERSION}
|
image: apache/hadoop:${HADOOP_VERSION}
|
||||||
hostname: nm
|
hostname: nm
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/ozone
|
- ../..:/opt/ozone
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -100,7 +116,10 @@ services:
|
||||||
command: ["yarn","nodemanager"]
|
command: ["yarn","nodemanager"]
|
||||||
jhs:
|
jhs:
|
||||||
image: apache/hadoop:${HADOOP_VERSION}
|
image: apache/hadoop:${HADOOP_VERSION}
|
||||||
|
container_name: jhs
|
||||||
hostname: jhs
|
hostname: jhs
|
||||||
|
networks:
|
||||||
|
- ozone
|
||||||
volumes:
|
volumes:
|
||||||
- ../..:/opt/ozone
|
- ../..:/opt/ozone
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -31,7 +31,7 @@ OZONE-SITE.XML_ozone.om.kerberos.principal=om/om@EXAMPLE.COM
|
||||||
OZONE-SITE.XML_ozone.om.kerberos.keytab.file=/etc/security/keytabs/om.keytab
|
OZONE-SITE.XML_ozone.om.kerberos.keytab.file=/etc/security/keytabs/om.keytab
|
||||||
OZONE-SITE.XML_ozone.s3g.keytab.file=/etc/security/keytabs/HTTP.keytab
|
OZONE-SITE.XML_ozone.s3g.keytab.file=/etc/security/keytabs/HTTP.keytab
|
||||||
OZONE-SITE.XML_ozone.s3g.authentication.kerberos.principal=HTTP/s3g@EXAMPLE.COM
|
OZONE-SITE.XML_ozone.s3g.authentication.kerberos.principal=HTTP/s3g@EXAMPLE.COM
|
||||||
OZONE_SITE.XML_ozone.administrators=*
|
OZONE-SITE.XML_ozone.administrators=*
|
||||||
|
|
||||||
OZONE-SITE.XML_ozone.security.enabled=true
|
OZONE-SITE.XML_ozone.security.enabled=true
|
||||||
OZONE-SITE.XML_hdds.scm.http.kerberos.principal=HTTP/scm@EXAMPLE.COM
|
OZONE-SITE.XML_hdds.scm.http.kerberos.principal=HTTP/scm@EXAMPLE.COM
|
||||||
|
@ -62,8 +62,8 @@ HADOOP-POLICY.XML_org.apache.hadoop.yarn.server.api.ResourceTracker.acl=*
|
||||||
HDFS-SITE.XML_rpc.metrics.quantile.enable=true
|
HDFS-SITE.XML_rpc.metrics.quantile.enable=true
|
||||||
HDFS-SITE.XML_rpc.metrics.percentiles.intervals=60,300
|
HDFS-SITE.XML_rpc.metrics.percentiles.intervals=60,300
|
||||||
|
|
||||||
CORE-SITE.xml_fs.AbstractFileSystem.o3fs.impl=org.apache.hadoop.fs.ozone.OzFs
|
CORE-SITE.XML_fs.AbstractFileSystem.o3fs.impl=org.apache.hadoop.fs.ozone.OzFs
|
||||||
CORE-SITE.xml_fs.defaultFS=o3fs://bucket1.vol1/
|
CORE-SITE.XML_fs.defaultFS=o3fs://bucket1.vol1/
|
||||||
|
|
||||||
MAPRED-SITE.XML_mapreduce.framework.name=yarn
|
MAPRED-SITE.XML_mapreduce.framework.name=yarn
|
||||||
MAPRED-SITE.XML_yarn.app.mapreduce.am.env=HADOOP_MAPRED_HOME=$HADOOP_HOME
|
MAPRED-SITE.XML_yarn.app.mapreduce.am.env=HADOOP_MAPRED_HOME=$HADOOP_HOME
|
||||||
|
@ -75,12 +75,12 @@ MAPRED-SITE.XML_mapreduce.reduce.memory.mb=2048
|
||||||
MAPRED-SITE.XML_mapreduce.application.classpath=/opt/hadoop/share/hadoop/mapreduce/*:/opt/hadoop/share/hadoop/mapreduce/lib/*:/opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current-@project.version@.jar
|
MAPRED-SITE.XML_mapreduce.application.classpath=/opt/hadoop/share/hadoop/mapreduce/*:/opt/hadoop/share/hadoop/mapreduce/lib/*:/opt/ozone/share/ozone/lib/hadoop-ozone-filesystem-lib-current-@project.version@.jar
|
||||||
|
|
||||||
YARN-SITE.XML_yarn.app.mapreduce.am.staging-dir=/user
|
YARN-SITE.XML_yarn.app.mapreduce.am.staging-dir=/user
|
||||||
YARN_SITE.XML_yarn.timeline-service.enabled=true
|
YARN-SITE.XML_yarn.timeline-service.enabled=true
|
||||||
YARN_SITE.XML_yarn.timeline-service.generic.application.history.enabled=true
|
YARN-SITE.XML_yarn.timeline-service.generic.application.history.enabled=true
|
||||||
YARN_SITE.XML_yarn.timeline-service.hostname=jhs
|
YARN-SITE.XML_yarn.timeline-service.hostname=jhs
|
||||||
YARN-SITE.XML_yarn.timeline-service.principal=jhs/jhs@EXAMPLE.COM
|
YARN-SITE.XML_yarn.timeline-service.principal=jhs/jhs@EXAMPLE.COM
|
||||||
YARN-SITE.XML_yarn.timeline-service.keytab=/etc/security/keytabs/jhs.keytab
|
YARN-SITE.XML_yarn.timeline-service.keytab=/etc/security/keytabs/jhs.keytab
|
||||||
YARN_SITE.XML_yarn.log.server.url=http://jhs:8188/applicationhistory/logs/
|
YARN-SITE.XML_yarn.log.server.url=http://jhs:8188/applicationhistory/logs/
|
||||||
|
|
||||||
YARN-SITE.XML_yarn.nodemanager.principal=nm/_HOST@EXAMPLE.COM
|
YARN-SITE.XML_yarn.nodemanager.principal=nm/_HOST@EXAMPLE.COM
|
||||||
YARN-SITE.XML_yarn.nodemanager.keytab=/etc/security/keytabs/nm.keytab
|
YARN-SITE.XML_yarn.nodemanager.keytab=/etc/security/keytabs/nm.keytab
|
||||||
|
@ -93,15 +93,17 @@ YARN-SITE.XML_yarn.nodemanager.disk-health-checker.enable=false
|
||||||
YARN-SITE.XML_yarn.resourcemanager.hostname=rm
|
YARN-SITE.XML_yarn.resourcemanager.hostname=rm
|
||||||
YARN-SITE.XML_yarn.resourcemanager.keytab=/etc/security/keytabs/rm.keytab
|
YARN-SITE.XML_yarn.resourcemanager.keytab=/etc/security/keytabs/rm.keytab
|
||||||
YARN-SITE.XML_yarn.resourcemanager.principal=rm/rm@EXAMPLE.COM
|
YARN-SITE.XML_yarn.resourcemanager.principal=rm/rm@EXAMPLE.COM
|
||||||
YARN_SITE_XML_yarn.resourcemanager.system.metrics.publisher.enabled=true
|
YARN-SITE.XML_yarn.resourcemanager.system.metrics.publisher.enabled=true
|
||||||
|
|
||||||
YARN-SITE.XML_yarn.log-aggregation-enable=true
|
YARN-SITE.XML_yarn.log-aggregation-enable=true
|
||||||
YARN-SITE.yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds=3600
|
YARN-SITE.XML_yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds=3600
|
||||||
YARN-SITE.yarn.nodemanager.delete.debug-delay-sec=600
|
YARN-SITE.XML_yarn.nodemanager.delete.debug-delay-sec=600
|
||||||
|
|
||||||
YARN-SITE.yarn.nodemanager.container-executor.class=org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor
|
# Yarn LinuxContainer requires the /opt/hadoop/etc/hadoop to be owned by root and not modifiable by other users,
|
||||||
YARN-SITE.yarn.nodemanager.linux-container-executor.path=/opt/hadoop/bin/container-executor
|
# which prevents start.sh from changing the configurations based on docker-config
|
||||||
YARN-SITE.yarn.nodemanager.linux-container-executor.group=hadoop
|
# YARN-SITE.XML_yarn.nodemanager.container-executor.class=org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor
|
||||||
|
# YARN-SITE.XML_yarn.nodemanager.linux-container-executor.path=/opt/hadoop/bin/container-executor
|
||||||
|
# YARN-SITE.XML_yarn.nodemanager.linux-container-executor.group=hadoop
|
||||||
|
|
||||||
CAPACITY-SCHEDULER.XML_yarn.scheduler.capacity.maximum-applications=10000
|
CAPACITY-SCHEDULER.XML_yarn.scheduler.capacity.maximum-applications=10000
|
||||||
CAPACITY-SCHEDULER.XML_yarn.scheduler.capacity.maximum-am-resource-percent=0.1
|
CAPACITY-SCHEDULER.XML_yarn.scheduler.capacity.maximum-am-resource-percent=0.1
|
||||||
|
|
Loading…
Reference in New Issue