Member since
10-19-2016
3
Posts
2
Kudos Received
0
Solutions
10-26-2016
04:02 PM
1 Kudo
Hi, I found this about insert operation and parallelism: Note: The INSERT ... VALUES technique is not suitable for loading large quantities of data into HDFS-based tables, because the insert operations cannot be parallelized, and each one produces a separate data file. Use it for setting up small dimension tables or tiny amounts of data for experimenting with SQL syntax, or with HBase tables. Do not use it for large ETL jobs or benchmark tests for load operations. Do not run scripts with thousands of INSERT ... VALUES statements that insert a single row each time. If you do run INSERT ... VALUES operations to load data into a staging table as one stage in an ETL pipeline, include multiple row values if possible within each VALUES clause, and use a separate database to make cleanup easier if the operation does produce many tiny files. http://www.cloudera.com/documentation/enterprise/5-5-x/topics/impala_insert.html
... View more
10-19-2016
01:13 PM
Thanks for the fastest response ever 🙂 You are generally right. But this flow should stablized soon as it complete loading history files and handle only two files per minute. The current "backlog" is about 2500 insert commands waiting in queue. Maybe I exaggerated using "massive ingest" to describe the problem... Is there another way to temporarily boost this process?
... View more
10-19-2016
12:51 PM
1 Kudo
Hi all, I'm in the middle of a massive ingest process in NiFi using putHiveQL which is pretty much choking. Using: Nifi 1 (Beta - untill the queues get empty) and CDH 5.4.3 (Hive 1.1) I have made everything I could think of to enable parallel processing. But still I can see only one or two jobs running in parallel. Do you think I'm missing somthing? 1. hive configuration - enabling hive.exec.parallel and increasing hive.exec.parallel.thread.number <property> <name>hive.exec.parallel
</name>
<value>true</value>
<description>Whether to execute jobs in parallel
</description>
</property>
<property>
<name>hive.exec.parallel.thread.number</name>
<value>35</value>
<description>Whether to execute jobs in parallel</description>
</property> 2. Configured Connect2HiveAndExec-Concurrent tasks to 10 3.Increased NiFi settings Max threads ,
... View more
Labels: