Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1748

Balancer utilization classification is incomplete

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      //Balancer.java
        /* Return true if the given datanode is overUtilized */
        private boolean isOverUtilized(BalancerDatanode datanode) {
          return datanode.utilization > (avgUtilization+threshold);
        }
        
        /* Return true if the given datanode is above average utilized
         * but not overUtilized */
        private boolean isAboveAvgUtilized(BalancerDatanode datanode) {
          return (datanode.utilization <= (avgUtilization+threshold))
              && (datanode.utilization > avgUtilization);
        }
        
        /* Return true if the given datanode is underUtilized */
        private boolean isUnderUtilized(BalancerDatanode datanode) {
          return datanode.utilization < (avgUtilization-threshold);
        }
      
        /* Return true if the given datanode is below average utilized 
         * but not underUtilized */
        private boolean isBelowAvgUtilized(BalancerDatanode datanode) {
              return (datanode.utilization >= (avgUtilization-threshold))
                       && (datanode.utilization < avgUtilization);
        }
      

      Where is datanode.utilization == avgUtilization?

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            szetszwo Tsz-wo Sze Assign to me
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment