🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

RM through command line

User: "studhadoop"
New Altair Community Member
Updated by Jocelyn
hai ,

I am running rapidminer in my root (mac)
i am able to run my process through commandline from root.

Stud-2:rapidminer root# ./scripts/rapidminer //GraphRepo/Processes/clsperf

my process is within root (where rapidminer is installed)
Now i need to execute this process from Stud-2:~ stud$ by giving root permission

so far what i did is
1.able to execute a process as command line from root
2.so i wrote a shell script runasroot.sh  
   vi runasroot.sh
           sudo -s './runrapid.sh'

3 and in runrapid.sh
  vi runrapid.sh
            cd var/root/rapidminer
            ./scripts/rapidminer //GraphRepo/Processes/clsperf

4.then i did ./runasroot.sh
           showing
                     WARNING: Unable to create user home rapidminer directory /Users/stud/.RapidMiner5
                     java.io.FileNotFoundException: /Users/amrita/.RapidMiner5/cipher.key (No such file or directory)
                    com.rapidminer.tools.cipher.KeyGenerationException: Cannot store key: /Users/amrita/.RapidMiner5/cipher.key (No such file or directory)
                   java.io.IOException: Cannot locate entry '//GraphRepo/Processes/clsperf': com.rapidminer.repository.RepositoryException: Requested repository GraphRepo does not exist.
                   Caused by: com.rapidminer.repository.RepositoryException: Requested repository GraphRepo does not exist

why is it so .
actually when i am doing sudo -s command ,it is running as root ,right?. so it is already creating /var/root/.RapidMiner5
i also given stud the privilege to access root without password

i ran runrapid.sh in root successfully
what is the problem

Find more posts tagged with

Comments

No comments on this post.