Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ranger into bigtop-3.2.1 from bigtop-3.3 #35

Open
Nazarii-Melnyk opened this issue Sep 18, 2024 · 3 comments · May be fixed by #36
Open

Add ranger into bigtop-3.2.1 from bigtop-3.3 #35

Nazarii-Melnyk opened this issue Sep 18, 2024 · 3 comments · May be fixed by #36
Assignees
Labels
enhancement New feature or request

Comments

@Nazarii-Melnyk
Copy link

There are required to integrate Ranger service into the current Hadoop cluster deployment, that uses Bigtop-3.2.1 and Clemlab Ambari.

@Nazarii-Melnyk Nazarii-Melnyk added the enhancement New feature or request label Sep 18, 2024
@Nazarii-Melnyk Nazarii-Melnyk self-assigned this Sep 18, 2024
@Nazarii-Melnyk
Copy link
Author

Error starting Ranger tagsync service:

Execute[(u'/usr/lib/jvm/java-8-openjdk-amd64/bin/java', '-cp', u'/usr/lib/bigtop-select/current/ranger-tagsync/lib/*', 'org.apache.ranger.credentialapi.buildks', 'create', 'tagadmin.user.password', '-value', [PROTECTED], '-provider', u'jceks://file/usr/bigtop/current/ranger-tagsync/conf/rangertagsync.jceks')] {'logoutput': True, 'environment': {'JAVA_HOME': u'/usr/lib/jvm/java-8-openjdk-amd64'}, 'sudo': True}
Error: Could not find or load main class org.apache.ranger.credentialapi.buildks

@Nazarii-Melnyk Nazarii-Melnyk linked a pull request Sep 20, 2024 that will close this issue
@Nazarii-Melnyk Nazarii-Melnyk linked a pull request Sep 20, 2024 that will close this issue
@Nazarii-Melnyk
Copy link
Author

The Ranger service does not start using Bigtop-3.3 installation scripts. Error:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/RANGER/package/scripts/ranger_tagsync.py", line 146, in <module>
    RangerTagsync().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 355, in execute
    self.execute_prefix_function(self.command_name, 'post', env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 386, in execute_prefix_function
    method(env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 428, in post_start
    raise Fail("Pid file {0} doesn't exist after starting of the component.".format(pid_file))
resource_management.core.exceptions.Fail: Pid file /var/run/ranger/tagsync.pid doesn't exist after starting of the component.

@Nazarii-Melnyk
Copy link
Author

Error while installing Ranger using Clemlab ODP installation scripts:

2024-10-10 14:00:55,252  [JISQL] /usr/lib/jvm/java-8-openjdk-amd64/bin/java  -cp /usr/lib/bigtop-select/current/ranger-admin/ews/lib/postgresql-42.7.3.jar:/usr/lib/bigtop-select/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://isv-s-hdp-mst-01.example.com/ranger -u rangeradmin -p '********' -noheader -trim -c \;  -query "delete from x_db_version_h where version = 'DEFAULT_ADMIN_UPDATE' and active = 'N' and updated_by='isv-s-hdp-mng-01.example.com';"
2024-10-10 14:00:55,738  [E] Ranger admin default password change request failed

Error in file ranger_db_patch.log:

ERROR o.a.r.p.c.ChangePasswordUtil (ChangePasswordUtil.java:106) Error loading
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [core-site.xml] cannot be opened because it does not exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant