Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
[SOLVED] file not found :: for read model operator when hosted in server
Hello,
I am exposing a process as a JSON webservice. (which works pretty nice)
This process uses a model file as input for the apply model operator by means of using the read model operator.
The error I am getting is that it cannot find the model file even though it is listed in the users repository.
Could not read file '/home/anonymous/xx.mod': java.io.FileNotFoundException: /home/anonymous/xx.mod (No such file or directory)."}}
Is there anyplace I can start looking for what this issue might be?
Any guidance is much appreciated.
Best regards
Paul
I am exposing a process as a JSON webservice. (which works pretty nice)
This process uses a model file as input for the apply model operator by means of using the read model operator.
The error I am getting is that it cannot find the model file even though it is listed in the users repository.
Could not read file '/home/anonymous/xx.mod': java.io.FileNotFoundException: /home/anonymous/xx.mod (No such file or directory)."}}
Is there anyplace I can start looking for what this issue might be?
Any guidance is much appreciated.
Best regards
Paul
Tagged:
0
Answers
(The Read Model operator reads from a disk location).
If your model is stored in the RapidMiner repository you can use the Retrieve operator to use in the process.
Does that help?
which user is using the webservice? If it is anomynous you need to give read rights.
Cheers,
Martin
Dortmund, Germany
Thanks for the tip!
p.s. what is the recommended way? Using retrieve or read.
Dortmund, Germany