You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2019/02/01 20:04:01 UTC

[jira] [Updated] (HBASE-20134) support scripts use hard-coded /tmp

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

Andrew Purtell updated HBASE-20134:
-----------------------------------
    Fix Version/s:     (was: 1.5.0)

> support scripts use 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
>            Priority: Minor
>             Fix For: 1.3.2, 1.4.3, 2.0.0, 1.2.7
>
>         Attachments: HBASE-20134.0.patch
>
>
> {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)