[GitHub] [camel-kafka-connector] orpiske opened a new issue #263: Camel HDFS: does not work due to dependencies conflicts

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske opened a new issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox

orpiske opened a new issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263


   It seems that the HDFS Connector cannot be loaded due to conflicts between the dependencies used by the component and the ones available on the connect runtime.
   
   Without manipulating the classpath, loading the dependencies fail because a dependency carried by either one of them does not seem to contain the getProperties on the Application class (which comes from `javax.ws.rs:javax.ws.rs-api`). Manipulating the classpath to include this library and/or exclude specific dependencies cause the connector to fail to load due to other classpath related issues (ie.: `ClassNotFoundException`).
   
   I'll provide more logs later for this one.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] valdar commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox

valdar commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-641313642


   As @oscerd suggested I think we must handle this at camel component level and align dependencies there if it makes sense.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

orpiske commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-641337334






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske edited a comment on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

orpiske edited a comment on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-641339040


   > I guess we need a JIRA for this, because it won't be easy, especially in Karaf.
   
   I'll open one there, thanks!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] oscerd commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

oscerd commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-641337972


   I guess we need a JIRA for this, because it won't be easy, especially in Karaf.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

orpiske commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-645320213


   For the integration tests, I managed to work-around this problem with a couple of exclusion hacks: https://github.com/orpiske/camel-kafka-connector/blob/hdfs-test/tests/itests-hdfs/pom.xml#L45 
   
   Nonetheless, the package might still have the problem and only work adequately once we get 3.4.0 with @oscerd patches.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] oscerd commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

oscerd commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-645322643


   Have you tried with 3.4.0-Snapshot


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] oscerd edited a comment on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

oscerd edited a comment on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-645322643


   Have you tried with 3.4.0-Snapshot?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

orpiske commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-645335781


   > Have you tried with 3.4.0-Snapshot?
   
   Not yet, but I will do it soon and report back.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

orpiske commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-645532410


   > Have you tried with 3.4.0-Snapshot?
   
   So, I tried with and without the excludes and both failed. In both cases, the problem seems to be caused by:
   
   `Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.component.AttributeContainerMap`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] oscerd commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

oscerd commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-648303105


   Updated to 3.4.0 and merged, I see that error, so we need to have a look


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

orpiske commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-648373769


   > Updated to 3.4.0 and merged, I see that error, so we need to have a look
   
   Should I go ahead and disable them while we investigate?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] oscerd commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

oscerd commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-648376360


   Maybe disable it for the moment


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] orpiske commented on issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

orpiske commented on issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263#issuecomment-651608151


   > Maybe disable it for the moment
   
   I sent a PR that fixes the test execution, so we should be fine with regards to the dependencies conflicts. However I am not entirely sure if HDFS is working on some circumstances (specifically within kubernetes/openshift - I am investigating and I'll open a separate ticket if that's the case).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [camel-kafka-connector] valdar closed issue #263: Camel HDFS: does not work due to dependencies conflicts

GitBox
In reply to this post by GitBox

valdar closed issue #263:
URL: https://github.com/apache/camel-kafka-connector/issues/263


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]