-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YARN-5690. Integrate native services modules into maven build. Contri…
…buted by Billie Rinaldi
- Loading branch information
Showing
14 changed files
with
343 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-services-api.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,36 @@ | |||
<!-- | |||
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.01 | |||
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. | |||
--> | |||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" | |||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> | |||
<id>hadoop-yarn-services-api-dist</id> | |||
<formats> | |||
<format>dir</format> | |||
</formats> | |||
<includeBaseDirectory>false</includeBaseDirectory> | |||
<dependencySets> | |||
<dependencySet> | |||
<useProjectArtifact>false</useProjectArtifact> | |||
<includes> | |||
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base</include> | |||
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider</include> | |||
<include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations</include> | |||
<include>io.swagger:swagger-annotations</include> | |||
</includes> | |||
</dependencySet> | |||
</dependencySets> | |||
</assembly> |
30 changes: 30 additions & 0 deletions
30
hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-slider-dist.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,30 @@ | |||
<!-- | |||
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.01 | |||
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. | |||
--> | |||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" | |||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> | |||
<id>hadoop-yarn-slider-dist</id> | |||
<formats> | |||
<format>dir</format> | |||
</formats> | |||
<includeBaseDirectory>false</includeBaseDirectory> | |||
<dependencySets> | |||
<dependencySet> | |||
<useProjectArtifact>false</useProjectArtifact> | |||
</dependencySet> | |||
</dependencySets> | |||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...rn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/conf/slideram-log4j.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,68 @@ | |||
# 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. | |||
# | |||
|
|||
# This is the log4j configuration for Slider Application Master | |||
|
|||
# Log rotation based on size (100KB) with a max of 10 backup files | |||
log4j.rootLogger=INFO, amlog | |||
log4j.threshhold=ALL | |||
log4j.appender.amlog=org.apache.log4j.RollingFileAppender | |||
log4j.appender.amlog.layout=org.apache.log4j.PatternLayout | |||
log4j.appender.amlog.File=${LOG_DIR}/slider.log | |||
log4j.appender.amlog.MaxFileSize=1MB | |||
log4j.appender.amlog.MaxBackupIndex=10 | |||
|
|||
# log layout skips stack-trace creation operations by avoiding line numbers and method | |||
log4j.appender.amlog.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} - %m%n | |||
|
|||
# debug edition is much more expensive | |||
#log4j.appender.amlog.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} (%F:%M(%L)) - %m%n | |||
|
|||
# configure stderr | |||
# set the conversion pattern of stderr | |||
# Print the date in ISO 8601 format | |||
log4j.appender.stderr=org.apache.log4j.ConsoleAppender | |||
log4j.appender.stderr.Target=System.err | |||
log4j.appender.stderr.layout=org.apache.log4j.PatternLayout | |||
log4j.appender.stderr.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c{2} - %m%n | |||
|
|||
log4j.appender.subprocess=org.apache.log4j.ConsoleAppender | |||
log4j.appender.subprocess.layout=org.apache.log4j.PatternLayout | |||
log4j.appender.subprocess.layout.ConversionPattern=[%c{1}]: %m%n | |||
#log4j.logger.org.apache.slider.yarn.appmaster.SliderAppMasterer.master=INFO,subprocess | |||
|
|||
# for debugging Slider | |||
#log4j.logger.org.apache.slider=DEBUG | |||
|
|||
# uncomment to debug service lifecycle issues | |||
#log4j.logger.org.apache.hadoop.yarn.service.launcher=DEBUG | |||
#log4j.logger.org.apache.hadoop.yarn.service=DEBUG | |||
|
|||
# uncomment for YARN operations | |||
#log4j.logger.org.apache.hadoop.yarn.client=DEBUG | |||
|
|||
# uncomment this to debug security problems | |||
#log4j.logger.org.apache.hadoop.security=DEBUG | |||
|
|||
#crank back on some noise | |||
log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR | |||
log4j.logger.org.apache.hadoop.hdfs=WARN | |||
log4j.logger.org.apache.hadoop.hdfs.shortcircuit=ERROR | |||
|
|||
log4j.logger.org.apache.zookeeper=WARN | |||
log4j.logger.org.apache.curator.framework.state=ERROR | |||
log4j.logger.org.apache.curator.framework.imps=WARN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.