Added more node information to admin console
git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1114 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-control-cc/src/main/resources/edu/uci/ics/hyracks/control/cc/adminconsole/pages/NodeDetailsPage.html b/hyracks-control-cc/src/main/resources/edu/uci/ics/hyracks/control/cc/adminconsole/pages/NodeDetailsPage.html
index 6d0a56b..6a765e4 100644
--- a/hyracks-control-cc/src/main/resources/edu/uci/ics/hyracks/control/cc/adminconsole/pages/NodeDetailsPage.html
+++ b/hyracks-control-cc/src/main/resources/edu/uci/ics/hyracks/control/cc/adminconsole/pages/NodeDetailsPage.html
@@ -16,6 +16,13 @@
<tr><td>OS Name</td><td><span id="os-name"></span></td></tr>
<tr><td>OS Version</td><td><span id="os-version"></span></td></tr>
<tr><td># of processors</td><td><span id="num-processors"></span></td></tr>
+ <tr><td>Java VM Name</td><td><span id="vm-name"></span></td></tr>
+ <tr><td>Java VM Version</td><td><span id="vm-version"></span></td></tr>
+ <tr><td>Java VM Vendor</td><td><span id="vm-vendor"></span></td></tr>
+ <tr><td>Java Classpath</td><td><span id="classpath"></span></td></tr>
+ <tr><td>Java Library Path</td><td><span id="library-path"></span></td></tr>
+ <tr><td>Java Boot Classpath</td><td><span id="boot-classpath"></span></td></tr>
+ <tr><td>Java VM Arguments</td><td><div id="input-arguments"></div></td></tr>
</table>
</div>
diff --git a/hyracks-control-cc/src/main/resources/static/javascript/adminconsole/NodeDetailsPage.js b/hyracks-control-cc/src/main/resources/static/javascript/adminconsole/NodeDetailsPage.js
index 57ebf00..1847b32 100644
--- a/hyracks-control-cc/src/main/resources/static/javascript/adminconsole/NodeDetailsPage.js
+++ b/hyracks-control-cc/src/main/resources/static/javascript/adminconsole/NodeDetailsPage.js
@@ -26,6 +26,21 @@
$('#os-name')[0].innerHTML = result['os-name'];
$('#os-version')[0].innerHTML = result['os-version'];
$('#num-processors')[0].innerHTML = result['num-processors'];
+ $('#vm-name')[0].innerHTML = result['vm-name'];
+ $('#vm-version')[0].innerHTML = result['vm-version'];
+ $('#vm-vendor')[0].innerHTML = result['vm-vendor'];
+ $('#classpath')[0].innerHTML = result['classpath'];
+ $('#library-path')[0].innerHTML = result['library-path'];
+ $('#boot-classpath')[0].innerHTML = result['boot-classpath'];
+ var argsHTML = "";
+ var args = result['input-arguments'];
+ for ( var i = 0; i < args.length; ++i) {
+ if (argsHTML != "") {
+ argsHTML += "<br/>";
+ }
+ argsHTML += "<span>" + args[i] + "</span>";
+ }
+ $('#input-arguments')[0].innerHTML = argsHTML;
var sysLoad = result['system-load-averages'];
var heapUsageInitSizes = result['heap-init-sizes'];
var heapUsageUsedSizes = result['heap-used-sizes'];