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

Wrong pid file name in error message when starting secure daemon

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-beta1
    • Component/s: None
    • Labels:
      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.01.patch
          0.7 kB
          Andras Bokor
        2. HADOOP-14343.02.patch
          0.8 kB
          Andras Bokor

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: