You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Shivaji Dutta <sd...@hortonworks.com> on 2014/09/10 10:23:16 UTC

Error with Slider -Memcached - ca.config does not seem to be generated

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 SslSelectChannelConnector@0.0.0.0:0: java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or directory)
14/09/07 23:20:33 WARN mortbay.log: failed SslSelectChannelConnector@0.0.0.0: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.

Re: Error with Slider -Memcached - ca.config does not seem to be generated

Posted by Sumit Mohanty <sm...@hortonworks.com>.
Does not look like the memcached daemons started. We need to take a look at
the logs.

On Wed, Sep 10, 2014 at 12:28 PM, Shivaji Dutta <sd...@hortonworks.com>
wrote:

> {"configurations":{"complete-config":{"description":"Complete slider application settings","entries":{},"empty":true,"updated":0},"hdfs-site":{"description":"HDFS site settings","entries":{},"empty":true,"updated":0},"yarn-site":{"description":"YARN site settings","entries":{},"empty":true,"updated":0},"core-site":{"description":"Core site settings","entries":{},"empty":true,"updated":0}}}
>
>
> On Sep 10, 2014, at 12:27 PM, Sumit Mohanty <sm...@hortonworks.com>
> wrote:
>
> What do you see at
> http://172.16.154.145:35399/ws/v1/slider/publisher/slider ?
>
> Its one level deeper.
>
> On Wed, Sep 10, 2014 at 12:09 PM, Shivaji Dutta <sd...@hortonworks.com>
> wrote:
>
>> Thanks for the quick response. I was able to delete and re-fun the
>> example. It is running
>>
>> Now it is running but I cannot see the jmemcached container in the
>> publisher url
>> http://172.16.154.145:35399/ws/v1/slider/publisher
>>
>> {"uris":{"slider":"http://172.16.154.145:35399/ws/v1/slider/publisher/slider"}}
>>
>>
>> Any ideas what may be happening?
>>
>> Shivaji
>>
>>
>> On Sep 10, 2014, at 6:30 AM, Jon Maron <jm...@hortonworks.com> wrote:
>>
>> In this instance you could probably simply delete the /tmp/work directory
>> and restart.  A fix for this issue was recently committed (sorry - I don’t
>> recall the exact commit id/date)
>>
>> — Jon
>>
>> On Sep 10, 2014, at 4:23 AM, Shivaji Dutta <sd...@hortonworks.com>
>> wrote:
>>
>> 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
>> SslSelectChannelConnector@0.0.0.0:0: java.io.FileNotFoundException:
>> /tmp/work/security/keystore.p12 (No such file or directory)
>> 14/09/07 23:20:33 WARN mortbay.log: failed
>> SslSelectChannelConnector@0.0.0.0: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.
>>
>>
>>
>> --
>> 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.
>>
>>
>>
>
>

-- 
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.

Re: Error with Slider -Memcached - ca.config does not seem to be generated

Posted by Shivaji Dutta <sd...@hortonworks.com>.
{"configurations":{"complete-config":{"description":"Complete slider application settings","entries":{},"empty":true,"updated":0},"hdfs-site":{"description":"HDFS site settings","entries":{},"empty":true,"updated":0},"yarn-site":{"description":"YARN site settings","entries":{},"empty":true,"updated":0},"core-site":{"description":"Core site settings","entries":{},"empty":true,"updated":0}}}

On Sep 10, 2014, at 12:27 PM, Sumit Mohanty <sm...@hortonworks.com> wrote:

> What do you see at http://172.16.154.145:35399/ws/v1/slider/publisher/slider ?
> 
> Its one level deeper.
> 
> On Wed, Sep 10, 2014 at 12:09 PM, Shivaji Dutta <sd...@hortonworks.com> wrote:
> Thanks for the quick response. I was able to delete and re-fun the example. It is running
> 
> Now it is running but I cannot see the jmemcached container in the publisher url
> http://172.16.154.145:35399/ws/v1/slider/publisher
> {"uris":{"slider":"http://172.16.154.145:35399/ws/v1/slider/publisher/slider"}}
> 
> Any ideas what may be happening?
> 
> Shivaji
> 
> 
> On Sep 10, 2014, at 6:30 AM, Jon Maron <jm...@hortonworks.com> wrote:
> 
>> In this instance you could probably simply delete the /tmp/work directory and restart.  A fix for this issue was recently committed (sorry - I don’t recall the exact commit id/date)
>> 
>> — Jon
>> 
>> On Sep 10, 2014, at 4:23 AM, Shivaji Dutta <sd...@hortonworks.com> wrote:
>> 
>>> 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 SslSelectChannelConnector@0.0.0.0:0: java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or directory)
>>> 14/09/07 23:20:33 WARN mortbay.log: failed SslSelectChannelConnector@0.0.0.0: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.
>> 
>> 
>> -- 
>> 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.
> 
> 


