hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15590) Two gpg related errors when doing hadoop release
Date Mon, 09 Jul 2018 18:26:00 GMT
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


I hit the following problems:

starting gpg agent ERROR: Unable to launch or acquire gpg-agent. Disable signing.
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:
export GPG_AGENT_INFO="~/.gnupg/S.gpg-agent:$(pgrep gpg-agent):1"

gpg: can't connect to `~/.gnupg/S.gpg-agent': invalid value
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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message