You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Ravi Gummadi (JIRA)" <ji...@apache.org> on 2010/03/10 07:01:29 UTC

[jira] Created: (MAPREDUCE-1586) TestWebUIAuthorization fails sometimes

TestWebUIAuthorization fails sometimes
--------------------------------------

                 Key: MAPREDUCE-1586
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1586
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: test
            Reporter: Ravi Gummadi


Testcase testAuthorizationForJobHistoryPages() failed once on my local machine with
{code}
    [junit] 2010-03-10 10:16:42,230 INFO  mapred.TestWebUIAuthorization (TestWebUIAuthorization.java:getHttpStatusCode(83)) - Accessing http://localhost:46846/jobdetailshistory.jsp?logFile= as user user1
    [junit] 22751 [31606811@qtp3-0] ERROR org.mortbay.log - /jobdetailshistory.jsp
    [junit] java.lang.IllegalArgumentException: Can not create a Path from an empty string
    [junit]   at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
    [junit]   at org.apache.hadoop.fs.Path.<init>(Path.java:90)
    [junit]   at org.apache.hadoop.mapred.jobdetailshistory_jsp._jspService(jobdetailshistory_jsp.java:90)
{code}

I guess the testcase needs to wait for retiring of job instead of only waiting for completion of job before accessing history related jsps

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.