Bigtop
  1. Bigtop
  2. BIGTOP-259

Most of the mahout tests can't be executed out-of-the box

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.3.0
    • Component/s: General
    • Labels:
      None

      Description

      Here's what the problem looks like:
      Error: java.lang.ClassNotFoundException: org.apache.mahout.math.Vector

      First the good news: it is fixed upstream: MAHOUT-680. The root cause of the problem is the fact that /usr/lib/mahout/bin/mahout constructs HADOOP_CLASSPATH in such a way that it puts mahout-examples-0.5-job.jar after mahout-core-0.5-job.jar. That trips up job submission code into putting mahout-core-0.5-job.jar into distributed cache instead of mahout-examples-0.5-job.jar (which has the missing class definitions).

      A proposed workaround to sustain us for as long as MAHOUT-680 hasn't been put into any release yet is to manually initialize HADOOP_CLASSPATH with mahout-examples-0.5-job.jar at the level of /usr/bin/mahout. This is ugly but it works.

      1. BIGTOP-259.patch.txt
        0.6 kB
        Roman Shaposhnik

        Activity

        Roman Shaposhnik created issue -
        Roman Shaposhnik made changes -
        Field Original Value New Value
        Attachment BIGTOP-259.patch.txt [ 12503901 ]
        Roman Shaposhnik made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Roman Shaposhnik made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12642360 ] patch-available, re-open possible [ 12665956 ]
        Roman Shaposhnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Roman Shaposhnik
            Reporter:
            Roman Shaposhnik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development