Member since
07-09-2019
359
Posts
97
Kudos Received
56
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
555 | 08-26-2024 08:17 AM | |
998 | 08-20-2024 08:17 PM | |
361 | 07-08-2024 04:45 AM | |
422 | 07-01-2024 05:27 AM | |
387 | 06-05-2024 06:25 AM |
05-15-2024
07:08 AM
1 Kudo
Hello @Scharan, I resolved this by setting a number of oozie jobs to a status of "FAILED" directly in the oozie database. They were rogue jobs at a status of RUNNING in the database. Thanks for your input and replies! Ian.
... View more
05-10-2024
11:37 PM
1 Kudo
Hello @Scharan From the debug log I think the issue is when Knoxsso is redirecting to NN UI, it is sending user as anonymous. AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(133)) - PrimaryPrincipal: anonymous Do you know what configs at hdfs or Knox could help here?
... View more
05-09-2024
06:15 AM
Hello @divyank Try with admin123 and see if it works; if it still fails, try resetting the ranger admin with the below steps. Run the following query on the Ranger database. update x_portal_user set password = 'ceb4f32325eda6142bd65215f4c0f371' where login_id = 'admin'; This update the password of ranger admin to admin.
... View more
05-09-2024
06:05 AM
Hello @divyank Can you check if Solr and HBase are up and running?
... View more
05-09-2024
12:11 AM
Hello @Hadoop16 Can you try adding public group to the ranger knox policy and then run webhdfs curl command
... View more
05-06-2024
08:12 PM
1 Kudo
Hello @Scharan , I installed the NTP, but still the same error. Any suggestions on what went wrong?
... View more
04-24-2024
12:34 AM
1 Kudo
@Scharan THANKS , Its working now.
... View more
04-13-2024
10:13 AM
1 Kudo
Register on https://education.cloudera.com/ and you can enroll on several courses, for instance, ADMIN-332: Building Secure Clusters or ADMIN-138 Introducing AWS for CDP Public Cloud
... View more
04-05-2024
12:25 AM
1 Kudo
Hello @ipson To edit the entity in Atlas, you need to export the entity, which will be downloaded in zip format, extract the files, edit the required files, zip the file in its original order, and then import the updated files to Atlas in compressed format (zip). You can make use of export and import atlas api's to perform the above steps
... View more
04-03-2024
01:09 AM
@rizalt I had a same bug when used ODP stack to deploy Ambari. After debug, I found code in ambari-agent bug when runtime to try start Hive Server2. Problem: This below codes output {out} parameter to handle hdfs path, but this code returned not valid hdfs URI 163 metatool_cmd = format("hive --config {conf_dir} --service metatool")
164 cmd = as_user(format("{metatool_cmd} -listFSRoot", env={'PATH': execution_path}), params.hive_user) \
165 + format(" 2>/dev/null | grep hdfs:// | cut -f1,2,3 -d '/' | grep -v '{fs_root}' | head -1")
166 code, out = shell.call(cmd) 2024-04-03 07:40:48,317 - call['ambari-sudo.sh su hive -l -s /bin/bash -c 'hive --config /usr/odp/current/hive-server2/conf/ --service metatool -listFSRoot' 2>/dev/null | grep hdfs:// | cut -f1,2,3 -d '/' | grep -v 'hdfs://vm-ambari.internal.cloudapp.net:8020' | head -1'] {}
2024-04-03 07:40:58,721 - call returned (0, '07:40:53.268 [main] DEBUG org.apache.hadoop.fs.FileSystem - hdfs:// = class org.apache.hadoop.hdfs.DistributedFileSystem from ') To fix: Step 1: edit row 170 in file "/var/lib/ambari-agent/cache/stacks/ODP/1.0/services/HIVE/package/scripts/hive_service.py" as below: I hard code old_path to valid URI, this help by pass updateLocation config # cmd = format("{metatool_cmd} -updateLocation {fs_root} {out}")
cmd = format("{metatool_cmd} -updateLocation {fs_root} hdfs://oldpath") You can see as below image: Step 2: Restart ambari agent sudo ambari-agent restart Step 3: Try to restart Hive server2 in Ambari Service started successful.
... View more