Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5472

WIN_MAX_PATH logic is off by one

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.6.0
    • None
    • nodemanager
    • Windows

    Description

      The following check is incorrect in DefaultContainerExecutor:

      if (Shell.WINDOWS && sb.getWrapperScriptPath().toString().length() > WIN_MAX_PATH)

      should be >=, as the max path is defined as "D:\some 256-character path string<NUL>" on Windows platforms.

      Attachments

        1. YARN-5472-v0.patch
          1 kB
          Brook Zhou

        Activity

          People

            brookz Brook Zhou
            brookz Brook Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: