You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Alejandro Abdelnur (Created) (JIRA)" <ji...@apache.org> on 2012/01/27 23:34:11 UTC

[jira] [Created] (MAPREDUCE-3745) mapred/yarn scripts should use lib/'*' instead looping the dir for jar to create the classpath

mapred/yarn scripts should use lib/'*' instead looping the dir for jar to create the classpath
----------------------------------------------------------------------------------------------

                 Key: MAPREDUCE-3745
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3745
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
    Affects Versions: 0.23.1, 0.24.0
            Reporter: Alejandro Abdelnur
             Fix For: 0.23.1


The scripts do a for loop on the JAR contents of the directory, they should just use '*' in the classpath, ie lib/'*'

This will reduce the length of the generated classpath significantly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3745) mapred/yarn scripts should use lib/'*' instead looping the dir for jar to create the classpath

Posted by "Arun C Murthy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated MAPREDUCE-3745:
-------------------------------------

    Fix Version/s:     (was: 0.23.1)
                   0.24.0
    
> mapred/yarn scripts should use lib/'*' instead looping the dir for jar to create the classpath
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3745
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3745
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.23.1, 0.24.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.24.0
>
>
> The scripts do a for loop on the JAR contents of the directory, they should just use '*' in the classpath, ie lib/'*'
> This will reduce the length of the generated classpath significantly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3745) mapred/yarn scripts should use lib/'*' instead looping the dir for jar to create the classpath

Posted by "Mahadev konar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195178#comment-13195178 ] 

Mahadev konar commented on MAPREDUCE-3745:
------------------------------------------

@Alejandro,
 I think only bin/mapred does that. bin/yarn should be fixed.
                
> mapred/yarn scripts should use lib/'*' instead looping the dir for jar to create the classpath
> ----------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3745
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3745
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.23.1, 0.24.0
>            Reporter: Alejandro Abdelnur
>             Fix For: 0.23.1
>
>
> The scripts do a for loop on the JAR contents of the directory, they should just use '*' in the classpath, ie lib/'*'
> This will reduce the length of the generated classpath significantly

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira