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

hadoop-config.cmd: builds a classpath that is too long on windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1-win
    • Component/s: bin
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      hadoop-config.cmd, sets the class path by listing each jar file to the CLASAPATH. Many times the downstream components use hadoop_config.cmd to set the CLASAPATH for hadoop jars. After adding their own class path, many times the classpath length is hitting the windows command lenght limit.
      We should try to use classpath wildcards to reduce the length of the classpath.
      http://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html

        Attachments

        1. HADOOP-9685.branch-1-win.patch
          0.6 kB
          Raja Aluri

          Activity

            People

            • Assignee:
              raja@cmbasics.com Raja Aluri
              Reporter:
              raja@cmbasics.com Raja Aluri
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: