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

Eric Badger commented on YARN-7246:
-----------------------------------

{noformat}
+const char* get_docker_binary_path(const char *docker_path_from_config) {
+  if (docker_path_from_config == NULL) {
+    return DEFAULT_DOCKER_BINARY_PATH;
+  }
+  return (const char*) docker_path_from_config;
+}
+
{noformat}
Is the cast here necessary? 


> Fix the default docker binary path
> ----------------------------------
>
>                 Key: YARN-7246
>                 URL: https://issues.apache.org/jira/browse/YARN-7246
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Shane Kumpf
>            Assignee: Shane Kumpf
>            Priority: Blocker
>         Attachments: YARN-7246-branch-2.8.2.001.patch, 
> YARN-7246-branch-2.8.2.002.patch, YARN-7246-branch-2.8.2.003.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to