Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14343

Wrong pid file name in error message when starting secure daemon

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • None
    • None

    Description

      # this is for the daemon pid creation
        #shellcheck disable=SC2086
        echo $! > "${jsvcpidfile}" 2>/dev/null
        if [[ $? -gt 0 ]]; then
          hadoop_error "ERROR:  Cannot write ${daemonname} pid ${daemonpidfile}."
        fi

      It will log datanode's pid file instead of JSVC's pid file.

      Attachments

        1. HADOOP-14343.02.patch
          0.8 kB
          Andras Bokor
        2. HADOOP-14343.01.patch
          0.7 kB
          Andras Bokor

        Activity

          People

            boky01 Andras Bokor
            boky01 Andras Bokor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: