Member since
11-17-2021
1167
Posts
262
Kudos Received
30
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 444 | 04-23-2026 02:02 PM | |
| 1042 | 03-17-2026 05:26 PM | |
| 6506 | 11-05-2025 10:13 AM | |
| 1224 | 10-16-2025 02:45 PM | |
| 2082 | 10-06-2025 01:01 PM |
04-12-2024
06:25 PM
So how are you determining the last file? Based on what? is a file created\updated date? or is it based on some sort order?
... View more
04-11-2024
06:32 AM
@jnk32 Welcome to the Cloudera Community! To help you get the best possible solution, I have tagged our NiFi experts @joseomjr @SAMSAL @mburgess who may be able to assist you further. Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
... View more
04-09-2024
02:02 PM
1 Kudo
Looks like NiFi is might be using GitHub - redis/jedis: Redis Java client under the covers so if it can run the commands you asked about, you might be able to build a custom Groovy processor to run them.
... View more
04-09-2024
01:48 PM
1 Kudo
What headers do you set inside of Postman?
... View more
04-09-2024
10:51 AM
@VijendarD Welcome to the Cloudera Community! To help you get the best possible solution, I have reached to you on your DMs with next steps. Thanks!
... View more
04-09-2024
05:23 AM
Hi Matt, we configured 24GB as xms and xmx parameters. For now we have a normal use of memory without OOM errors. Thank you, Fortunato
... View more
04-08-2024
08:43 AM
@darkcoffeelake Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
... View more
04-04-2024
04:23 AM
1 Kudo
Good Morning -- any takers on helping answer this question? I would be super appreciative.
... 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: quangduong_0-1712130632800.png Step 2: Restart ambari agent sudo ambari-agent restart Step 3: Try to restart Hive server2 in Ambari quangduong_1-1712131665537.png Service started successful.
... View more
04-03-2024
12:11 AM
1 Kudo
Thanks for the reply. I have found the answer myself. The table name must be all in capital letters. No need to add schema or catalog name.
... View more