Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
select * from t1 where col1 = 'aaa' limit 2;

If you see such scenario, make sure to verify the no. of files in each partitions of the table. It is possible that if there are too many small files in the order of KBs under each partition then most of the time is spent in just opening the file in ORC. Check if it is expected to have so many files in each partition or if it is possible to merge them before loading data.

These are the parameters to consider

hive.merge.tezfiles=true 
hive.merge.mapredfiles=true
hive.merge.mapfiles=true 
hive.merge.orcfile.stripe.level=true 

In such situation, checking the no of files in the partition should be the first protocol & verifying anything else should be only secondary.

1,161 Views
Version history
Last update:
‎06-29-2017 12:09 AM
Updated by:
Contributors