Author: croberts
Date: 2012-11-16 14:46:00 +0000 (Fri, 16 Nov 2012)
New Revision: 5545
Modified:
branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.py
branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.strings
Log:
Updating dummy search results.
Modified: branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.py
===================================================================
--- branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.py 2012-11-16 14:31:26 UTC
(rev 5544)
+++ branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.py 2012-11-16 14:46:00 UTC
(rev 5545)
@@ -127,7 +127,7 @@
# TODO make some sage call and return the results
# Here, we call self.remoteDataMethod
results = MethodResult()
- results.data = {"namenode1": {"Name":"Namenode1"}}
+ results.data = {"node1":
{"Name":"node1.lab.bos.redhat.com"},
"node2":{"Name":"node2.lab.bos.redhat.com"}}
return results
Modified: branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.strings
===================================================================
--- branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.strings 2012-11-16 14:31:26
UTC (rev 5544)
+++ branches/elephant/cumin/python/cumin/grid-hadoop/hadoop.strings 2012-11-16 14:46:00
UTC (rev 5545)
@@ -1,59 +1 @@
-[TopSystemSet.sql]
-select
- s.id,
- s.node_name as name,
- c.load_average1_min as load_avg
-from sysimage s
-join sysimage_stats as c on s.stats_curr_id = c.id
-order by load_avg desc
-limit 5
-
-[TopSystemSet.count_sql]
---
-
-[SystemStats.html]
-<table class="twocol">
- <tbody>
- <tr>
- <td>
- <h2>Memory/Load</h2>
- {stats}
- <br/>
- </td>
- <td>
- {freemem}
- {loadavg}
- </td>
- </tr>
- </tbody>
-</table>
-<script type="text/javascript">
- // <![CDATA[
- var show_slot_job_url = "{slot_job_url}";
- // ]]>
-</script>
-
-[SystemServices.html]
-<h2>Services</h2>
-<table class="PropertySet">
- <tbody>{items}</tbody>
-</table>
-
-[SystemServices.item_html]
-<tr><th>{item_type}</th><td>{item_content}</td></tr>
-
-[SystemTagSet.html]
-<table id="{id}" class="{class} PropertySet TagPropertySet">
- <thead>
- <tr>
- <td>Property</td>
- <td>Value</td>
- </tr>
- </thead>
- <tbody>
- <tr class="item" title="">
- <th>Tags:</th>
- <td class="{class}">{tags}</td>
- </tr>
- </tbody>
-</table>
\ No newline at end of file
+[nothingyet]
\ No newline at end of file
Show replies by date