[ 
https://issues.apache.org/jira/browse/HDDS-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDDS-524:
-------------------------------
    Environment:     (was: {code}
docker run -it apache/hadoop:2 ls -lah  /opt/hadoop/etc/hadoop

total 152K
drwxr-xr-x 1 hadoop users 4.0K Aug 13 17:08 .
drwxr-xr-x 1 hadoop users 4.0K Nov 13  2017 ..
-rw-r--r-- 1 hadoop users 7.7K Nov 13  2017 capacity-scheduler.xml
...
-rw-r--r-- 1 hadoop users 5.8K Nov 13  2017 kms-site.xml
-rw-r--r-- 1 root   root  1023 Aug 13 17:04 log4j.properties
-rw-r--r-- 1 hadoop users 1.1K Nov 13  2017 mapred-env.cmd
...
{code}

The owner of the log4j is root instead of hadoop. For this reason we can't use 
the images for acceptance tests as the launcher script can't overwrite log4j 
properties based on the environment variables.

Same is true with 

{code}
docker run -it apache/hadoop:2 ls -lah  /opt/hadoop/etc/hadoop
{code}
)
    Description: 
{code}
docker run -it apache/hadoop:2 ls -lah  /opt/hadoop/etc/hadoop

total 152K
drwxr-xr-x 1 hadoop users 4.0K Aug 13 17:08 .
drwxr-xr-x 1 hadoop users 4.0K Nov 13  2017 ..
-rw-r--r-- 1 hadoop users 7.7K Nov 13  2017 capacity-scheduler.xml
...
-rw-r--r-- 1 hadoop users 5.8K Nov 13  2017 kms-site.xml
-rw-r--r-- 1 root   root  1023 Aug 13 17:04 log4j.properties
-rw-r--r-- 1 hadoop users 1.1K Nov 13  2017 mapred-env.cmd
...
{code}

The owner of the log4j is root instead of hadoop. For this reason we can't use 
the images for acceptance tests as the launcher script can't overwrite log4j 
properties based on the environment variables.

Same is true with 

{code}
docker run -it apache/hadoop:2 ls -lah  /opt/hadoop/etc/hadoop
{code}


> log4j is added with root to apache/hadoop:2 and apache/hadoop:3 images
> ----------------------------------------------------------------------
>
>                 Key: HDDS-524
>                 URL: https://issues.apache.org/jira/browse/HDDS-524
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Elek, Marton
>            Assignee: Dinesh Chitlangia
>            Priority: Major
>              Labels: newbie
>         Attachments: HDDS-524-docker-hadoop-runner.001.patch
>
>
> {code}
> docker run -it apache/hadoop:2 ls -lah  /opt/hadoop/etc/hadoop
> total 152K
> drwxr-xr-x 1 hadoop users 4.0K Aug 13 17:08 .
> drwxr-xr-x 1 hadoop users 4.0K Nov 13  2017 ..
> -rw-r--r-- 1 hadoop users 7.7K Nov 13  2017 capacity-scheduler.xml
> ...
> -rw-r--r-- 1 hadoop users 5.8K Nov 13  2017 kms-site.xml
> -rw-r--r-- 1 root   root  1023 Aug 13 17:04 log4j.properties
> -rw-r--r-- 1 hadoop users 1.1K Nov 13  2017 mapred-env.cmd
> ...
> {code}
> The owner of the log4j is root instead of hadoop. For this reason we can't 
> use the images for acceptance tests as the launcher script can't overwrite 
> log4j properties based on the environment variables.
> Same is true with 
> {code}
> docker run -it apache/hadoop:2 ls -lah  /opt/hadoop/etc/hadoop
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to