You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ayushtkn (via GitHub)" <gi...@apache.org> on 2024/08/18 19:41:39 UTC
Re: [PR] [WIP] Update jersey from 1.19 to 2.x. [hadoop]
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: common-issues-unsubscribe@hadoop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org