Member since
03-28-2016
49
Posts
4
Kudos Received
0
Solutions
09-13-2023
06:19 AM
I dont think you can use PutSQL for this. Try ExecuteSQL or you might have to use ExecuteScript processor as other posts suggest: https://community.cloudera.com/t5/Support-Questions/Does-ExecuteSQL-processor-allow-to-execute-stored-procedure/m-p/158922 https://stackoverflow.com/questions/72348844/get-output-of-stored-procedure-using-putsql-in-nifi If that helps please accept solution. Thanks
... View more
11-14-2022
01:15 PM
Yes it's correct what elserj said, but inside your crontab job please add . $HOME/.bashrc; for example: 09 15 * * 1 . $HOME/.bashrc; PATH:/compact.sh > /home/user/logfile.log 2>&1
... View more
12-30-2019
05:53 AM
If i am having more than one columns as primary key.How shall i proceed.
... View more
06-24-2019
07:04 PM
Thank you very much for this answer.
... View more
10-30-2017
03:02 PM
I don't want to add one more column to the actual index columns, but in the INCLUDE() section. Will that also have same effect?
... View more
07-26-2017
10:43 AM
You need to move your snapshot from exported directory to the directory where hbase looks for snapshots(.hbase-snapshot). so that list_snapshots and other commands(like clone_snapshot ) can work easily hadoop dfs -mv hdfs://NAME_NODE:8020/hbase/.hbase-snapshot/<snapshot_name> hdfs://NAME_NODE:8020/apps/hbase/data/.hbase-snapshot/
hdfs dfs -mv hdfs://NAME_NODE:8020/hbase/archive/data/* hdfs://NAME_NODE:8020/apps/hbase/data/archive/data/ FYI:- to list snapshot directly from remote directory hbase org.apache.hadoop.hbase.snapshot.SnapshotInfo -remote-dir hdfs://NAME_NODE:8020/hbase/ -list-snapshots
... View more
07-16-2017
06:36 PM
Thank you Matt, ListHDFS was a good hint. I was able to accomplish my task with you inputs.
... View more
06-13-2017
03:40 PM
Do you mind putting this into a new HCC question? Although the problems may be somewhat similar, you will likely get answers that don't apply to the original question here, so to avoid confusion, I think a new question is the right way to go 🙂 Thanks in advance!
... View more
06-27-2017
05:18 PM
@Akash S The optimum value for Maximum Timer Driven Thread count will be based on the number of CPU's your system has. Roughly we recommend between 2 and 4 times the number of CPU. So, if your system has 8 CPUs, assuming it isn't bear metal, then your max timer driven threads can be between 16 and 32. If you have a bare metal system, then you will have more room because of hyper-threading, so the values could be between 32 and 64. The Event Driven thread value can stay at 5, NiFi will not need more than that, no matter how many processors there are on the graph.
... View more
05-08-2017
11:15 PM
8 Kudos
@Akash S - If you make any change in hdfs-site.xml using Ambari it will ask you to restart below services - HDFS, YARN and MAPREDUCE2. It will not ask for HBASE restart.
... View more