You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@impala.apache.org by Thoralf Gutierrez <th...@gmail.com> on 2017/10/23 19:33:13 UTC

Lifetime of query details in the impalad web server

Hello everybody,

We think the impalad web server has invaluable information for our users to
analyze their queries as they are being executed, such as the query plan on
pages like
http://impala:25000/query_plan?query_id=e5421fea0f478563:3cffcc5200000000

Unfortunately, these pages seem to be very ephemeral for us. After a couple
of minutes, trying to visit that page returns the error "Error: Unknown
query id: e5421fea0f478563:3cffcc5200000000"

Does someone know of a way to increase the lifetime of these pages?

Thanks for your help,
Thoralf

Re: Lifetime of query details in the impalad web server

Posted by Thoralf Gutierrez <th...@gmail.com>.
Thank you!

On Mon, 23 Oct 2017 at 12:46 Henry Robinson <he...@apache.org> wrote:

> The flag --query_log_size controls the number of query profiles that are
> retained. By default it's 25. There is no time-based retention policy for
> profiles.
>
> Henry
>
> On 23 October 2017 at 12:33, Thoralf Gutierrez <thoralfgutierrez@gmail.com
> > wrote:
>
>> Hello everybody,
>>
>> We think the impalad web server has invaluable information for our users
>> to analyze their queries as they are being executed, such as the query plan
>> on pages like
>> http://impala:25000/query_plan?query_id=e5421fea0f478563:3cffcc5200000000
>>
>> Unfortunately, these pages seem to be very ephemeral for us. After a
>> couple of minutes, trying to visit that page returns the error "Error:
>> Unknown query id: e5421fea0f478563:3cffcc5200000000"
>>
>> Does someone know of a way to increase the lifetime of these pages?
>>
>> Thanks for your help,
>> Thoralf
>>
>
>

Re: Lifetime of query details in the impalad web server

Posted by Henry Robinson <he...@apache.org>.
The flag --query_log_size controls the number of query profiles that are
retained. By default it's 25. There is no time-based retention policy for
profiles.

Henry

On 23 October 2017 at 12:33, Thoralf Gutierrez <th...@gmail.com>
wrote:

> Hello everybody,
>
> We think the impalad web server has invaluable information for our users
> to analyze their queries as they are being executed, such as the query plan
> on pages like http://impala:25000/query_plan?query_id=e5421fea0f478563:
> 3cffcc5200000000
>
> Unfortunately, these pages seem to be very ephemeral for us. After a
> couple of minutes, trying to visit that page returns the error "Error:
> Unknown query id: e5421fea0f478563:3cffcc5200000000"
>
> Does someone know of a way to increase the lifetime of these pages?
>
> Thanks for your help,
> Thoralf
>