Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-2332

Tests failing with java.lang.ClassCastException for unmarshal

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: oozie
    • Labels:
    • Environment:

      $ cat /etc/redhat-release
      CentOS Linux release 7.2.1511 (AltArch)

      $ java -version
      openjdk version "1.8.0_161"
      OpenJDK Runtime Environment (build 1.8.0_161-b14)
      OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

      Description

      Error message :

      java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to org.apache.xerces.dom.ElementNSImpl
      at org.apache.falcon.util.OozieUtils.unMarshalSparkAction(OozieUtils.java:138)
      

      The following is the list of tests failing with the above error:

       

      Failed tests:
       OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast com.sun....
       OozieProcessWorkflowBuilderTest.testHiveProcessMapper:283 ? ClassCast com.sun....
       OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 ? ClassCast
       OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithFSInputFeedAndTableOutputFeed:469 ? ClassCast
       OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 ? ClassCast
       OozieProcessWorkflowBuilderTest.testHiveProcessMapperWithTableInputFeedAndFSOutputFeed:523 ? ClassCast
       OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? ClassCast
       OozieProcessWorkflowBuilderTest.testHiveProcessWithNoInputsAndOutputs:573 ? ClassCast
       OozieProcessWorkflowBuilderTest.testSparkProcess:417 ? ClassCast com.sun.org.a...
       OozieProcessWorkflowBuilderTest.testSparkSQLProcess:349 ? ClassCast com.sun.or...
       
      

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Sonia Sonia Garudi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: