Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2191

Upgrade jackson version for hadoop-2 profile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • 4.2.0
    • None
    • None

    Description

      in hadoop 2, jackson version upgraded to 1.9.13
      https://issues.apache.org/jira/browse/HADOOP-10104

      oozie currently uses 1.8.8 (jackson-mapper-asl, jackson-core-asl), and when both versions mixed, cause the following exception. this patch is to upgrade version to 1.9.13 accordingly for hadoop-2 profile.

      Caused by: java.lang.NoSuchFieldError: EXTERNAL_PROPERTY
              at org.codehaus.jackson.map.introspect.JacksonAnnotationIntrospector._findTypeResolver(JacksonAnnotationIntrospector.java:781) ~[na:na]
              at org.codehaus.jackson.map.introspect.JacksonAnnotationIntrospector.findPropertyTypeResolver(JacksonAnnotationIntrospector.java:214) ~[na:na]
              at org.codehaus.jackson.map.ser.BeanSerializerFactory.findPropertyTypeSerializer(BeanSerializerFactory.java:374) ~[na:na]
              at org.codehaus.jackson.map.ser.BeanSerializerFactory._constructWriter(BeanSerializerFactory.java:778) ~[na:na]
              at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:590) ~[na:na]
              at org.codehaus.jackson.map.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:434) ~[na:na]
              at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:347) ~[na:na]
              at org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:291) ~[na:na]
              at org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:782) ~[na:na]
              at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:735) ~[na:na]
              at org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:344) ~[na:na]
              at org.codehaus.jackson.map.ser.StdSerializerProvider.findTypedValueSerializer(StdSerializerProvider.java:420) ~[na:na]
              at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:601) ~[na:na]
              at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256) ~[na:na]
              at org.codehaus.jackson.map.ObjectMapper._configAndWriteValue(ObjectMapper.java:2575) ~[na:na]
              at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:2065) ~[na:na]
              at org.apache.oozie.util.FixedJsonInstanceSerializer.serialize(FixedJsonInstanceSerializer.java:65) ~[na:na]
              at org.apache.curator.x.discovery.details.ServiceDiscoveryImpl.internalRegisterService(ServiceDiscoveryImpl.java:166) ~[na:na]
              at org.apache.curator.x.discovery.details.ServiceDiscoveryImpl.registerService(ServiceDiscoveryImpl.java:150) ~[na:na]
              at org.apache.oozie.util.ZKUtils.advertiseService(ZKUtils.java:217) ~[na:na]
              at org.apache.oozie.util.ZKUtils.<init>(ZKUtils.java:141) ~[na:na]
              at org.apache.oozie.util.ZKUtils.register(ZKUtils.java:154) ~[na:na]
              at org.apache.oozie.service.ZKLocksService.init(ZKLocksService.java:70) ~[na:na]
              at org.apache.oozie.service.Services.setServiceInternal(Services.java:386) ~[na:na]
              at org.apache.oozie.service.Services.setService(Services.java:372) ~[na:na]
              at org.apache.oozie.service.Services.loadServices(Services.java:305) ~[na:na]
              at org.apache.oozie.service.Services.init(Services.java:213) ~[na:na]
              at com.yahoo.oozie.servlet.YServicesLoader.contextInitialized(YServicesLoader.java:43) ~[na:na]
      

      Attachments

        1. OOZIE-2191.patch
          2 kB
          Ryota Egashira

        Activity

          People

            egashira Ryota Egashira
            egashira Ryota Egashira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: