aboutsummaryrefslogtreecommitdiff
path: root/yarn/pom.xml
diff options
context:
space:
mode:
authorSandy Ryza <sandy@cloudera.com>2014-04-07 13:28:14 -0500
committerThomas Graves <tgraves@apache.org>2014-04-07 13:28:14 -0500
commit9dd8b9166225cbcfcab1f39268244c2feb42a658 (patch)
tree85210a0b181ec29febaf95f01d1717b321abbbe8 /yarn/pom.xml
parent83f2a2f14e4145a04672e42216d43100a66b1fc2 (diff)
downloadspark-9dd8b9166225cbcfcab1f39268244c2feb42a658.tar.gz
spark-9dd8b9166225cbcfcab1f39268244c2feb42a658.tar.bz2
spark-9dd8b9166225cbcfcab1f39268244c2feb42a658.zip
SPARK-1252. On YARN, use container-log4j.properties for executors
container-log4j.properties is a file that YARN provides so that containers can have log4j.properties distinct from that of the NodeManagers. Logs now go to syslog, and stderr and stdout just have the process's standard err and standard out. I tested this on pseudo-distributed clusters for both yarn (Hadoop 2.2) and yarn-alpha (Hadoop 0.23.7)/ Author: Sandy Ryza <sandy@cloudera.com> Closes #148 from sryza/sandy-spark-1252 and squashes the following commits: c0043b8 [Sandy Ryza] Put log4j.properties file under common 55823da [Sandy Ryza] Add license headers to new files 10934b8 [Sandy Ryza] Add log4j-spark-container.properties and support SPARK_LOG4J_CONF e74450b [Sandy Ryza] SPARK-1252. On YARN, use container-log4j.properties for executors
Diffstat (limited to 'yarn/pom.xml')
-rw-r--r--yarn/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/yarn/pom.xml b/yarn/pom.xml
index 35e31760c1..3342cb65ed 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -167,6 +167,12 @@
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
+
+ <resources>
+ <resource>
+ <directory>../common/src/main/resources</directory>
+ </resource>
+ </resources>
</build>
</project>