hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14921) Conflicts when starting daemons with the same name
Date Mon, 02 Oct 2017 20:50:02 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188799#comment-16188799

Allen Wittenauer commented on HADOOP-14921:

A few thoughts:

a) In production systems, the user part of the string likely won't be the same, much less
running on the same system.

b) If people REALLY want to run the two daemons on the same node as the same user, then HADOOP_IDENT_STRING
is already available to provide a way for users to do their own differentiation, just like
they can with running e.g., two DataNode processes on the same node.

c) Or, custom entries in hadoop-user-function to do exactly what you're proposing.  

d) Having multiple, different daemons called the same thing is awful.  jps, logs, pids, documentation
... it's going to be terrible for admins. ("No, I meant the YARN router." "No, I meant the
HFDS router.")  I'd HIGHLY recommend renaming it to something else.

> Conflicts when starting daemons with the same name
> --------------------------------------------------
>                 Key: HADOOP-14921
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14921
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Íñigo Goiri
> HDFS-10467 is adding a {{Router}} while YARN already added one for YARN-2915. Both of
them are ultimately started from {{hadoop-functions.sh}}. For the PID file both of them end
up using {{/tmp/hadoop-hadoop-router.pid}}. I propose to use the command name also for the
PID file.

This message was sent by Atlassian JIRA

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

View raw message