-- 
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.

Re: Error with Slider -Memcached - ca.config does not seem to be generated

Posted by Sumit Mohanty <sm...@hortonworks.com>.
What do you see at http://172.16.154.145:35399/ws/v1/slider/publisher/slider
 ?

Its one level deeper.

On Wed, Sep 10, 2014 at 12:09 PM, Shivaji Dutta <sd...@hortonworks.com>
wrote:

> Thanks for the quick response. I was able to delete and re-fun the
> example. It is running
>
> Now it is running but I cannot see the jmemcached container in the
> publisher url
> http://172.16.154.145:35399/ws/v1/slider/publisher
>
> {"uris":{"slider":"http://172.16.154.145:35399/ws/v1/slider/publisher/slider"}}
>
>
> Any ideas what may be happening?
>
> Shivaji
>
>
> On Sep 10, 2014, at 6:30 AM, Jon Maron <jm...@hortonworks.com> wrote:
>
> In this instance you could probably simply delete the /tmp/work directory
> and restart.  A fix for this issue was recently committed (sorry - I don’t
> recall the exact commit id/date)
>
> — Jon
>
> On Sep 10, 2014, at 4:23 AM, Shivaji Dutta <sd...@hortonworks.com> wrote:
>
> 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
> SslSelectChannelConnector@0.0.0.0:0: java.io.FileNotFoundException:
> /tmp/work/security/keystore.p12 (No such file or directory)
> 14/09/07 23:20:33 WARN mortbay.log: failed
> SslSelectChannelConnector@0.0.0.0: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.
>
>
>
> --
> 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.
>
>
>

-- 
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.

Re: Error with Slider -Memcached - ca.config does not seem to be generated

Posted by Shivaji Dutta <sd...@hortonworks.com>.
Thanks for the quick response. I was able to delete and re-fun the example. It is running

Now it is running but I cannot see the jmemcached container in the publisher url
http://172.16.154.145:35399/ws/v1/slider/publisher
{"uris":{"slider":"http://172.16.154.145:35399/ws/v1/slider/publisher/slider"}}

Any ideas what may be happening?

Shivaji


On Sep 10, 2014, at 6:30 AM, Jon Maron <jm...@hortonworks.com> wrote:

> In this instance you could probably simply delete the /tmp/work directory and restart.  A fix for this issue was recently committed (sorry - I don’t recall the exact commit id/date)
> 
> — Jon
> 
> On Sep 10, 2014, at 4:23 AM, Shivaji Dutta <sd...@hortonworks.com> wrote:
> 
>> 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 SslSelectChannelConnector@0.0.0.0:0: java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or directory)
>> 14/09/07 23:20:33 WARN mortbay.log: failed SslSelectChannelConnector@0.0.0.0: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.
> 
> 
> -- 
> 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.


-- 
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.

Re: Error with Slider -Memcached - ca.config does not seem to be generated

Posted by Jon Maron <jm...@hortonworks.com>.
In this instance you could probably simply delete the /tmp/work directory and restart.  A fix for this issue was recently committed (sorry - I don’t recall the exact commit id/date)

— Jon

On Sep 10, 2014, at 4:23 AM, Shivaji Dutta <sd...@hortonworks.com> wrote:

> 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 SslSelectChannelConnector@0.0.0.0:0: java.io.FileNotFoundException: /tmp/work/security/keystore.p12 (No such file or directory)
> 14/09/07 23:20:33 WARN mortbay.log: failed SslSelectChannelConnector@0.0.0.0: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.


-- 
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.