Member since
07-16-2018
8
Posts
0
Kudos Received
0
Solutions
10-23-2019
02:27 PM
1 Kudo
It looks like there was plenty of memory available in the system, that query just hit its individual memory limit. There were a lot of improvements to avoid out-of-memory between 5.15 and 6.1, particularly for queries with a lot of scans that use a significant amount of memory. It looks like one of the scans was using a large chunk of the query memory: HDFS_SCAN_NODE (id=0): Total=393.15 MB Peak=393.15 MB There's one specific regression that I'm aware of that affected Avro scans: https://issues.apache.org/jira/browse/IMPALA-7078. The fix is in 5.15.1 and 5.15.2. I don't know the file format but thought I'd flag that. The IMPALA-7078 fix actually had a few tweaks that would benefit all file formats too. So I'd suggest: Give the queries a bit more memory - in practice we've seen 2GB be a lot better with a wider variety of queries in CDH5.x. 1GB is a bit squeezy for a query with 49 operators. Pick up the 5.15.2 or 5.16.2 maintenance releases to get the fix for IMPALA-7078 - that may be enough to solve the problem. Look at CDH6.1, it does address a bunch of issues in this area more systematically - it moves the scan operations to use a much more robust memory throttling/reservation system (I spent a bunch of time last year working on problems in this general area). 1 GB might just not be enough to run a query with that many operators on the version of Impala that you're running.
... View more
10-17-2018
04:50 PM
This didn't work. I tested a query with 10,250 characters after making the change and restarting the service, but the query was still truncated at the exact same spot. Are there any alternatives or other ways to fix this?
... View more
07-16-2018
12:17 PM
1 Kudo
@willschlemmel, Please have a look at the thread here where we discuss how the API works with impala queries: http://community.cloudera.com/t5/Cloudera-Manager-Installation/CM-API-Maximum-number-of-requests/m-p/67802/highlight/true#M13943 Check to see if you have "warnings" returned in your result and if it contains a timestamp. Also, please show us more about your problem... you said "I cannot obtain any queries from dates earlier...." How do you know this? What do you observe exactly?
... View more