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

ASF GitHub Bot commented on HADOOP-19035:
-----------------------------------------

szetszwo opened a new pull request, #6443:
URL: https://github.com/apache/hadoop/pull/6443

   ### Description of PR
   
   CrcUtil and CrcComposer should throw specific exceptions for non-IO cases
   - IllegalArgumentException: invalid arguments
   - ArrayIndexOutOfBoundsException: index exceeds array size
   - IllegalStateException: unexpected computation state
   
   ### How was this patch tested?
   
   By updating existing tests.
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [NA] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [NA] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [NA] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> CrcUtil/CrcComposer should not throw IOException for non-IO
> -----------------------------------------------------------
>
>                 Key: HADOOP-19035
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19035
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> CrcUtil and CrcComposer should throw specific exceptions for non-IO cases
> - IllegalArgumentException: invalid arguments
> - ArrayIndexOutOfBoundsException: index exceeds array size
> - IllegalStateException: unexpected computation state



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to