For some reason after I updated to master my SecureClusterTest test is
failing. I tried checking out to a different location still the same,
restarting had no affect still the failure.
The test fails also when I run it in standalone more.

It works when I go back to commit id f4de856.

Also, note that this test is not run with Java 7.

Would like to know if anyone else has the same issue (with Java 8and
above), most likely i think this is my environment.

Best,
Sandeep

Java version:
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

OS:
macOS Sierra

Failure:
[exec] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
2.818 sec <<< FAILURE! - in org.apache.hadoop.gateway.SecureClusterTest
     [exec]
basicGetUserHomeRequest(org.apache.hadoop.gateway.SecureClusterTest)  Time
elapsed: 0.182 sec  <<< FAILURE!
     [exec] org.junit.ComparisonFailure:
     [exec] expected:<[{"Path":"/user/guest"}]> but was:<[<html>
     [exec] <head>
     [exec] <meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-1"/>
     [exec] <title>Error 404 </title>
     [exec] </head>
     [exec] <body>
     [exec] <h2>HTTP ERROR: 404</h2>
     [exec] <p>Problem accessing /gateway/cluster/webhdfs/v1. Reason:
     [exec] <pre>    Not Found</pre></p>
     [exec] <hr /><i><small>Powered by Jetty://</small></i>
     [exec] </body>
     [exec] </html>
     [exec] ]>
     [exec] at
org.apache.hadoop.gateway.SecureClusterTest.basicGetUserHomeRequest(SecureClusterTest.java:223)
     [exec]
     [exec]
     [exec] Results :
     [exec]
     [exec] Failed tests:
     [exec]   SecureClusterTest.basicGetUserHomeRequest:223
expected:<[{"Path":"/user/guest"}]> but was:<[<html>
     [exec] <head>
     [exec] <meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-1"/>
     [exec] <title>Error 404 </title>
     [exec] </head>
     [exec] <body>
     [exec] <h2>HTTP ERROR: 404</h2>
     [exec] <p>Problem accessing /gateway/cluster/webhdfs/v1. Reason:
     [exec] <pre>    Not Found</pre></p>
     [exec] <hr /><i><small>Powered by Jetty://</small></i>
     [exec] </body>
     [exec] </html>
     [exec] ]>
     [exec]
     [exec] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

Reply via email to