[ 
https://issues.apache.org/jira/browse/HDDS-2230?focusedWorklogId=322860&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-322860
 ]

ASF GitHub Bot logged work on HDDS-2230:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Oct/19 18:47
            Start Date: 03/Oct/19 18:47
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #1585: HDDS-2230. 
Invalid entries in ozonesecure-mr config
URL: https://github.com/apache/hadoop/pull/1585
 
 
   ## What changes were proposed in this pull request?
   
   1. Fix invalid entries in `docker-config` of `ozonesecure-mr`.  These 
variables:
     * did not follow the naming convention of `envtoconf` (eg. missing `_`) 
and were ignored, or
     * had typos in the filename portion (eg. `YARN_SITE.XML` instead of 
`YARN-SITE.XML`), and so were generated into the wrong config files.
   2. Disable `LinuxContainerExecutor`, which requires `root` ownership of the 
config directory and does not work with the `hadoop-runner` image.
   3. Avoid `_` in hostname and domain name of Timeline History Server, because 
`URI` parsing fails in the client.  This is achieved by using a custom 
container name (for `jhs` only) and network name (for all services in the 
compose env).
   
   Thanks @xiaoyuyao for finding the cause and fix for (2).
   
   https://issues.apache.org/jira/browse/HDDS-2230
   
   ## How was this patch tested?
   
   Ran acceptance test in `ozonesecure-mr`.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 322860)
    Remaining Estimate: 0h
            Time Spent: 10m

> Invalid entries in ozonesecure-mr config
> ----------------------------------------
>
>                 Key: HDDS-2230
>                 URL: https://issues.apache.org/jira/browse/HDDS-2230
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: docker
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HDDS-2230.001.patch, HDDS-2230.002.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Some of the entries in {{ozonesecure-mr/docker-config}} are in invalid 
> format, thus they end up missing from the generated config files.
> {noformat}
> $ cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozonesecure-mr
> $ ./test.sh # configs are generated during container startup
> $ cd ../..
> $ grep -c 'ozone.administrators' compose/ozonesecure-mr/docker-config
> 1
> $ grep -c 'ozone.administrators' etc/hadoop/ozone-site.xml
> 0
> $ grep -c 'yarn.timeline-service' compose/ozonesecure-mr/docker-config
> 5
> $ grep -c 'yarn.timeline-service' etc/hadoop/yarn-site.xml
> 2
> $ grep -c 'container-executor' compose/ozonesecure-mr/docker-config
> 3
> $ grep -c 'container-executor' etc/hadoop/yarn-site.xml
> 0
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to