You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zhankun Tang (JIRA)" <ji...@apache.org> on 2018/10/19 14:11:00 UTC

[jira] [Commented] (YARN-8916) Define a constant "docker" string in "ContainerRuntimeConstants.java" for better maintainability

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

Zhankun Tang commented on YARN-8916:
------------------------------------

Attached a patch. Please review. [~sunilg], [~shanekumpf@gmail.com],[~weiweiyagn666]
Will close this if it's improper.

> Define a constant "docker" string in "ContainerRuntimeConstants.java" for better maintainability
> ------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8916
>                 URL: https://issues.apache.org/jira/browse/YARN-8916
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Zhankun Tang
>            Assignee: Zhankun Tang
>            Priority: Minor
>         Attachments: YARN-8916-trunk.001.patch
>
>
> There're several hard-code string "docker" exists. It's better to use a constant string in "ContainerRuntimeConstants" to make this container type easy to use.



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

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