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

Unable to get the SparkEnv.get.metricsSystem on Spark Shell

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: Spark Core, Spark Shell
    • Labels:
    • Environment:

      Using Scala version 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_144)

      Description

      Open a Spark Shell in local or on Stand alone Cluster

       

      scala> import org.apache.spark.SparkEnv
      import org.apache.spark.SparkEnv

      scala> SparkEnv.get.metricsSystem
      error: missing or invalid dependency detected while loading class file 'MetricsSystem.class'.
      Could not access term eclipse in package org,
      because it (or its dependencies) are missing. Check your build definition for
      missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
      A full rebuild may help if 'MetricsSystem.class' was compiled against an incompatible version of org.
      error: missing or invalid dependency detected while loading class file 'MetricsSystem.class'.
      Could not access term jetty in value org.eclipse,
      because it (or its dependencies) are missing. Check your build definition for
      missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
      A full rebuild may help if 'MetricsSystem.class' was compiled against an incompatible version of org.eclipse.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sr.praneeth@gmail.com Praneeth Ramesh
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: