You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/05/19 07:47:38 UTC

[jira] [Commented] (HIVE-7084) TestWebHCatE2e is failing on trunk

    [ https://issues.apache.org/jira/browse/HIVE-7084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001401#comment-14001401 ] 

Ashutosh Chauhan commented on HIVE-7084:
----------------------------------------

Test run:
{code}
Running org.apache.hive.hcatalog.templeton.TestWebHCatE2e
Tests run: 12, Failures: 5, Errors: 0, Skipped: 7, Time elapsed: 1.854 sec <<< FAILURE! - in org.apache.hive.hcatalog.templeton.TestWebHCatE2e
getStatus(org.apache.hive.hcatalog.templeton.TestWebHCatE2e)  Time elapsed: 0.204 sec  <<< FAILURE!
junit.framework.AssertionFailedError: GET http://localhost:52286/templeton/v1/status?user.name=johndoe <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /templeton/v1/status. Reason:
<pre>    java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
</body>
</html>
 expected:<200> but was:<503>
	at junit.framework.Assert.fail(Assert.java:50)
	at junit.framework.Assert.failNotEquals(Assert.java:287)
	at junit.framework.Assert.assertEquals(Assert.java:67)
	at junit.framework.Assert.assertEquals(Assert.java:199)
	at org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getStatus(TestWebHCatE2e.java:96)

invalidPath(org.apache.hive.hcatalog.templeton.TestWebHCatE2e)  Time elapsed: 0.013 sec  <<< FAILURE!
junit.framework.AssertionFailedError: GET http://localhost:52286/templeton/v1/no_such_mapping/database?user.name=johndoe <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /templeton/v1/no_such_mapping/database. Reason:
<pre>    java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
</body>
</html>
 expected:<404> but was:<503>
	at junit.framework.Assert.fail(Assert.java:50)
	at junit.framework.Assert.failNotEquals(Assert.java:287)
	at junit.framework.Assert.assertEquals(Assert.java:67)
	at junit.framework.Assert.assertEquals(Assert.java:199)
	at org.apache.hive.hcatalog.templeton.TestWebHCatE2e.invalidPath(TestWebHCatE2e.java:116)

getHadoopVersion(org.apache.hive.hcatalog.templeton.TestWebHCatE2e)  Time elapsed: 0.012 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<200> but was:<503>
	at junit.framework.Assert.fail(Assert.java:50)
	at junit.framework.Assert.failNotEquals(Assert.java:287)
	at junit.framework.Assert.assertEquals(Assert.java:67)
	at junit.framework.Assert.assertEquals(Assert.java:199)
	at junit.framework.Assert.assertEquals(Assert.java:205)
	at org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getHadoopVersion(TestWebHCatE2e.java:205)

getHiveVersion(org.apache.hive.hcatalog.templeton.TestWebHCatE2e)  Time elapsed: 0.012 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<200> but was:<503>
	at junit.framework.Assert.fail(Assert.java:50)
	at junit.framework.Assert.failNotEquals(Assert.java:287)
	at junit.framework.Assert.assertEquals(Assert.java:67)
	at junit.framework.Assert.assertEquals(Assert.java:199)
	at junit.framework.Assert.assertEquals(Assert.java:205)
	at org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getHiveVersion(TestWebHCatE2e.java:216)

getPigVersion(org.apache.hive.hcatalog.templeton.TestWebHCatE2e)  Time elapsed: 0.011 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<501> but was:<503>
	at junit.framework.Assert.fail(Assert.java:50)
	at junit.framework.Assert.failNotEquals(Assert.java:287)
	at junit.framework.Assert.assertEquals(Assert.java:67)
	at junit.framework.Assert.assertEquals(Assert.java:199)
	at junit.framework.Assert.assertEquals(Assert.java:205)
	at org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getPigVersion(TestWebHCatE2e.java:227)


Results :

Failed tests: 
  TestWebHCatE2e.getStatus:96 GET http://localhost:52286/templeton/v1/status?user.name=johndoe <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /templeton/v1/status. Reason:
<pre>    java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
</body>
</html>
 expected:<200> but was:<503>
  TestWebHCatE2e.invalidPath:116 GET http://localhost:52286/templeton/v1/no_such_mapping/database?user.name=johndoe <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /templeton/v1/no_such_mapping/database. Reason:
<pre>    java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
                                                
</body>
</html>
 expected:<404> but was:<503>
  TestWebHCatE2e.getHadoopVersion:205 expected:<200> but was:<503>
  TestWebHCatE2e.getHiveVersion:216 expected:<200> but was:<503>
  TestWebHCatE2e.getPigVersion:227 expected:<501> but was:<503>

Tests run: 12, Failures: 5, Errors: 0, Skipped: 7


{code}

> TestWebHCatE2e is failing on trunk
> ----------------------------------
>
>                 Key: HIVE-7084
>                 URL: https://issues.apache.org/jira/browse/HIVE-7084
>             Project: Hive
>          Issue Type: Test
>          Components: WebHCat
>    Affects Versions: 0.14.0
>            Reporter: Ashutosh Chauhan
>
> I am able to repro it consistently on fresh checkout.



--
This message was sent by Atlassian JIRA
(v6.2#6252)