You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Raja Aluri (JIRA)" <ji...@apache.org> on 2013/07/02 20:45:19 UTC

[jira] [Updated] (HADOOP-9685) hadoop-config.cmd: builds a classpath that is too long on windows

     [ https://issues.apache.org/jira/browse/HADOOP-9685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raja Aluri updated HADOOP-9685:
-------------------------------

    Attachment: HADOOP-9685.branch-1-win.patch
    
> hadoop-config.cmd: builds a classpath that is too long on windows
> -----------------------------------------------------------------
>
>                 Key: HADOOP-9685
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9685
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: bin
>    Affects Versions: 1-win
>            Reporter: Raja Aluri
>            Assignee: Raja Aluri
>             Fix For: 1-win
>
>         Attachments: HADOOP-9685.branch-1-win.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira