Reply
Highlighted
Explorer
Posts: 14
Registered: ‎11-12-2015

Long query statements gettings truncated in CM Rest API

For example:

When calling

http://cloudera-manager:7180/api/v16/clusters/cluster/services/impala/impalaQueries

 

In the result the statement is truncated (it seems to be the first 10000 characters)

E.g: 

 

"queries": [
{
"queryId": "b446afac4b13c585:be59dc2b00000000",
"statement": "xxxx this is TRUNCATED..."

...

}

 

 

This is very inconvient because we have users with really long queries that are only different in the end 

and thus we cannot differentiate them. 

Do you know why is that. And can I file this somewhere as an issue?

Cloudera Employee
Posts: 422
Registered: ‎07-29-2015

Re: Long query statements gettings truncated in CM Rest API

It might be worth asking in the CM section of the forums: http://community.cloudera.com/t5/Cloudera-Manager-Installation/bd-p/CMInstall .

Explorer
Posts: 14
Registered: ‎11-12-2015

Re: Long query statements gettings truncated in CM Rest API