[ 
https://issues.apache.org/jira/browse/DRILL-6970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800388#comment-16800388
 ] 

ASF GitHub Bot commented on DRILL-6970:
---------------------------------------

cgivre commented on issue #1649: DRILL-6970: Issue with LogRegex format plugin 
where drillbuf was overflowing 
URL: https://github.com/apache/drill/pull/1649#issuecomment-476047674
 
 
   I couldn't execute the code on my machine because the PR needs a rebase.  
The code looks good however.  I would like to actually run the unit test. 
   
   @jcmcote please rebase, and squash all commits.  Here are instructions on 
squashing commits: (https://gist.github.com/patik/b8a9dc5cd356f9f6f980) 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Issue with LogRegex format plugin where drillbuf was overflowing 
> -----------------------------------------------------------------
>
>                 Key: DRILL-6970
>                 URL: https://issues.apache.org/jira/browse/DRILL-6970
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.15.0
>            Reporter: jean-claude
>            Assignee: jean-claude
>            Priority: Major
>             Fix For: 1.16.0
>
>
> The log format plugin does re-allocate the drillbuf when it fills up. You can 
> query small log files but larger ones will fail with this error:
> 0: jdbc:drill:zk=local> select * from dfs.root.`/prog/test.log`;
> Error: INTERNAL_ERROR ERROR: index: 32724, length: 108 (expected: range(0, 
> 32768))
> Fragment 0:0
> Please, refer to logs for more information.
>  
> I'm running drill-embeded. The log storage plugin is configured like so
> {code:java}
> "log": {
> "type": "logRegex",
> "regex": "(.+)",
> "extension": "log",
> "maxErrors": 10,
> "schema": [
> {
> "fieldName": "line"
> }
> ]
> },
> {code}
> The log files is very simple
> {code:java}
> jdsaljfldaksjfldsajfldasjflkjdsfldsjfljsdalfk
> jdsaljfldaksjfldsajfldasjflkjdsfldsjfljsdalfk
> jdsaljfldaksjfldsajfldasjflkjdsfldsjfljsdalfk
> jdsaljfldaksjfldsajfldasjflkjdsfldsjfljsdalfk
> jdsaljfldaksjfldsajfldasjflkjdsfldsjfljsdalfk
> jdsaljfldaksjfldsajfldasjflkjdsfldsjfljsdalfk
> ...{code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to