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

Mubarak Seyed commented on FLUME-1226:
--------------------------------------

Code review is at https://reviews.apache.org/r/5333/
                
> FailoverRpcClient should check for NULL batch-size property
> -----------------------------------------------------------
>
>                 Key: FLUME-1226
>                 URL: https://issues.apache.org/jira/browse/FLUME-1226
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Mubarak Seyed
>            Assignee: Mubarak Seyed
>         Attachments: FLUME-1226-trunk-v1.patch
>
>
> If client doesn't specify the "batch-size" then configureHosts() should 
> default batch-size value to DEFAULT_BATCH_SIZE otherwise it throws 
> NumberFormatException and breaks the client AvroRpc calls.
> {code}
> 2012-05-24 04:39:21,749 WARN api.FailoverRpcClient: Batch Size null is 
> invalid - assigning default size
> java.lang.NumberFormatException: null
>         at java.lang.Integer.parseInt(Integer.java:417)
>         at java.lang.Integer.parseInt(Integer.java:499)
>         at 
> org.apache.flume.api.FailoverRpcClient.configureHosts(FailoverRpcClient.java:114)
>         at 
> org.apache.flume.api.FailoverRpcClient.configure(FailoverRpcClient.java:305)
>         at 
> org.apache.flume.api.RpcClientFactory.getInstance(RpcClientFactory.java:83)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to