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

Change ":" to ApplicationConstants.CLASS_PATH_SEPARATOR

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.1.2
    • 3.3.0
    • common
    • None

    Description

      under distributedshell/Clients.java
      We should change ":" to ApplicationConstants.CLASS_PATH_SEPARATOR, so it could also support Windows client

      // add the runtime classpath needed for tests to work
          if (conf.getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
            classPathEnv.append(':')
                .append(System.getProperty("java.class.path"));
          }
      
      // add the runtime classpath needed for tests to work
          if (conf.getBoolean(YarnConfiguration.IS_MINI_YARN_CLUSTER, false)) {
            classPathEnv.append(ApplicationConstants.CLASS_PATH_SEPARATOR)
                .append(System.getProperty("java.class.path"));
          }
      

      Attachments

        1. HADOOP-16351.01.patch
          1 kB
          Kevin Su

        Activity

          People

            pingsutw Kevin Su
            pingsutw Kevin Su
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: