[ 
https://issues.apache.org/jira/browse/KNOX-2700?focusedWorklogId=709492&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-709492
 ]

ASF GitHub Bot logged work on KNOX-2700:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Jan/22 11:31
            Start Date: 15/Jan/22 11:31
    Worklog Time Spent: 10m 
      Work Description: moresandeep commented on a change in pull request #528:
URL: https://github.com/apache/knox/pull/528#discussion_r785299113



##########
File path: 
gateway-test-release/webhdfs-kerb-test/src/test/resources/org/apache/knox/gateway/SecureKnoxShellTest/SecureWebHdfsPutGet.groovy
##########
@@ -30,6 +30,7 @@ session = KnoxSession.kerberosLogin(gateway, jaasConf, 
krb5conf, true)
 status = Hdfs.status(session).file( "/" ).now().string
 
 Hdfs.put( session ).file( file ).to( dataDir + "/" + dataFile ).now()
+Thread.sleep(1000)

Review comment:
       `Hdfs.put( session ).file( file ).to( dataDir + "/" + dataFile ).now()` 
does return 200 but intermittently the following calls fail. Tried checking for 
response still blows up. It also appears that others are not seeing it as often 
as me. I am shelving this part of the fix for now until we know what's wrong. 
Thanks for your inputs @risdenk.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 709492)
    Time Spent: 50m  (was: 40m)

> Fix SecureKnoxShellTest failures
> --------------------------------
>
>                 Key: KNOX-2700
>                 URL: https://issues.apache.org/jira/browse/KNOX-2700
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Currently the SecureKnoxShellTest is failing with the following error
> {code:java}
> [exec] [INFO]
>      [exec] [ERROR] Errors:
>      [exec] [ERROR]   
> SecureKnoxShellTest.testCachedTicket:277->webhdfsPutGet:304 » FileNotFound 
> Sec...
>      [exec] [INFO]
>      [exec] [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0 {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to