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

Siddharth Wagle reassigned HDDS-7849:
-------------------------------------

    Assignee: George Huang

> Failed to start newly added datanode if ozone log directory is not default 
> /var/log/hadoop-ozone
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-7849
>                 URL: https://issues.apache.org/jira/browse/HDDS-7849
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: George Huang
>            Assignee: George Huang
>            Priority: Major
>         Attachments: Screen Shot 2023-01-28 at 10.56.18 AM.png
>
>
> Ozone log directory is not the default value, say: /var/log/hadoop-ozone9, 
> add new datanode to the cluster and start the datanode will fail with 
> permission error:
> :
> {code:java}
> + timestamp='Sat Jan 28 08:28:08 PST 2023' + echo 'Sat Jan 28 08:28:08 PST 
> 2023: Starting Ozone Datanode...' + echo 'Sat Jan 28 08:28:08 PST 2023: 
> Starting Ozone Datanode...' Sat Jan 28 08:28:08 PST 2023: Starting Ozone 
> Datanode... + exec 
> /opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p11.35002917/lib/hadoop-ozone/../../bin/ozone
>  datanode WARNING: /var/log/hadoop-ozone does not exist. Creating. mkdir: 
> cannot create directory ‘/var/log/hadoop-ozone’: Permission denied ERROR: 
> Unable to create /var/log/hadoop-ozone. Aborting.{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to