[ https://issues.apache.org/jira/browse/RANGER-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519319#comment-17519319 ]
Bhavik Patel commented on RANGER-3255: -------------------------------------- can you raise the Request at review board : https://reviews.apache.org/dashboard/ > Lost nessary pre-check for Empty input argument > ----------------------------------------------- > > Key: RANGER-3255 > URL: https://issues.apache.org/jira/browse/RANGER-3255 > Project: Ranger > Issue Type: Bug > Components: plugins > Affects Versions: 2.1.0, 3.0.0, 2.2.0 > Reporter: Shiyou xin > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > If configure file not found, or lost nessary configure urls, then a exception > happens as following : > {{2021-04-27 10:46:30,658 ERROR > org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode. > java.lang.IllegalArgumentException: bound must be positive > at java.util.Random.nextInt(Random.java:388) > at > org.apache.ranger.plugin.util.RangerRESTClient.<init>(RangerRESTClient.java:120) > at > org.apache.ranger.admin.client.RangerAdminRESTClient.init(RangerAdminRESTClient.java:778) > at > org.apache.ranger.admin.client.RangerAdminRESTClient.init(RangerAdminRESTClient.java:116)}} > > Maybe, we should add a pre-check. -- This message was sent by Atlassian Jira (v8.20.1#820001)