|
[
Permlink
| « Hide
]
dhruba borthakur added a comment - 16/Oct/08 10:24 PM
I propose to add the following two methods to ClusterSummary:
There is no way this is a blocker bug. It is a minor improvement.
You need to change the client protocol version.
The reason I was marking this as a blocker is because it exposes a new public API that allows an external process to monitor the memory consumption on the JT. Hive monitors this resource usage on the JT and throttles new jobs from getting into the cluster. This patch enables a very powerful functionality in Hive. That's the reason why I would like to get this into 0.19. I will submit a patch that changes the ClientProtocol.
It is still not a blocker. It is a feature you wish had made the 0.19 release.
> It is still not a blocker. It is a feature you wish had made the 0.19 release.
Sigh. You are right. 2 comments :
1) What if we display heap-details as part of cluster-summary. Something like State: Started: Version: Heap Information: Can we show it as a percentage bar? Now generateSummaryTable() remains same and its a one line change in jobtracker.jsp 1. I would like the JT and NN to display the Heap usage at relatively the same location. The NN displays the Heap size in the Cluster Summary area. Also, the values in the Cluster Summary Area keep changing on a live cluster whereas the header portion (that comprises Started:, Compiledby:, etc) are constant for the life of a JT. For these reasons, i would like to keep the display of the Heap Usage in the Cluster Summary portion.
2. I moved FsShell.bytedesc into utils.StringUtils as per your suggestion.
What I mean was to have heap-info as a part of (i.e inside) the cluster summary table and not at the header but I wrongly showed it as a part of the JT info. Sorry for the confusion. So +1. Few comments on the patch Incorporated Amar's review comments. At present, I do not plan to add this to a command line utility.
Incorporated Amar's review comments.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12393205/clusterSummary3.patch against trunk revision 709609. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3518/testReport/ This message is automatically generated. Dhruba, you forgot to remove the System.out.println() statements in JobQueueTaskScheduler.java.
Hi Amar, thanks for looking over this one. Removed changes to JobQuueTaskScheduler.
Hi Amar, do you want to review this one again? Thanks.
+1. Wondering if showing a percentage bar (graphical) along with the numerical info makes sense. Just a thought.
Hi Amar,it is possible that a progress bar might be useful. But I would like to commit this patch as it stands and, if the need arises, do the progress bar as part of a separate JIRA.
Integrated in Hadoop-trunk #659 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/659/
. The JobTracker WebUI displays the amount of heap memory in use. (dhruba) Edit release note for publication.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||