You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "George Huang (Jira)" <ji...@apache.org> on 2023/01/28 18:57:00 UTC

[jira] [Updated] (HDDS-7849) Failed to start newly added datanode if ozone log directory is not default /var/log/hadoop-ozone

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

George Huang updated HDDS-7849:
-------------------------------
    Attachment: Screen Shot 2023-01-28 at 10.56.18 AM.png

> 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
>            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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org