Options

"Error while running RapidMiner through command line in Ubuntu"

MandarMandar Member Posts: 8 Contributor II
edited June 2019 in Help
Hi All,

I am trying to run RM through command line in linux using the following command:

rapidminer //LocalRepository/ProcessName

I have a Read Database operator which collects data from the local database. However, while running the process through command line
it gives me the following error.

SEVERE: Process failed: operator cannot be executed (Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.NoSuchMethodError: com.rapidminer.operator.Annotations.clone()Lcom/rapidminer/operator/Annotations;. Cause: java.lang.NoSuchMethodError: com.rapidminer.operator.Annotations.clone()Lcom/rapidminer/operator/Annotations;.). Check the log messages...
java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.NoSuchMethodError: com.rapidminer.operator.Annotations.clone()Lcom/rapidminer/operator/Annotations;. Cause: java.lang.NoSuchMethodError: com.rapidminer.operator.Annotations.clone()Lcom/rapidminer/operator/Annotations;.
at com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:375)
at com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:76)
at com.rapidminer.operator.AbstractExampleSetProcessing.doWork(AbstractExampleSetProcessing.java:113)
at com.rapidminer.operator.Operator.execute(Operator.java:834)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:711)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:379)
at com.rapidminer.operator.Operator.execute(Operator.java:834)
at com.rapidminer.Process.run(Process.java:925)
at com.rapidminer.Process.run(Process.java:848)
at com.rapidminer.Process.run(Process.java:807)
at com.rapidminer.Process.run(Process.java:802)
at com.rapidminer.Process.run(Process.java:792)
at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:159)
at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:196)

Jul 24, 2013 2:16:07 PM com.rapidminer.RapidMinerCommandLine run
SEVERE: Here:           Process[1] (Process)
          subprocess 'Main Process'
            +- Read Database[1] (Read Database)
      ==>   +- Generate Attributes[1] (Generate Attributes)
            +- Select Attributes[0] (Select Attributes)

I ran this process using the GUI and it work perfectly.
I think there is something I am missing while running the command line interface but I am unable to figure it out.
I have set the PATH, RAPIDMINER_HOME and MAX_JAVA_MEMORY variables as described in http://rapid-i.com/rapidforum/index.php?topic=13.0

Suggestions are welcome  :)

Thank you,
Mandar

Answers

  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hi Mandar,

    sorry for the long delay. Do you still have this problem in the latest version? RapidMiner 6 has just been released.

    Best regards,
    Marius
Sign In or Register to comment.