Run the bad query multiple times.
Prior to each run, remove the first character of the like string.
Stop when the query no longer kills drill.
If the condition here, then, that would SEEM to mean that the problem is
in parsing the query.
If that doesn't work, change the 2nd query to = '%' limit 10;
If that doesn't work, change the limit from 10 to 1.
If either of the above changes causes the condition to resolve, then, that
would seem to mean that the problem is in opening, reading and parsing one
of the text files.
Do you have a way to validate the formatting of the text files?
You could also check that there isn't an invalid / unopenable gzip file.
We used to have a problem with another product where tons and tons of gzip
files would be involved. If only 1 of the files was unopenable, our query
would die. Sorry, I don't recall the formatting the command, but, we
would just run a bash oneliner upon the involved directories.
On 3/4/16, 4:46 AM, "Assaf Lowenstein" wrote:
>Hello Drillers!
>My Drill setup is very simple, querying static gz files that hold jsons.
>Everything was running smooth but we're now seeing what seems to be a
>crash
>with a very simple query. here are the details.
>
>This query works
>*select `column1`, column2, myTable.`user`, column3 from dfs.drill.myTable
>limit 10;*
>
>but this one crashes drill for some reason:
>*select `column1 `, column2, myTable.`user`, column3 from
>dfs.drill. myTable where myTable.`user` = 'some--u...@hotmail.com
>' limit 10;*
>
>I'm using web UI and in console I simply see -
>[..]
>0: jdbc:drill:zk=local> SLF4J: Failed to load class
>"org.slf4j.impl.StaticLoggerBinder".
>SLF4J: Defaulting to no-operation (NOP) logger implementation
>SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
>details.
>*Killed*
>[..]
>and prompt returns at this stage and I need to restart drill.
>
>Am I doing anything wrong? missing anything?
>Thanks!
>
>Assaf