[
https://issues.apache.org/jira/browse/FLUME-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288063#comment-13288063
]
Hudson commented on FLUME-1226:
-------------------------------
Integrated in flume-trunk #220 (See
[https://builds.apache.org/job/flume-trunk/220/])
FLUME-1226. FailoverRpcClient should check for NULL batch-size property.
(Mubarak Seyed via Hari Shreedharan) (Revision 1345613)
Result = SUCCESS
hshreedharan : http://svn.apache.org/viewvc/?view=rev&rev=1345613
Files :
*
/incubator/flume/trunk/flume-ng-sdk/src/main/java/org/apache/flume/api/FailoverRpcClient.java
> 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
> Fix For: v1.2.0
>
> Attachments: FLUME-1226-trunk-v1.patch, FLUME-1226-trunk-v2.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