You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/11/17 13:53:06 UTC

[GitHub] [accumulo] dlmarion commented on issue #1463: Investigate the need for commons-beanutils dependency

dlmarion commented on issue #1463:
URL: https://github.com/apache/accumulo/issues/1463#issuecomment-728941910


   I was able to remove the beanutils references and compile the code. Some tests are failing and I'm a little confused as to why. The tests in `start` run just fine, but some of the tests in other modules fail with:
   
   ```
   ERROR] Tests run: 13, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.457 s <<< FAILURE! - in org.apache.accumulo.core.iterators.user.FilterTest
   [ERROR] test2a(org.apache.accumulo.core.iterators.user.FilterTest)  Time elapsed: 0.081 s  <<< ERROR!
   java.lang.Error: 
   Unresolved compilation problems: 
   	The type org.apache.commons.vfs2.FileSystemException cannot be resolved. It is indirectly referenced from required .class files
   	The method getClassLoader(String) from the type ContextManager refers to the missing type FileSystemException
   
   	at org.apache.accumulo.core.iterators.user.FilterTest.test2a(FilterTest.java:233)
   ```
   
   Also, something to note is the output of `mvn dependency:tree`.  When run from `core` I see:
   ```
   [INFO] +- org.apache.accumulo:accumulo-start:jar:2.1.0-SNAPSHOT:compile
   [INFO] |  +- org.apache.commons:commons-vfs2:jar:2.6.0:compile
   [INFO] |  \- commons-beanutils:commons-beanutils:jar:1.9.4:runtime
   [INFO] |     \- commons-collections:commons-collections:jar:3.2.2:runtime
   ```
   
   But `beanutils` has been removed as a dependency in the branch. Branch at https://github.com/dlmarion/accumulo/tree/1463-remove-beanutils
   


----------------------------------------------------------------
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:
users@infra.apache.org