Skip to content
Snippets Groups Projects
Commit 96452eea authored by Y.CORP.YAHOO.COM\tgraves's avatar Y.CORP.YAHOO.COM\tgraves
Browse files

fix up minor things

parent bac46266
No related branches found
No related tags found
No related merge requests found
/* * Licensed to the Apache Software Foundation (ASF) under one or more
/*
* 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
......
......@@ -48,14 +48,14 @@ private[spark] object UIUtils {
/** Returns a spark page with correctly formatted headers */
def headerSparkPage(content: => Seq[Node], sc: SparkContext, title: String, page: Page.Value)
: Seq[Node] = {
val storage = page match {
case Storage => <li class="active"><a href={storageStr}>Storage</a></li>
case _ => <li><a href={storageStr}>Storage</a></li>
}
val jobs = page match {
case Jobs => <li class="active"><a href={stagesStr}>Jobs</a></li>
case _ => <li><a href={stagesStr}>Jobs</a></li>
}
val storage = page match {
case Storage => <li class="active"><a href={storageStr}>Storage</a></li>
case _ => <li><a href={storageStr}>Storage</a></li>
}
val environment = page match {
case Environment => <li class="active"><a href={envStr}>Environment</a></li>
case _ => <li><a href={envStr}>Environment</a></li>
......
......@@ -49,7 +49,7 @@ Most of the configs are the same for Spark on YARN as other deploys. See the Con
Environment variables:
* `SPARK_YARN_USER_ENV`, to add environment variables to the Spark processes launched on YARN. This can be a comma separated list of environment variables. ie SPARK_YARN_USER_ENV="JAVA_HOME=/jdk64,FOO=bar"
Properties:
System Properties:
* 'spark.yarn.applicationMaster.waitTries', property to set the number of times the ApplicationMaster waits for the the spark master and then also the number of tries it waits for the Spark Context to be intialized. Default is 10.
# Launching Spark on YARN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment