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/03/25 05:53:48 UTC
[GitHub] [accumulo] arvindshmicrosoft opened a new pull request #1571: Fix
ArrayIndexOutOfBoundsException in importdir
arvindshmicrosoft opened a new pull request #1571: Fix ArrayIndexOutOfBoundsException in importdir
URL: https://github.com/apache/accumulo/pull/1571
**Fix details**
The importdirectory command implementation within the shell now checks for the expected number of arguments and safely handles the case where no arguments are supplied for importdirectory.
**Bug details**
The issue is trivial to reproduce (in master and in publicly released Accumulo 2.0.0 as well). Just switch to a table context within the Accumulo shell and issue an importdirectory command without any arguments:
```
root@uno t1> importdirectory
2020-03-24T22:16:16,107 [shell.Shell] ERROR: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
```
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [accumulo] milleruntime merged pull request #1571: Fix
ArrayIndexOutOfBoundsException in importdir
Posted by GitBox <gi...@apache.org>.
milleruntime merged pull request #1571: Fix ArrayIndexOutOfBoundsException in importdir
URL: https://github.com/apache/accumulo/pull/1571
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [accumulo] milleruntime commented on issue #1571: Fix
ArrayIndexOutOfBoundsException in importdir
Posted by GitBox <gi...@apache.org>.
milleruntime commented on issue #1571: Fix ArrayIndexOutOfBoundsException in importdir
URL: https://github.com/apache/accumulo/pull/1571#issuecomment-604521975
Thanks for the fix @arvindshmicrosoft
----------------------------------------------------------------
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
With regards,
Apache Git Services