[
https://issues.apache.org/jira/browse/YARN-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172629#comment-14172629
]
Chris Nauroth commented on YARN-2689:
-------------------------------------
Hi Steve. Thanks for fixing this. The patch looks good to me, and I verified
that it fixes the tests on Windows. However, I'm seeing a problem when running
on Mac and Linux. It's hanging while executing {{ktutil}}. On my systems,
{{ktutil}} is an interactive command, so the tests are starting up the child
process, and then it's never exiting. (See stack trace below.) Some quick
searching indicates that some installations of {{ktutil}} are non-interactive,
but others are entirely interactive (MIT for example).
{code}
"JUnit" prio=10 tid=0x00007f424488c000 nid=0x675 runnable [0x00007f4239c02000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:236)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
- locked <0x00000000ed550918> (a java.io.BufferedInputStream)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176)
- locked <0x00000000ed3df918> (a java.io.InputStreamReader)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:153)
at java.io.BufferedReader.read1(BufferedReader.java:204)
at java.io.BufferedReader.read(BufferedReader.java:278)
- locked <0x00000000ed3df918> (a java.io.InputStreamReader)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.parseExecResult(Shell.java:721)
at org.apache.hadoop.util.Shell.runCommand(Shell.java:530)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:708)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:797)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:780)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
{code}
> TestSecureRMRegistryOperations failing on windows
> -------------------------------------------------
>
> Key: YARN-2689
> URL: https://issues.apache.org/jira/browse/YARN-2689
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: api, resourcemanager
> Affects Versions: 2.6.0
> Environment: Windows server, Java 7, ZK 3.4.6
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Attachments: YARN-2689-001.patch
>
>
> the micro ZK service used in the {{TestSecureRMRegistryOperations}} test
> doesnt start on windows,
> {code}
> org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could
> not configure server because SASL configuration did not allow the ZooKeeper
> server to authenticate itself properly:
> javax.security.auth.login.LoginException: Unable to obtain password from user
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)