Github user sarutak commented on a diff in the pull request:
https://github.com/apache/spark/pull/2333#discussion_r17461531
--- Diff: core/src/main/scala/org/apache/spark/ui/env/EnvironmentPage.scala
---
@@ -26,6 +29,23 @@ import org.apache.spark.ui.{UIUtils, WebUIPage}
private[ui] class EnvironmentPage(parent: EnvironmentTab) extends
WebUIPage("") {
private val listener = parent.listener
+ override def renderJson(request: HttpServletRequest): JValue = {
+ val jvmInfoJson =
+ ("RUntime Informationf" ->
listener.jvmInformation.foldLeft(JObject())(_ ~ _))
--- End diff --
This is the result of JSON for environment.
{
"Runtime Information" : {
"Java Home" : "/usr/java/jdk1.7.0_65/jre",
"Java Version" : "1.7.0_65 (Oracle Corporation)",
"Scala Version" : "version 2.10.4"
},
"Spark Properties" : {
"spark.serializer" : "org.apache.spark.serializer.KryoSerializer",
...
"spark.tachyonStore.folderName" :
"spark-a8ac134b-187d-4d4b-b9ef-140e626ee96c"
},
"System Properties" : {
"java.io.tmpdir" : "/tmp",
...
"java.version" : "1.7.0_65",
"sun.io.unicode.encoding" : "UnicodeLittle"
},
"Classpath Entries" : {
"/home/sarutak/work/spark/sql/hive/target/scala-2.10/test-classes" :
"System Classpath",
...
"/home/sarutak/work/spark/assembly/target/scala-2.10/spark-assembly-1.1.0-SNAPSHOT-hadoop2.2.0.jar"
: "System Classpath"
}
}
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]