RapidMiner

Problem using the Store Operator to create IO Objects with RapidMiner Server

Regular Contributor

Problem using the Store Operator to create IO Objects with RapidMiner Server

Hello,

I am trying to use the Store operator to create IO objects with scheduled server processes.

I want to store these objects either in the local or server repositories, and use RapidMiner Studio to Retrieve.

No matter what repository entry I specify, it does not seem to work.

The other option is to use CSV files instead - but I am wondering if its possible with Store.

I get the following errors:
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute statement
com.rapidminer.operator.UserError: Cannot store data in repository at entry '//RM_Server/home/admin/Cache/Store1'. Reason: Requested repository RM_Server does not exist..
com.rapidminer.operator.UserError: Cannot store data in repository at entry '//Local Repository/5 - Cache/Store1'. Reason: Requested repository Local Repository does not exist..

Great work with version 7 btw Smiley Happy

Thank you!
6 REPLIES
Moderator

Re: Problem using the Store Operator to create IO Objects with RapidMiner Server

Hi,

the problem you are experiencing is because the repository names are specific to your local Studio instance. So if you try to access //Local Repository/ABC, your Studio instance knows what to do. RM Server however has no idea what you want, it does not share your local repository names. To fix this, simply use relative path names. So if your process is stored in user/admin/process/123, then you can store in the same folder by simply entering "myData" in the Store operator. If you want to navigate upwards in the folder structure of your repository, just add "../" before the name to go one folder up. You can add as many of those as you need to navigate up an arbitrary amount of folders.

Regards,
Marco
_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH
Regular Contributor

Re: Problem using the Store Operator to create IO Objects with RapidMiner Server

Hi Marco,

Thanks for your answer. Unfortunately I've tried that and get the following error:

javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute statement

Best,

Sebastian

Moderator

Re: Problem using the Store Operator to create IO Objects with RapidMiner Server

Hi,

cannot help you unless you provide a link to the full server.log (preferably taken directly after the problem occurred).

Regards,
Marco
_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH
Contributor II

Re: Problem using the Store Operator to create IO Objects with RapidMiner Server

Hi,

 

Even I face the same error when I run my process on server. It uses store operator.Below is the content of the log file generated. Hope it helps to find some input in solving this problem.

 

May 19, 2017 10:45:04 PM com.rapidminer.server.repository.enterprise.EnterpriseIOObjectEntry storeData
INFO: Process context is: Macros: [_ra_user : admin, _ra_jobID : 28]; Input: []; Output: []
May 19, 2017 10:45:04 PM com.rapidminer.server.repository.enterprise.EnterpriseIOObjectEntry storeData
INFO: No filename given for result file, using stdout for logging results!
May 19, 2017 10:45:04 PM com.rapidminer.server.repository.enterprise.EnterpriseIOObjectEntry storeData
INFO: Process //_LOCAL/classifyDocumentTypes.rmp starts
May 19, 2017 10:45:24 PM com.rapidminer.server.repository.enterprise.EnterpriseIOObjectEntry storeData
INFO: Storing ioobject at /apps/Classify
May 19, 2017 10:45:27 PM de.rapidanalytics.execution.AbstractProcessExecutor runProcessNow
SEVERE: Process failed: javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute statement
May 19, 2017 10:45:27 PM <unknown> <unknown>
SEVERE: Here:           Process[1] (Process)
           subprocess 'Main Process'
             +- Process Documents from Files[1] (Process Documents from Files)
           subprocess 'Vector Creation'
             |     +- Tokenize[252] (Tokenize)
             |     +- Filter Stopwords (English)[252] (Filter Stopwords (English))
             |     +- Stem (Snowball)[252] (Stem (Snowball))
             |     +- Transform Cases[252] (Transform Cases)
             |     +- Generate n-Grams (Terms)[252] (Generate n-Grams (Terms))
             +- k-NN[1] (k-NN)
             +- Process Documents from Files (2)[1] (Process Documents from Files)
           subprocess 'Vector Creation'
             |     +- Tokenize (2)[28] (Tokenize)
             |     +- Filter Stopwords (2)[28] (Filter Stopwords (English))
             |     +- Stem (2)[28] (Stem (Snowball))
             |     +- Transform Cases (2)[28] (Transform Cases)
             |     +- Generate n-Grams (2)[28] (Generate n-Grams (Terms))
             +- Apply Model[1] (Apply Model)
       ==>   +- Store[1] (Store)

Marco_Boeck wrote:
Hi,

cannot help you unless you provide a link to the full server.log (preferably taken directly after the problem occurred).

Regards,
Marco
 
Contributor II

Re: Problem using the Store Operator to create IO Objects with RapidMiner Server

Hi,

 

 

Please find attached the server log when the process is run on rapid miner server with store operator. 
The repository name parameter for store operator is : "NewRepository/home/admin/classifyDocumentTypes".

 

 

 

Attachments

RMStaff

Re: Problem using the Store Operator to create IO Objects with RapidMiner Server

Hi vipul_kumar,

 

you may find all you need in this new Knowledge Base article.

 

Best regards,

Edin