Hello All,

I am trying to setup a Memcached instance with slider and when I submit the job 
it fails.

Essentially looks like the ca.config file is not getting generated. Any 
thoughts on what I may be doing wrong?

Shivaji

[root@shivajidemo security]# ls -ltr
total 16
drwx------. 3 yarn hadoop 4096 Aug 28 03:28 db
-rw-r--r--. 1 yarn hadoop   50 Sep  7 23:05 pass.txt
-rw-r--r--. 1 yarn hadoop 3311 Sep  7 23:20 ca.key
-rw-r--r--. 1 yarn hadoop 1647 Sep  7 23:20 ca.csr



http://mail-archives.apache.org/mod_mbox/incubator-slider-dev/201407.mbox/%3CJIRA.12729067.1406082077987.27102.1406096918325@arcas%3E


14/09/07 23:20:27 INFO security.CertificateManager: Generation of server 
certificate
14/09/07 23:20:29 INFO security.SecurityUtils: Command openssl genrsa -des3 
-passout pass:**** -out /tmp/work/security/ca.key 4096  was finished with exit 
code: 0 - the operation was completed successfully.
14/09/07 23:20:29 INFO security.SecurityUtils: Command openssl req -passin 
pass:**** -new -key /tmp/work/security/ca.key -out /tmp/work/security/ca.csr 
-batch was finished with exit code: 0 - the operation was completed 
successfully.
14/09/07 23:20:29 WARN security.SecurityUtils: Command open**** ca 
-create_serial -out /tmp/work/security/ca.crt -days 365 -keyfile 
/tmp/work/security/ca.key 
-key uIUzmK27I0QordSPjMnNMRLGhMawoAQDuarijQFvFJuA487TVX -selfsign -extensions 
jdk7_ca -config /tmp/work/security/ca.config -batch -infiles 
/tmp/work/security/ca.csr was finished with exit code: 1 - an error occurred 
parsing the command options.
14/09/07 23:20:29 WARN security.SecurityUtils: Command openssl pkcs12 -export 
-in /tmp/work/security/ca.crt -inkey /tmp/work/security/ca.key -certfile 
/tmp/work/security/ca.crt -out /tmp/work/security/keystore.p12 -password 
pass:**** -passin pass:**** 

Sep 07, 2014 11:20:30 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
14/09/07 23:20:33 WARN mortbay.log: failed [email protected]:0: 
java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or 
directory)
14/09/07 23:20:33 WARN mortbay.log: failed [email protected]:0: 
java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or 
directory)
14/09/07 23:20:33 WARN mortbay.log: failed Server@38247deb: 
org.mortbay.util.MultiException[java.io.FileNotFoundException: 
/tmp/work/security/keystore.p12 (No such file or directory), 
java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or 
directory)]
14/09/07 23:20:33 ERROR agent.AgentWebApp: Unable to start agent server
org.mortbay.util.MultiException[java.io.FileNotFoundException: 
/tmp/work/security/keystore.p12 (No such file or directory), 
java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or 
directory)]
        at org.mortbay.jetty.Server.doStart(Server.java:188)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at 
org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:102)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:755)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:605)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:421)
        at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:474)
        at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:405)
        at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:629)
        at 
org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1613)
java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or 
directory)


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to