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

bin/mahout throws NoClassDefFoundError: org/apache/hadoop/util/ProgramDriver

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: CLI
    • Labels:
      None
    • Environment:

      Ubuntu 12.04

      Description

      bin/mahout throws NoClassDefFoundError: org/apache/hadoop/util/ProgramDriver

      I think this is due to line 224
      CLASSPATH="$

      {CLASSPATH}:${MAHOUT_HOME/lib/hadoop/*}"

      I fix the issue by moving the closing brace
      CLASSPATH="${CLASSPATH}

      :$

      {MAHOUT_HOME}

      /lib/hadoop/*"

        Activity

        Hide
        srowen Sean Owen added a comment -

        Yep, obvious error – fixed it.

        Show
        srowen Sean Owen added a comment - Yep, obvious error – fixed it.
        Hide
        hudson Hudson added a comment -

        Integrated in Mahout-Quality #1580 (See https://builds.apache.org/job/Mahout-Quality/1580/)
        MAHOUT-1044 Fix bad variable expansion in CLASSPATH (Revision 1360362)

        Result = SUCCESS
        srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1360362
        Files :

        • /mahout/trunk/bin/mahout
        Show
        hudson Hudson added a comment - Integrated in Mahout-Quality #1580 (See https://builds.apache.org/job/Mahout-Quality/1580/ ) MAHOUT-1044 Fix bad variable expansion in CLASSPATH (Revision 1360362) Result = SUCCESS srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1360362 Files : /mahout/trunk/bin/mahout

          People

          • Assignee:
            srowen Sean Owen
            Reporter:
            yamo Yann Moisan
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development