saLeox opened a new pull request #1232:
URL: https://github.com/apache/incubator-linkis/pull/1232


   ### What is the purpose of the change
   For now, the file permission of the generated result set in HDFS or local 
file system is not specified in one place globally, and followed the default 
value (744), and JVM user is used to read those result file instead of current 
login user.
   It causes two issues:
   
   1) The result set is transparent to all hdfs users;
   2) JVM user cannot read current login user's result set when the permission 
of file is changed to more strict value(like 740).
   
   ### Brief change log
   - Specify the permission value in FileSystem (740 for file and 750 for 
folder) , and apply it in in local file system and hdfs;
   - Use current login user to read result file instead of JVM user.
   
   ### Verifying this change
   (Please pick either of the following options)  
   This change added tests and can be verified as follows:  
   - Submit any type of task normally, and check whether of permission value of 
results set or log in the hdfs is 740, and it's expected to be available to 
current login user.
   
   ### Does this pull request potentially affect one of the following parts:
   - Dependencies (does it add or upgrade a dependency): (no)
   - Anything that affects deployment: (no)
   - The MGS(Microservice Governance Services), i.e., Spring Cloud Gateway, 
OpenFeign, Eureka.: (no)
   
   ### Documentation
   - Does this pull request introduce a new feature? (no)


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