LuciferYang opened a new issue, #2842:
URL: https://github.com/apache/uniffle/issues/2842

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and 
found no similar issues.
   
   ### What would you like to be improved?
   
   The shuffle server puts the appId of a request into its local and remote 
storage paths as it is. `registerShuffle` also carries a remote storage path 
and a hadoop conf, both chosen by the client, and the server writes to and 
deletes from that path with that conf. The server doesn't check either value.
   
   ### How should we improve?
   
   - Check the appId at the gRPC and Netty entry points, and again where 
storage paths are built, so that it is always a single plain path segment.
   - Add a server config that lists the remote storage paths the server may 
use, and reject a register request whose remote storage isn't under one of them.
   - Take the file system classes from the server's own hadoop conf, not from 
the request.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to