hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-15923. create-release script should set max-cache-ttl as well as default-cache-ttl for gpg-agent.
Date Tue, 13 Nov 2018 04:44:56 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 31aafb886 -> e3593c09d


HADOOP-15923. create-release script should set max-cache-ttl as well as default-cache-ttl
for gpg-agent.

(cherry picked from commit 703b2860a49577629e7b3ef461d8a61292e79c88)
(cherry picked from commit a86b665340696bd83b6062025282dda40eaaa9fb)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e3593c09
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e3593c09
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e3593c09

Branch: refs/heads/branch-2.8
Commit: e3593c09d429b786fc98de516fc520f622e957be
Parents: 31aafb8
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Tue Nov 13 13:40:43 2018 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Tue Nov 13 13:44:49 2018 +0900

----------------------------------------------------------------------
 dev-support/bin/create-release | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e3593c09/dev-support/bin/create-release
----------------------------------------------------------------------
diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
index 8b138e5..09066a1 100755
--- a/dev-support/bin/create-release
+++ b/dev-support/bin/create-release
@@ -259,7 +259,8 @@ function startgpgagent
   if [[ "${SIGN}" = true ]]; then
     if [[ -n "${GPGAGENT}" && -z "${GPG_AGENT_INFO}" ]]; then
       echo "starting gpg agent"
-      echo "default-cache-ttl 14400" > "${LOGDIR}/gpgagent.conf"
+      echo "default-cache-ttl 36000" > "${LOGDIR}/gpgagent.conf"
+      echo "max-cache-ttl 36000" >> "${LOGDIR}/gpgagent.conf"
       # shellcheck disable=2046
       eval $("${GPGAGENT}" --daemon \
         --options "${LOGDIR}/gpgagent.conf" \


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


Mime
View raw message