keith-turner opened a new issue, #5971:
URL: https://github.com/apache/accumulo/issues/5971

   **Is your feature request related to a problem? Please describe.**
   
   When table splits are not known for a file that will be bulk imported it 
would be useful to have a function to compute a load plan for the file.  
Currently their is no easy way to do this in the public API.  
   
   **Describe the solution you'd like**
   
   Offer a function like `LoadPlan LoadPlan.compute(URI file)` similar to [this 
function](https://github.com/apache/accumulo/blob/c92c2246a7bb5d0c848175448e54e8573bc3a087/core/src/main/java/org/apache/accumulo/core/data/LoadPlan.java#L464)
 that computes a load plan based on the files first and last row.  This return 
a load plan with a range type of FILE.  
   
   **Describe alternatives you've considered**
   
   If the RFile public API offered an efficient way to get the last key in the 
file, this would provide another way to accomplish creating the load plan for 
this case.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to