You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Jonathan Maron (JIRA)" <ji...@apache.org> on 2014/09/22 23:22:33 UTC

[jira] [Created] (SLIDER-449) openssl invocations on windows appear to require more sophisticated stream processing

Jonathan Maron created SLIDER-449:
-------------------------------------

             Summary: openssl invocations on windows appear to require more sophisticated stream processing
                 Key: SLIDER-449
                 URL: https://issues.apache.org/jira/browse/SLIDER-449
             Project: Slider
          Issue Type: Bug
            Reporter: Jonathan Maron
            Assignee: Jonathan Maron


Attempting to launch an AM on windows and the process appears to hang with the following stack trace:

 - java.io.FileInputStream.readBytes(byte[], int, int) @bci=0 (Interpreted frame)
 - java.io.FileInputStream.read(byte[], int, int) @bci=4, line=220 (Interpreted frame)
 - java.io.BufferedInputStream.read1(byte[], int, int) @bci=39, line=256 (Interpreted frame)
 - java.io.BufferedInputStream.read(byte[], int, int) @bci=49, line=317 (Interpreted frame)
 - sun.nio.cs.StreamDecoder.readBytes() @bci=130, line=264 (Interpreted frame)
 - sun.nio.cs.StreamDecoder.implRead(char[], int, int) @bci=112, line=306 (Interpreted frame)
 - sun.nio.cs.StreamDecoder.read(char[], int, int) @bci=180, line=158 (Interpreted frame)
 - java.io.InputStreamReader.read(char[], int, int) @bci=7, line=167 (Interpreted frame)
 - java.io.BufferedReader.fill() @bci=145, line=136 (Interpreted frame)
 - java.io.BufferedReader.readLine(boolean) @bci=44, line=299 (Interpreted frame)
 - java.io.BufferedReader.readLine() @bci=2, line=362 (Interpreted frame)
 - org.apache.slider.server.services.security.CertificateManager.runCommand(java.lang.String) @bci=59, line=104 (Interpr
eted frame)
 - org.apache.slider.server.services.security.CertificateManager.generateServerCertificate() @bci=111, line=155 (Interpr
eted frame)
 - org.apache.slider.server.services.security.CertificateManager.initRootCert(org.apache.slider.core.conf.MapOperations)
 @bci=48, line=68 (Interpreted frame)
 - org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(java.lang.String) @bci=633, line=635 (Interpre
ted frame)
 - org.apache.slider.server.appmaster.SliderAppMaster.runService() @bci=135, line=483 (Interpreted frame)
 - org.apache.slider.core.main.ServiceLauncher.launchService(org.apache.hadoop.conf.Configuration, java.lang.String[], b
oolean) @bci=128, line=186 (Interpreted frame)
 - org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(org.apache.hadoop.conf.Configuration, java.lang.Str
ing[]) @bci=4, line=471 (Interpreted frame)
 - org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(java.util.List) @bci=21, line=401 (Interpreted frame
)
 - org.apache.slider.core.main.ServiceLauncher.serviceMain(java.util.List) @bci=144, line=626 (Interpreted frame)
 - org.apache.slider.server.appmaster.SliderAppMaster.main(java.lang.String[]) @bci=24, line=1899 (Interpreted frame)

It appears that for this code to work on windows we need to do a better job of handling the output and error streams?



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