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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1-win
    • 1-win
    • bin
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment