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] [Assigned] (HADOOP-15590) Two gpg related errors when doing hadoop release
Date Tue, 10 Jul 2018 18:17:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yongjun Zhang reassigned HADOOP-15590:
--------------------------------------

    Assignee: Yongjun Zhang

> 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
>            Assignee: Yongjun Zhang
>            Priority: Major
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message