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:
[email protected]


With regards,
Apache Git Services

Reply via email to