[ https://issues.apache.org/jira/browse/HBASE-20134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386800#comment-16386800 ]
Mike Drob commented on HBASE-20134: ----------------------------------- According to https://stackoverflow.com/questions/2792675/how-portable-is-mktemp1 it looks like it works everywhere except HP-UX? > 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 > Priority: Major > > {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)