[
https://issues.apache.org/jira/browse/HADOOP-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pete Wyckoff updated HADOOP-4619:
---------------------------------
Attachment: HADOOP-4619.txt
1. added check for hdfsWrite return being less than 0 and if so, break out of
loop
2. changed tSize size to long long size
No new unit test as not practical to write > 2 GB file in test or fail dfs
after open and during write.
Also, this is just a sample program , not the library itself.:)
> hdfs_write infinite loop when dfs fails and cannot write files > 2 GB
> ---------------------------------------------------------------------
>
> Key: HADOOP-4619
> URL: https://issues.apache.org/jira/browse/HADOOP-4619
> Project: Hadoop Core
> Issue Type: Bug
> Components: libhdfs
> Reporter: Pete Wyckoff
> Attachments: HADOOP-4619.txt
>
>
> 1. hdfs_write does not check hdfsWrite return code so -1 return code is
> ignored.
> 2. hdfs_write uses int for overall file length
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.