You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihun Kang (JIRA)" <ji...@apache.org> on 2015/01/13 06:05:34 UTC

[jira] [Resolved] (TAJO-1299) TB and PB representations in StorageUnit are overflow

     [ https://issues.apache.org/jira/browse/TAJO-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jihun Kang resolved TAJO-1299.
------------------------------
    Resolution: Fixed

> TB and PB representations in StorageUnit are overflow
> -----------------------------------------------------
>
>                 Key: TAJO-1299
>                 URL: https://issues.apache.org/jira/browse/TAJO-1299
>             Project: Tajo
>          Issue Type: Bug
>          Components: storage
>            Reporter: Hyunsik Choi
>            Assignee: Jihun Kang
>             Fix For: 0.10
>
>
> See the StorageUnit class. TB and PB are overflow against integer presentation.
> {code:java}
> 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;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)