ayushtkn commented on PR #6989:
URL: https://github.com/apache/hadoop/pull/6989#issuecomment-2295368725
@slfan1989 Spent sometime to debug why yetus is failing
It isn't like there is a conflict, but it is the curl command on the github
API to download this PR failing.
The command which is failing is
```
curl --silent --fail -H 'Accept: application/vnd.github.v3.patch' --output
/private/tmp/yetus-10894.25287/input.patch --location
https://api.github.com/repos/apache/hadoop/pulls/6989
yetus_debug 'github_locate_patch: not a github pull request.'
```
If you remove --silent from the above curl command you run on your console
it would fail as well
```
ayushsaxena@ayushsaxena hadoop % curl --fail -H 'Accept:
application/vnd.github.v3.patch' --output
/private/tmp/yetus-10894.25287/input.patch --location
https://api.github.com/repos/apache/hadoop/pulls/6989
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
0 298 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 406
```
You can see the error codes for Github API here:
https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#get-a-pull-request--status-codes
Mostly due to the size of the PR or something else
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]