Options

MySQLIntegrityConstraintViolationException while saving output

ypalrechaypalrecha Member Posts: 3 Contributor I
edited November 2018 in Help

Trying to run a process on rapidanalytics and got error while saving the output. Has anyone come across such an error before? Thanks for the help in advance.

/Process/ApplyModel
com.rapidminer.operator.UserError: Cannot store data in repository at entry '//_LOCAL/Process/1'. Reason: Cannot store example set in database as es_36: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Title' for key 1.

Answers

  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Is the repository "//_LOCAL" a local repository on your local machine? Then the RapidAnalytics server obviously cannot access it, since it's accessible only from your local RapidMiner instance. Are you using a "Store" operator? Then try to use relative paths instead of absolute paths. If your process is e.g. stored in "//MyRapidAnalyticsRepository/path/to/process/processName" and you enter "../data/myData" as location in the Apply operator, then the result will be stored in "//MyRapidAnalyticsRepository/path/to/data/myData".

    Best, Marius
Sign In or Register to comment.