Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume, mail # dev - [VOTE] Release Apache Flume version 1.3.0


Copy link to this message
-
Re: [VOTE] Release Apache Flume version 1.3.0 rc4
Brock Noland 2012-11-19, 20:10
I have created https://issues.apache.org/jira/browse/FLUME-1730 for
the racy test issue.

On Mon, Nov 19, 2012 at 2:06 PM, Brock Noland <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Did you run "testCloseOnIdle" test multiple times or just once? I ran
> it 15 times and it failed once.  To me it looks like a racy test so I
> don't think this is a risk to the release but it'd be great if either
> Juhani or Mike could confirm that.
>
> Regarding the MBean errors, those are errors which show up during
> normal unit tests because mbeans are being registered multiple times.
> While I'd like to get rid of the errors (file channel tests add UUID
> to component name for this purpose) it's not urgent.
>
> Brock
>
> On Mon, Nov 19, 2012 at 1:55 PM, Roshan Naik <[EMAIL PROTECTED]> wrote:
>> Test failure ...
>>
>>  *<testcase time="4.546"
>> classname="org.apache.flume.sink.hdfs.TestHDFSEventSink"
>> name="testCloseOnIdle">*
>>     <failure type="java.lang.AssertionError">java.lang.AssertionError
>>         at org.junit.Assert.fail(Assert.java:92)
>>         at org.junit.Assert.assertTrue(Assert.java:43)
>>         at org.junit.Assert.assertTrue(Assert.java:54)
>>         at
>> org.apache.flume.sink.hdfs.TestHDFSEventSink.testCloseOnIdle(TestHDFSEventSink.java:1036)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>>
>>
>>
>> Also see the below errors in  *test-output.txt files
>>
>> *1) in
>> surefire-reports/org.apache.flume.sink.hdfs.TestHDFSEventSink-output.txt*
>>
>> 2012-11-19 11:31:25,926 (main) [ERROR -
>> org.apache.flume.instrumentation.MonitoredCounterGroup.register(MonitoredCounterGroup.java:92)]
>> Failed to register monitored counter group for type: SINK, name: null
>> javax.management.InstanceAlreadyExistsException:
>> org.apache.flume.sink:type=null
>>         at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
>> ...
>>
>>
>> 2012-11-19 11:31:25,951 (main) [ERROR -
>> org.apache.flume.instrumentation.MonitoredCounterGroup.register(MonitoredCounterGroup.java:92)]
>> Failed to register monitored counter group for type: SINK, name: null
>> javax.management.InstanceAlreadyExistsException:
>> org.apache.flume.sink:type=null
>>         at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
>> ...
>>
>> *3)
>> in surefire-reports/org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster-output.txt
>> *
>>
>> 2012-11-19 11:31:53,213 (main) [ERROR -
>> org.apache.flume.instrumentation.MonitoredCounterGroup.register(MonitoredCounterGroup.java:92)]
>> Failed to register monitored counter group for type: CHANNEL, name:
>> simpleHDFSTest-mem-chan
>> javax.management.InstanceAlreadyExistsException:
>> org.apache.flume.channel:type=simpleHDFSTest-mem-chan
>>         at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)

Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/