Paul Poulosky created STORM-1018:
------------------------------------

             Summary: drpc https with keystore / password fails
                 Key: STORM-1018
                 URL: https://issues.apache.org/jira/browse/STORM-1018
             Project: Apache Storm
          Issue Type: Bug
            Reporter: Paul Poulosky


When running a drpc daemon configured to bring up https on a port with a given 
keystore, the daemon launches, but does not bind to either the http or https 
ports.  There is no indication in the drpc log what, if anything, is failing.

When launching the daemon (unsupervised) I saw a prompt for the jetty keystore 
password, which may be an indication into what is going on.

{noformat}
devicethese-lm:apache-storm-0.11.0-SNAPSHOT ppoulosk$ bin/storm drpc &
[4] 48845
devicethese-lm:apache-storm-0.11.0-SNAPSHOT ppoulosk$ Running: 
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java 
-server -Ddaemon.name=drpc -Dstorm.options= 
-Dstorm.home=/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT
 
-Dstorm.log.dir=/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/logs
 -Djava.library.path=/usr/local/lib -Dstorm.conf.file= -cp 
/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/asm-4.0.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/cheshire-5.3.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/clj-stacktrace-0.2.7.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/clj-time-0.8.0.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/clojure-1.6.0.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/clout-1.0.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/compojure-1.1.3.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/core.incubator-0.1.0.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/disruptor-2.10.4.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/hiccup-0.3.6.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/jackson-core-2.3.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/jackson-dataformat-smile-2.3.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/java.classpath-0.2.2.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/javax.servlet-2.5.0.v201103041518.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/kryo-2.21.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/log4j-api-2.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/log4j-core-2.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/log4j-over-slf4j-1.6.6.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/log4j-slf4j-impl-2.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/minlog-1.2.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/ns-tracker-0.2.2.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/reflectasm-1.07-shaded.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/ring-core-1.1.5.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/ring-devel-1.3.0.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/ring-jetty-adapter-1.3.0.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/ring-json-0.3.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/ring-servlet-1.3.0.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/servlet-api-2.5.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/slf4j-api-1.7.7.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/storm-core-0.11.0-SNAPSHOT.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/tigris-0.1.1.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/tools.logging-0.2.3.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/lib/tools.namespace-0.2.4.jar:/Users/ppoulosk/workspace/ppoulosk-storm/storm-dist/binary/target/apache-storm-0.11.0-SNAPSHOT/conf
 -Xmx768m -Dlogfile.name=drpc.log -Dlog4j.configurationFile=log4j2/cluster.xml 
backtype.storm.daemon.drpc
org.apache.storm.jetty.ssl.keypassword : password
{noformat}

I used the following conf to test.
{noformat}
devicethese-lm:apache-storm-0.11.0-SNAPSHOT ppoulosk$ cat conf/storm.yaml 
storm.zookeeper.servers:
     - "localhost"
storm.zookeeper.port: 2181
nimbus.host: "localhost"
storm.local.dir: "/var/stormtmp"
java.library.path: "/usr/local/lib"
supervisor.slots.ports:
     - 6700
     - 6701
     - 6702
     - 6703
worker.childopts: "-Xmx768m"
nimbus.childopts: "-Xmx512m"
supervisor.childopts: "-Xmx256m"
drpc.servers:
    - "localhost"
drpc.https.keystore.password: "password"
drpc.worker.threads: 128
drpc.https.port: 4949
drpc.port: 50570
drpc.https.keystore.path: "/Users/ppoulosk/testkeystore"
drpc.http.port: 4080
drpc.invocations.port: 50571
drpc.https.keystore.type: "PKCS12"
{noformat}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to