[
https://issues.apache.org/jira/browse/CRUNCH-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422912#comment-13422912
]
Rahul Sharma commented on CRUNCH-4:
-----------------------------------
The hadoop 1.0.3 profile prints a few stack traces like ( output from
WordCountHBaseIT test) :
2940 [main] WARN org.apache.hadoop.metrics2.util.MBeans -
Hadoop:service=DataNode,name=MetricsSystem,sub=Control
javax.management.InstanceAlreadyExistsException: MXBean already registered with
name Hadoop:service=NameNode,name=MetricsSystem,sub=Control
at
com.sun.jmx.mbeanserver.MXBeanLookup.addReference(MXBeanLookup.java:120)
at
com.sun.jmx.mbeanserver.MXBeanSupport.register(MXBeanSupport.java:143)
at
com.sun.jmx.mbeanserver.MBeanSupport.preRegister2(MBeanSupport.java:183)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:941)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
WARN org.apache.hadoop.metrics2.util.MBeans -
Hadoop:service=DataNode,name=DataNodeInfo
javax.management.InstanceNotFoundException:
Hadoop:service=DataNode,name=DataNodeInfo
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
But these all are warning and are listed in HBASE-4709 issue, which is yet to
be fixed. I think in future we need to spend some time in fixing them.
> Create profiles for Crunch builds based on Hadoop 1.0 and Hadoop 2.0
> --------------------------------------------------------------------
>
> Key: CRUNCH-4
> URL: https://issues.apache.org/jira/browse/CRUNCH-4
> Project: Crunch
> Issue Type: Task
> Components: Core
> Reporter: Josh Wills
> Assignee: Rahul Sharma
> Labels: maven, newbie
> Attachments:
> 0001-CRUNCH-4-Profiles-for-hadoop-0.20-and-2.0-versions.patch,
> 0001-Created-profiles-for-CDH3-hbase-.90.6-and-hadoop2-hb.patch,
> CRUNCH-4-Profiles-for-hadoop-verions.patch
>
>
> We need to create two Maven build profiles for Crunch, one that depends on
> Hadoop 1.0 (probably 1.0.3 for Hadoop and 0.90.5 for HBase) and Hadoop 2.0
> (2.0.0-alpha for Hadoop and a stable 0.92.x for HBase.)
> Reference:
> http://maven.apache.org/guides/introduction/introduction-to-profiles.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira