You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2006/11/09 02:43:37 UTC

[jira] Created: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

bin/hadoop includes in classpath all jar files in HADOOP_HOME
-------------------------------------------------------------

                 Key: HADOOP-700
                 URL: http://issues.apache.org/jira/browse/HADOOP-700
             Project: Hadoop
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.8.0
            Reporter: Nigel Daley


The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462551 ] 

Doug Cutting commented on HADOOP-700:
-------------------------------------

I wonder if, rather than checking that the jar isn't named '-examples' or '-test', we should instead name the core core to be 'hadoop-XXX-core.jar', and then only add this to the classpath?

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.new.patch, 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Commented: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462557 ] 

Nigel Daley commented on HADOOP-700:
------------------------------------

+1





> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.new.patch, 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Commented: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462546 ] 

Nigel Daley commented on HADOOP-700:
------------------------------------

Attached an updated patch.  A couple of tests that are run with
  bin/hadoop jar hadoop-*-test.jar ...
were failing after the changes to bin/hadoop because they were relying on the test jar to be in the task tracker classpath.

This patch is ready for review.

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.new.patch, 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Commented: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462565 ] 

Nigel Daley commented on HADOOP-700:
------------------------------------

Attached new patch that changes the main hadoop jar file to hadoop-XXX-core.jar where XXX is the version.  Also updated bin/rcc and bin/hadoop to include in it's classpath just this jar file from the $HADOOP_HOME directory.

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.new.patch, 700.new.patch, 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Commented: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462353 ] 

Nigel Daley commented on HADOOP-700:
------------------------------------

Attached a simple patch that I'm currently still testing.

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Commented: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-700?page=comments#action_12451504 ] 
            
Nigel Daley commented on HADOOP-700:
------------------------------------

I propose that the jar files stay where they are and that bin/hadoop only include the hadoop-<version>.jar file in the classpath.

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: http://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting resolved HADOOP-700.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10.0

I just committed this.  Thanks, Nigel!

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>             Fix For: 0.10.0
>
>         Attachments: 700.new.patch, 700.new.patch, 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Updated: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-700:
-------------------------------

    Attachment: 700.new.patch

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.new.patch, 700.new.patch, 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Updated: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-700:
-------------------------------

    Attachment: 700.patch

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Updated: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-700:
-------------------------------

    Attachment: 700.new.patch

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.new.patch, 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Updated: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-700:
-------------------------------

    Attachment: 700.patch

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: https://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>         Attachments: 700.patch, 700.patch
>
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

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

        

[jira] Commented: (HADOOP-700) bin/hadoop includes in classpath all jar files in HADOOP_HOME

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-700?page=comments#action_12451118 ] 
            
Hadoop QA commented on HADOOP-700:
----------------------------------

a\ntest

> bin/hadoop includes in classpath all jar files in HADOOP_HOME
> -------------------------------------------------------------
>
>                 Key: HADOOP-700
>                 URL: http://issues.apache.org/jira/browse/HADOOP-700
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>
> The hadoop script includes all jars from HADOOP_HOME in the classpath.  This means that all the daemons get the examples and tests included in their class paths.  If a change is made to an example or test, all the daemons have to be restarted to see the affect of the change.  This doesn't seem desirable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira