camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10948) Camel-hdfs2: initialDelay option is overwritten with default value
Date Tue, 18 Apr 2017 21:15:42 GMT

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

Zoran Regvart commented on CAMEL-10948:
---------------------------------------

[~ancosen] This seems to overwrite the URI parameter value given with default value, I think
this [HdfsEndpoint.java#L44|https://github.com/apache/camel/blob/master/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/HdfsEndpoint.java#L44]
line needs to be removed as the {{initialDelay}} is already set to {{HdfsConsumer.DEFAULT_CONSUMER_INITIAL_DELAY}}
in field initialization at [HdfsConfiguration.java#L74|https://github.com/apache/camel/blob/master/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/HdfsConfiguration.java#L74].
The tests actually fail on CI (see [Build #1288 Console output|https://builds.apache.org/view/A-D/view/Camel/job/Camel.trunk.fulltest.java8/1288/org.apache.camel$camel-hdfs2/console])
but are not reported as failed, which is strange.
It fails with:  {{\[ERROR\] There was a timeout or other error in the fork}}

> Camel-hdfs2: initialDelay option is overwritten with default value
> ------------------------------------------------------------------
>
>                 Key: CAMEL-10948
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10948
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-hdfs2
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Minor
>             Fix For: 2.17.7, 2.18.4, 2.19.0
>
>
> We need to use the same trick as the mail component in the consumer side.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message