arina-ielchiieva commented on issue #1331: DRILL-6519: Add String Distance and 
Phonetic Functions
URL: https://github.com/apache/drill/pull/1331#issuecomment-402465726
 
 
   @cgivre the following test has failed:
   ```
   04:58:58.570 [main] ERROR org.apache.drill.TestReporter - Test Failed (d: 0 
B(2 B), h: 11.1 MiB(462.5 MiB), nh: -122.3 KiB(198.7 MiB)): 
testSoundsLike(org.apache.drill.exec.fn.impl.TestPhoneticFunctions)
   java.lang.IndexOutOfBoundsException: DrillBuf[45723], udle: [30229 61..62], 
index: 0, length: 4 (expected: range(0, 1))
   ledger[34623] allocator: ROOT), isOwning: true, size: 64, references: 1, 
life: 19420096047899443..0, allocatorManager: [30228, life: 
19420096047893613..0] holds 5 buffers. 
       DrillBuf[45712], udle: [30229 61..62]
      event log for: DrillBuf[45712]
        19420096048520530 create()
             at org.apache.drill.common.StackTrace.<init>(StackTrace.java:33)
             at 
org.apache.drill.common.HistoricalLog$Event.<init>(HistoricalLog.java:39)
             at 
org.apache.drill.common.HistoricalLog.recordEvent(HistoricalLog.java:95)
             at io.netty.buffer.DrillBuf.<init>(DrillBuf.java:85)
             at 
org.apache.drill.exec.memory.AllocationManager$BufferLedger.newDrillBuf(AllocationManager.java:389)
             at 
org.apache.drill.exec.memory.AllocationManager$BufferLedger.newDrillBuf(AllocationManager.java:368)
             at io.netty.buffer.DrillBuf.slice(DrillBuf.java:342)
             at io.netty.buffer.DrillBuf.slice(DrillBuf.java:317)
             at org.apache.drill.exec.rpc.RpcDecoder.decode(RpcDecoder.java:96)
             at org.apache.drill.exec.rpc.RpcDecoder.decode(RpcDecoder.java:35)
             at 
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:335)
             at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:312)
             at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:286)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:335)
             at 
io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:335)
             at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
             at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
             at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
             at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
             at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
             at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
             at 
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131)
          19420096048701912 retain(1)
             at org.apache.drill.common.StackTrace.<init>(StackTrace.java:33)
             at 
org.apache.drill.common.HistoricalLog$Event.<init>(HistoricalLog.java:39)
             at 
org.apache.drill.common.HistoricalLog.recordEvent(HistoricalLog.java:95)
             at io.netty.buffer.DrillBuf.retain(DrillBuf.java:447)
             at org.apache.drill.exec.rpc.RpcDecoder.decode(RpcDecoder.java:97)
             at org.apache.drill.exec.rpc.RpcDecoder.decode(RpcDecoder.java:35)
             at 
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:335)
             at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:312)
             at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:286)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:335)
             at 
io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:335)
             at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356)
             at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)
             at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
             at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
             at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
             at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
             at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
             at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
             at 
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131)
   ```
   Please make sure you run tests before making PR and after each round of 
changes after code review. Your tests in Slow category so Travis did not run 
them. Since it's UDFs that you are adding, you need build project first and 
them run your unit tests (since they are cached) or run all tests during build 
which I suspect was not done. I had to redo batch commits because of this 
failure :( Now you commit is excluded.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to