[ 
https://issues.apache.org/jira/browse/YARN-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16368027#comment-16368027
 ] 

Zian Chen commented on YARN-7626:
---------------------------------

Hi [~miklos.szeg...@cloudera.com] , really appreciate your comments for the 
latest patch. I agree with most of the suggestions. Just have two quick 
questions here for the conceptual issues No. 2,
 # Since current trunk code base uses ^$ pair as the judgment criteria for 
regex, could you kindly give us an example that there is any other type of 
regex that is not like ^$ pair which is useful to us in docker volume mount 
scenario?
 # I'm also concerned using regex: as a prefix instead of ^$ pair for regex may 
introduce security holes, what if hackers input user mount like regex+ as a 
prefix?  

Could you please advice? Thank you so much!

 

 

> Allow regular expression matching in container-executor.cfg for devices and 
> named docker volumes mount
> ------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-7626
>                 URL: https://issues.apache.org/jira/browse/YARN-7626
>             Project: Hadoop YARN
>          Issue Type: New Feature
>            Reporter: Zian Chen
>            Assignee: Zian Chen
>            Priority: Major
>         Attachments: YARN-7626.001.patch, YARN-7626.002.patch, 
> YARN-7626.003.patch, YARN-7626.004.patch, YARN-7626.005.patch, 
> YARN-7626.006.patch, YARN-7626.007.patch, YARN-7626.008.patch
>
>
> Currently when we config some of the GPU devices related fields (like ) in 
> container-executor.cfg, these fields are generated based on different driver 
> versions or GPU device names. We want to enable regular expression matching 
> so that user don't need to manually set up these fields when config 
> container-executor.cfg,



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to