Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20134

support scripts use hard-coded /tmp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.2, 1.4.3, 2.0.0, 1.2.7
    • Component/s: website
    • Labels:
      None

      Description

      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
      

      This should likely use $TMPDIR or mktemp -d

        Attachments

        1. HBASE-20134.0.patch
          3 kB
          Sean Busbey

          Activity

            People

            • Assignee:
              busbey Sean Busbey
              Reporter:
              mdrob Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: