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

Bryan Cutler commented on ARROW-4180:
-------------------------------------

[~wesmckinn] after ARROW-2815, I recommended adding these to mvn commands:

{code}mvn --quiet 
-Dlogback.configurationFile=file:${ARROW_HOME}/java/dev/logback.xml{code}

That will get rid of almost everything except to show errors/warnings. Want me 
to update CI for this?

> [Java] Reduce verbose logging of ArrowBuf creation events?
> ----------------------------------------------------------
>
>                 Key: ARROW-4180
>                 URL: https://issues.apache.org/jira/browse/ARROW-4180
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.13.0
>
>
> This seems new
> {code}
> 11:58:31.298 [main] DEBUG io.netty.buffer.ArrowBuf - event log for: 
> ArrowBuf[481]
>   291015672771 create()
>     at org.apache.arrow.memory.util.StackTrace.<init>(StackTrace.java:34)
>     at 
> org.apache.arrow.memory.util.HistoricalLog$Event.<init>(HistoricalLog.java:175)
>     at 
> org.apache.arrow.memory.util.HistoricalLog.recordEvent(HistoricalLog.java:83)
>     at io.netty.buffer.ArrowBuf.<init>(ArrowBuf.java:84)
>     at 
> org.apache.arrow.memory.AllocationManager$BufferLedger.newArrowBuf(AllocationManager.java:375)
>     at 
> org.apache.arrow.memory.AllocationManager$BufferLedger.newArrowBuf(AllocationManager.java:355)
>     at io.netty.buffer.ArrowBuf.slice(ArrowBuf.java:374)
>     at 
> org.apache.arrow.vector.BaseFixedWidthVector.allocateBytes(BaseFixedWidthVector.java:349)
>     at 
> org.apache.arrow.vector.BaseFixedWidthVector.allocateNewSafe(BaseFixedWidthVector.java:281)
>     at 
> org.apache.arrow.vector.BaseFixedWidthVector.allocateNew(BaseFixedWidthVector.java:255)
>     at 
> org.apache.arrow.vector.TestValueVector.testNullableFixedType1(TestValueVector.java:465)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>     at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>     at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>     at 
> mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.executeTestMethod(JUnit4TestRunnerDecorator.java:162)
>     at 
> mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.invokeExplosively(JUnit4TestRunnerDecorator.java:71)
>     at 
> mockit.integration.junit4.internal.MockFrameworkMethod.invokeExplosively(MockFrameworkMethod.java:37)
>     at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:-1)
>     at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>     at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>     at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
>     at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
>     at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
>     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
>     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
>     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
>     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
>     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>     at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
>     at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
>     291015862387 retain(1)
>     at org.apache.arrow.memory.util.StackTrace.<init>(StackTrace.java:34)
>     at 
> org.apache.arrow.memory.util.HistoricalLog$Event.<init>(HistoricalLog.java:175)
>     at 
> org.apache.arrow.memory.util.HistoricalLog.recordEvent(HistoricalLog.java:83)
>     at io.netty.buffer.ArrowBuf.retain(ArrowBuf.java:479)
>     at io.netty.buffer.ArrowBuf.retain(ArrowBuf.java:489)
>     at 
> org.apache.arrow.vector.BaseFixedWidthVector.allocateBytes(BaseFixedWidthVector.java:350)
>     at 
> org.apache.arrow.vector.BaseFixedWidthVector.allocateNewSafe(BaseFixedWidthVector.java:281)
>     at 
> org.apache.arrow.vector.BaseFixedWidthVector.allocateNew(BaseFixedWidthVector.java:255)
>     at 
> org.apache.arrow.vector.TestValueVector.testNullableFixedType1(TestValueVector.java:465)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>     at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>     at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>     at 
> mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.executeTestMethod(JUnit4TestRunnerDecorator.java:162)
>     at 
> mockit.integration.junit4.internal.JUnit4TestRunnerDecorator.invokeExplosively(JUnit4TestRunnerDecorator.java:71)
>     at 
> mockit.integration.junit4.internal.MockFrameworkMethod.invokeExplosively(MockFrameworkMethod.java:37)
>     at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:-1)
>     at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>     at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>     at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
>     at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
>     at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
>     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
>     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
>     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
>     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
>     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
>     at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>     at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
>     at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
> {code}



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

Reply via email to