[ 
https://issues.apache.org/jira/browse/HADOOP-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688380#action_12688380
 ] 

dhruba borthakur commented on HADOOP-5552:
------------------------------------------

I have not yet found all the problems yet. This is mostly a unit-test to catch 
this problem. The first of the fixes is a integer-to-long conversion problem:

-    int len = Math.min((int) (endOffset - offset),
-                       bytesPerChecksum*maxChunks);
+    int len = (int)Math.min(endOffset - offset,
+                       (long)(bytesPerChecksum*maxChunks));


> HDFS does not support blocks greater than 2GB
> ---------------------------------------------
>
>                 Key: HADOOP-5552
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5552
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: largeBlockSize1.txt
>
>
> HDFS currently does not support blocks greater than 2GB in size.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to