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)
(cherry picked from commit 5884b1c28f4bd9137e6eb04ab7d0ad080b55b50f)
diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
index 39c9133..fbe3fb2 100755
--- a/dev-support/bin/create-release
+++ b/dev-support/bin/create-release
@@ -259,7 +259,8 @@
   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" \