You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2018/07/09 18:26:00 UTC
[jira] [Created] (HADOOP-15590) Two gpg related errors when doing
hadoop release
Yongjun Zhang created HADOOP-15590:
--------------------------------------
Summary: Two gpg related errors when doing hadoop release
Key: HADOOP-15590
URL: https://issues.apache.org/jira/browse/HADOOP-15590
Project: Hadoop Common
Issue Type: Bug
Reporter: Yongjun Zhang
When doing 3.0.3 release, by running command
dev-support/bin/create-release --asfrelease --docker --dockercache
documented in
https://wiki.apache.org/hadoop/HowToRelease
I hit the following problems:
1.
{quote}
starting gpg agent ERROR: Unable to launch or acquire gpg-agent. Disable signing.
{quote}
The script expect GPG_AGENT_INFO env being set with needed info by the gpg-agent. However, it was not. This is because of changes made in gpg-agent. I found the workaround is to add the following line to dev-support/bin/create-release script right after starting gpg-agent:
{quote}
export GPG_AGENT_INFO="~/.gnupg/S.gpg-agent:$(pgrep gpg-agent):1"
{quote}
2.
{quote}
gpg: can't connect to `~/.gnupg/S.gpg-agent': invalid value
{quote}
I found that this is caused by unmatching gpg-agent and gpg versions installed via Docker. I modified dev-support/docker/Dockerfile to install gnupg2 instead of gnupg. This made gpg and gpg-agent both 2.1.11 instead of one on 2.1.11 the other on 1.14. And this solved the above problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org