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

George Huang commented on HDDS-7849:
------------------------------------

 
{code:java}
Source code repository [email protected]:CDH/ozone.git -r 
45a470e0dc83db4d5fcb907b0fd963bf4c827749
Compiled by jenkins on 2023-01-23T08:38Z
Compiled with protoc 2.5.0, 3.19.6 and 3.7.1
>From source with checksum 7d9a14e69c9573af19be6582398e3e6
With Apache Ratis: 2.4.2.8b8bdda.718.1.0-b5 from 
79ec79a593f7b1e27aee5bb2190df9876f56c1e9
 
Using HDDS 1.3.0.718.1.0-b5
Source code repository [email protected]:CDH/ozone.git -r 
45a470e0dc83db4d5fcb907b0fd963bf4c827749
Compiled by jenkins on 2023-01-23T08:37Z
Compiled with protoc 2.5.0, 3.19.6 and 3.7.1
>From source with checksum a42f7531239b1c3d952715c0aca65930
{code}
 

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to