Re: [vfs] About hadoop-hdfs-client dependency
The better solution would be to move this provider to its own Maven module. Thoughts? Gary On Mon, May 16, 2022, 05:26 Xavier Courangon wrote: > Hello, > > We are using commons-vfs2 to create files in memory. > However we are wondering why hadoop-hdfs-client dependency is not optional > ? > We don't really need support for HDFS in our case. > Moreover it brings these additional transitive dependencies (vfs 2.9.0): > >- org.apache.hadoop : hadoop-hdfs-client : 3.3.1 > - com.squareup.okhttp : okhttp : 2.7.5 > - com.squareup.okio : okio : 1.6.0 > > > Can we explicitly exclude hadoop-hdfs-client dependency without fear of > side effects ? > If so, shouldn't this dependency be optional ? > > Thanks > > Xavier C >
Re: [vfs] About hadoop-hdfs-client dependency
Yes, those dependencies can be left out. The optional=True seems to be missing for one of the libs. If you get a new manager it will not load the provide if it can’t load the dependencies. If you want you could contribute a jira ticket and a patch. Thanks for notifying us. Gruss Bernd -- http://bernd.eckenfels.net Von: Xavier Courangon Gesendet: Monday, May 16, 2022 10:35:18 AM An: user@commons.apache.org Betreff: [vfs] About hadoop-hdfs-client dependency Hello, We are using commons-vfs2 to create files in memory. However we are wondering why hadoop-hdfs-client dependency is not optional ? We don't really need support for HDFS in our case. Moreover it brings these additional transitive dependencies (vfs 2.9.0): - org.apache.hadoop : hadoop-hdfs-client : 3.3.1 - com.squareup.okhttp : okhttp : 2.7.5 - com.squareup.okio : okio : 1.6.0 Can we explicitly exclude hadoop-hdfs-client dependency without fear of side effects ? If so, shouldn't this dependency be optional ? Thanks Xavier C
[vfs] About hadoop-hdfs-client dependency
Hello, We are using commons-vfs2 to create files in memory. However we are wondering why hadoop-hdfs-client dependency is not optional ? We don't really need support for HDFS in our case. Moreover it brings these additional transitive dependencies (vfs 2.9.0): - org.apache.hadoop : hadoop-hdfs-client : 3.3.1 - com.squareup.okhttp : okhttp : 2.7.5 - com.squareup.okio : okio : 1.6.0 Can we explicitly exclude hadoop-hdfs-client dependency without fear of side effects ? If so, shouldn't this dependency be optional ? Thanks Xavier C