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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/10/04 03:42:00 UTC

[jira] [Comment Edited] (YARN-7198) Add jsvc support for RegistryDNS

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

Allen Wittenauer edited comment on YARN-7198 at 10/4/17 3:41 AM:
-----------------------------------------------------------------

I tried to run this based upon the documentation here:

https://github.com/apache/hadoop/blob/63d1084e9781e0fee876916190b69f6242dd00e4/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/RegistryDNS.md

Playing with this tonight, one thing has become really obvious:

I'm looking in a directory called 'yarn-service' at documentation.  If this is the 'yarn-service', then what is the rest of YARN?  service is really not a good word to use.  In fact, service is so over used in the YARN documentation (here and elsewhere) as a whole that it's lost all meaning. :(

Anyway....

I tried to run this with these configs:

{code}
 <property>
    <name>hadoop.registry.dns.enabled</name>
    <value>true</value>
  </property>
  <property>
    <name>hadoop.registry.dns.domain-name</name>
    <value>hadoop.example.com</value>
  </property>
  <property>
    <name>hadoop.registry.dns.bind-port</name>
    <value>54</value>
  </property>
  <property>
    <name>hadoop.registry.dns.zone-subnet</name>
    <value>172.16.170.0</value>
  </property>
  <property>
    <name>hadoop.registry.dns.zone-subnet</name>
    <value>255.255.255.0</value>
  </property>
{code}

It's interesting that it failed to start because it couldn't connect to ZK on localhost/127.0.0.1:2181. So I'm guessing there is a chunk of documentation missing?

That said:

bq. hadoop.registry.dns.zone-subnet

How is this specified?  CIDR notation? 

bq. hadoop.registry.dns.zone-mask

OK, maybe not?

An example really needs to exist in the markdown docs for these two entries about what is actually wanted here.  For example, if I want 192.168.100.0/22 (aka 192.168.100.0 to 192.168.103.255), what does the configuration look like?  If it supports CIDR, then zone-mask is pointless.  But I'm guessing it only supports the classic class A, B, and C?

This is really important because reverse addressing for non-standard network blocks is a bit wacky to configure even on standard DNS servers.

Thanks.


was (Author: aw):

I tried to run this based upon the documentation here:

https://github.com/apache/hadoop/blob/63d1084e9781e0fee876916190b69f6242dd00e4/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/yarn-service/RegistryDNS.md

Playing with this tonight, one thing has become really obvious:

I'm looking in a directory called 'yarn-service' at documentation.  If this is the 'yarn-service', then what is the rest of YARN?  service is really not a good word to use.  In fact, service is so over used in the YARN documentation (here and elsewhere) as a whole that it's lost all meaning. :(

Anyway....

I tried to run this with these configs:

{code}
 <property>
    <name>hadoop.registry.dns.enabled</name>
    <value>true</value>
  </property>
  <property>
    <name>hadoop.registry.dns.domain-name</name>
    <value>hadoop.example.com</value>
  </property>
  <property>
    <name>hadoop.registry.dns.bind-port</name>
    <value>54</value>
  </property>
  <property>
    <name>hadoop.registry.dns.zone-subnet</name>
    <value>172.16.170.0</value>
  </property>
  <property>
    <name>hadoop.registry.dns.zone-subnet</name>
    <value>255.255.255.0</value>
  </property>
{code}

It's interesting that it failed to start because it couldn't connect to ZK on localhost/127.0.0.1:2181. So I'm guessing there is a chunk of documentation missing?

That said:

bq. hadoop.registry.dns.zone-subnet

How is this specified?  CIDR notation? 

bq. hadoop.registry.dns.zone-mask

OK, maybe not?

An example really needs to exist in the markdown docs for these two entries about what is actually wanted here.  For example, if I want 192.168.100.0/22 (aka 192.168.100.0 to 192.168.103.255), what does the configuration look like?  If it supports CIDR, then zone-mask is pointless.  But I'm guessing it only supports the classic class A, B, and C?

This is really important because reverse addressing is a bit wacky to configure even on standard DNS servers.

Thanks.

> Add jsvc support for RegistryDNS
> --------------------------------
>
>                 Key: YARN-7198
>                 URL: https://issues.apache.org/jira/browse/YARN-7198
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn-native-services
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>            Priority: Critical
>         Attachments: YARN-7198-yarn-native-services.01.patch, YARN-7198-yarn-native-services.02.patch, YARN-7198-yarn-native-services.03.patch, YARN-7198-yarn-native-services.04.patch
>
>
> RegistryDNS should have jsvc support and be managed through the shell scripts, rather than being started manually. See original comments on YARN-7191.



--
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