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 2022/08/07 17:16:13 UTC

[GitHub] [accumulo-testing] Manno15 opened a new issue, #213: IllegalArgumentException: Rwalk Simpl.xml module

Manno15 opened a new issue, #213:
URL: https://github.com/apache/accumulo-testing/issues/213

   While testing some possible jar issues, I ran into an IlegalArgumentException while trying to run the 'Simple.xml' module of rwalk. Stacktrace below: 
   
   <details>
   
   ```
   java.lang.IllegalArgumentException: InputStream cannot be null
   	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:118) ~[?:?]
   	at org.apache.accumulo.testing.randomwalk.Module.loadFromXml(Module.java:521) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Module.<init>(Module.java:194) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Framework.getNode(Framework.java:79) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Framework.run(Framework.java:53) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Framework.main(Framework.java:98) ~[accumulo-testing-shaded.jar:?]
   2022-08-07T12:57:31,481 [testing.randomwalk.Framework] ERROR: Error during random walk
   java.lang.Exception: Failed to parse xml at randomwalk/modules/Simple.xml
   	at org.apache.accumulo.testing.randomwalk.Module.loadFromXml(Module.java:524) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Module.<init>(Module.java:194) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Framework.getNode(Framework.java:79) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Framework.run(Framework.java:53) ~[accumulo-testing-shaded.jar:?]
   	at org.apache.accumulo.testing.randomwalk.Framework.main(Framework.java:98) ~[accumulo-testing-shaded.jar:?]
   2022-08-07T12:57:31,481 [testing.randomwalk.Framework] INFO : Test finished
   
   ```
   
   </details>
   
   I am currently still investigating but creating the issue in case someone wants to take a stab at it. 
   
   Current commit: https://github.com/apache/accumulo-testing/commit/ea659deaeacb46a4b22d4844f52e92b9508302fb 
   and using latest accumlo-2.1 (though seems unrelated). 
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo-testing] DomGarguilo commented on issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module

Posted by GitBox <gi...@apache.org>.
DomGarguilo commented on issue #213:
URL: https://github.com/apache/accumulo-testing/issues/213#issuecomment-1238436155

   Adding  `-maxdepth 1` to the `find` command here:
   https://github.com/apache/accumulo-testing/blob/ae9c46552a661c2dec132d26835cec5dd2ecbf66/bin/rwalk#L31
   will make it so that `Basic.xml` and `Simple.xml` are not shown on the list of available options in the rwalk help printout.
   
   Not sure if this is a solution or if it would be better to make it so that the user is able to run `Basic.xml` and `Simple.xml`


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo-testing] Manno15 commented on issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module

Posted by GitBox <gi...@apache.org>.
Manno15 commented on issue #213:
URL: https://github.com/apache/accumulo-testing/issues/213#issuecomment-1214203964

   Seems this issue is rather simple. Running just `./bin/rwalk Simple.xml` looks for the modeul inside `randomwalk/modules/` whereas it is actually located inside `randomwalk/modules/unit/`. This also holds true for the `Basic.xml` module.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo-testing] Manno15 commented on issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module

Posted by GitBox <gi...@apache.org>.
Manno15 commented on issue #213:
URL: https://github.com/apache/accumulo-testing/issues/213#issuecomment-1214207690

   Below is the code snippet that looks for the module that the user specified to be run.
   
   https://github.com/apache/accumulo-testing/blob/da4a4343d738f4861d7109290d3618f0a09c93b8/src/main/java/org/apache/accumulo/testing/randomwalk/Module.java#L519-L524


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo-testing] DomGarguilo commented on issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module

Posted by GitBox <gi...@apache.org>.
DomGarguilo commented on issue #213:
URL: https://github.com/apache/accumulo-testing/issues/213#issuecomment-1235833497

   > Yes, but they still show up as options for the user to choose if you enter the rwalk command without any module.
   
   Oh yea good point. I didn't see that until now. Maybe in that list those two can be prefixed with `/unit`


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo-testing] DomGarguilo commented on issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module

Posted by GitBox <gi...@apache.org>.
DomGarguilo commented on issue #213:
URL: https://github.com/apache/accumulo-testing/issues/213#issuecomment-1235830792

   I'm not certain of the intentions behind these files in the `unit` directory (`Basic` and `Simple`), but it doesn't seem to me that these are necessarily supposed to be run on their own by the user. Instead they seem like components of the other randomwalk modules/tests.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo-testing] Manno15 commented on issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module

Posted by GitBox <gi...@apache.org>.
Manno15 commented on issue #213:
URL: https://github.com/apache/accumulo-testing/issues/213#issuecomment-1235832026

   Yes, but they still show up as options for the user to choose if you enter the rwalk command without any module. 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo-testing] Manno15 closed issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module

Posted by GitBox <gi...@apache.org>.
Manno15 closed issue #213: IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module
URL: https://github.com/apache/accumulo-testing/issues/213


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org