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

FerArribas updated RANGER-4828:
-------------------------------
    Description: 
In Apache Ranger Admin with Java 11 the JVM doesn't start because the path 
directory of the GC log file does not exist. However, with Java 8 the JVM even 
though the file doesn't exist starts correctly. 

 

As a result of this, no GC logs are now left unless this condition is met (file 
-> security-admin/scripts/setup.sh): 

!setup.png!

 

I attach evidence and the following PR to solve the problem.
h3. *JAVA 8* 

!Java8.png!
h3. *JAVA 11*

!java11.png!

 

  was:
In Apache Ranger Admin with Java 11 the JVM doesn't start because the path 
directory of the GC log file does not exist. However, with Java 8 the JVM even 
though the file doesn't exist starts correctly. 

 

As a result of this, no GC logs are now left unless this condition is met (file 
-> security-admin/scripts/setup.sh): 

!image-2024-06-19-21-10-26-528.png!

I attach evidence and the following PR to solve the problem.
h3. *JAVA 8* !image-2024-06-19-21-03-53-062.png!

 
h3. *JAVA 11*

!image-2024-06-19-21-03-46-814.png!

 


> Apache Ranger Admin doesn't start correctly with Java 11
> --------------------------------------------------------
>
>                 Key: RANGER-4828
>                 URL: https://issues.apache.org/jira/browse/RANGER-4828
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 2.4.0
>            Reporter: FerArribas
>            Priority: Major
>         Attachments: Java8.png, java11.png, setup.png
>
>
> In Apache Ranger Admin with Java 11 the JVM doesn't start because the path 
> directory of the GC log file does not exist. However, with Java 8 the JVM 
> even though the file doesn't exist starts correctly. 
>  
> As a result of this, no GC logs are now left unless this condition is met 
> (file -> security-admin/scripts/setup.sh): 
> !setup.png!
>  
> I attach evidence and the following PR to solve the problem.
> h3. *JAVA 8* 
> !Java8.png!
> h3. *JAVA 11*
> !java11.png!
>  



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

Reply via email to