Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1299

TB and PB representations in StorageUnit are overflow

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Storage
    • Labels:
      None

      Description

      See the StorageUnit class. TB and PB are overflow against integer presentation.

      public class StorageUnit {
      
      	public static final int B = 8;
      	public static final int KB = 1024;
      	public static final int MB = KB * 1024;
      	public static final int GB = MB * 1024;
      	public static final int TB = GB * 1024;
      	public static final int PB = TB * 1024;
      }
      

        Attachments

          Activity

            People

            • Assignee:
              ykrips Jihun Kang
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: