Mahout
  1. Mahout
  2. MAHOUT-714

CollocDriver not runnable with ToolRunner due to private Constructor

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: Clustering
    • Labels:
      None

      Description

      I noticed that CollocDriver has a private Constructor, which means that I can't run it via ToolRunner

      Configuration configuration = ...
      String[] collocArgs = ...

      ToolRunner.run(configuration, new CollocDriver(), args);

      1. MAHOUT-714.patch
        0.6 kB
        Frank Scholten

        Activity

        Hide
        Frank Scholten added a comment -

        Removed private constructor in order to use constructor from Configured

        Show
        Frank Scholten added a comment - Removed private constructor in order to use constructor from Configured
        Hide
        Sean Owen added a comment -

        OK easy.

        Show
        Sean Owen added a comment - OK easy.
        Hide
        Hudson added a comment -

        Integrated in Mahout-Quality #856 (See https://builds.apache.org/hudson/job/Mahout-Quality/856/)
        MAHOUT-714 make CollocDriver public

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

        • /mahout/trunk/core/src/main/java/org/apache/mahout/vectorizer/collocations/llr/CollocDriver.java
        Show
        Hudson added a comment - Integrated in Mahout-Quality #856 (See https://builds.apache.org/hudson/job/Mahout-Quality/856/ ) MAHOUT-714 make CollocDriver public srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1131347 Files : /mahout/trunk/core/src/main/java/org/apache/mahout/vectorizer/collocations/llr/CollocDriver.java

          People

          • Assignee:
            Sean Owen
            Reporter:
            Frank Scholten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development