Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1546

building spark context fails due to incorrect classpath query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • None
    • 0.10.0
    • None
    • None
    • Spark running locally

    Description

      The classpath retrieval is using a "-spark" flag that returns nothing, using the default "mahout classpath" seems to get all needed jar paths so commenting out the "-spark" makes it work for me. Not sure this is the best fix though.

      This is in def mahoutSparkContext(...)

              //val p = Runtime.getRuntime.exec(Array(exec.getAbsolutePath, "-spark", "classpath"))
              val p = Runtime.getRuntime.exec(Array(exec.getAbsolutePath, "classpath"))
      

      Attachments

        Activity

          People

            dlyubimov Dmitriy Lyubimov
            pferrel Pat Ferrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: