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

2014-05-21 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan edited comment on HIVE-7084 at 5/21/14 3:55 PM:
-

Patch for reverting HIVE-7000


was (Author: ashutoshc):
Patch for reverting HIVE-7084

 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
Assignee: Ashutosh Chauhan
 Attachments: HIVE-7084.patch


 I am able to repro it consistently on fresh checkout.



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


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

2014-05-18 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan edited comment on HIVE-7084 at 5/19/14 5:48 AM:
-

Test log:
{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/
titleError 503 java.lang.RuntimeException: Could not load wadl generators 
from wadlGeneratorDescriptions./title
/head
body
h2HTTP ERROR: 503/h2
pProblem accessing /templeton/v1/status. Reason:
prejava.lang.RuntimeException: Could not load wadl generators from 
wadlGeneratorDescriptions./pre/p
hr /ismallPowered 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/
titleError 503 java.lang.RuntimeException: Could not load wadl generators 
from wadlGeneratorDescriptions./title
/head
body
h2HTTP ERROR: 503/h2
pProblem accessing /templeton/v1/no_such_mapping/database. Reason:
prejava.lang.RuntimeException: Could not load wadl generators from 
wadlGeneratorDescriptions./pre/p
hr /ismallPowered 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)