hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7246) Fix the default docker binary path
Date Wed, 04 Oct 2017 14:06:00 GMT

    [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message