Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31043

Spark 3.0 built against hadoop2.7 can't start standalone master

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Build
    • Labels:
      None

      Description

      trying to start a standalone master when building spark branch 3.0 with hadoop2.7 fails with:

       
      Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at
      java.net
      .URLClassLoader.defineClass(URLClassLoader.java:468)
      at
      java.net
      .URLClassLoader.access$100(URLClassLoader.java:74)
      at
      java.net
      .URLClassLoader$1.run(URLClassLoader.java:369)
      ...
      Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal
      at
      java.net
      .URLClassLoader.findClass(URLClassLoader.java:382)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
      ... 42 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tgraves Thomas Graves
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: