You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2018/03/05 18:55:01 UTC
[jira] [Created] (HBASE-20134) website generation uses hard-coded
/tmp
Mike Drob created HBASE-20134:
---------------------------------
Summary: website generation uses hard-coded /tmp
Key: HBASE-20134
URL: https://issues.apache.org/jira/browse/HBASE-20134
Project: HBase
Issue Type: Bug
Components: website
Reporter: Mike Drob
Assignee: Sean Busbey
{code}
if [ -z "${working_dir}" ]; then
echo "[DEBUG] defaulting to creating a directory in /tmp"
working_dir=/tmp
while [[ -e ${working_dir} ]]; do
working_dir=/tmp/hbase-generate-website-${RANDOM}.${RANDOM}
done
mkdir "${working_dir}"
else
{code}
This should likely use {{$TMPDIR}} or {{mktemp -d}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)