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 "Sanjay Dahiya (JIRA)" <ji...@apache.org> on 2006/11/15 19:56:41 UTC

[jira] Created: (HADOOP-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

bin/hadoop:111 uses java directly, it should use JAVA_HOME
----------------------------------------------------------

                 Key: HADOOP-724
                 URL: http://issues.apache.org/jira/browse/HADOOP-724
             Project: Hadoop
          Issue Type: Bug
          Components: scripts
            Reporter: Sanjay Dahiya
            Priority: Minor


JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`

should use JAVA_HOME instead of java.

-- 
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-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-724?page=comments#action_12450295 ] 
            
Arun C Murthy commented on HADOOP-724:
--------------------------------------

Hmm... we could do that; however it wouldn't be useful if we are going to check-in prebuilt Linux libraries into lib/native/Linux-i386-32 ... 
What are your current thoughts on checking-in prebuilt linux libs Doug?

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-724_20061116.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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] Updated: (HADOOP-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-724?page=all ]

Arun C Murthy updated HADOOP-724:
---------------------------------

    Attachment: HADOOP-724_20061116.patch

Attached patch.

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>         Attachments: HADOOP-724_20061116.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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] Assigned: (HADOOP-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-724?page=all ]

Arun C Murthy reassigned HADOOP-724:
------------------------------------

    Assignee: Arun C Murthy

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>         Attachments: HADOOP-724_20061116.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-724?page=comments#action_12450187 ] 
            
Doug Cutting commented on HADOOP-724:
-------------------------------------

Should we avoid starting a JVM at all if neither lib/native nor build/native exist?

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-724_20061116.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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] Updated: (HADOOP-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-724?page=all ]

Arun C Murthy updated HADOOP-724:
---------------------------------

    Attachment: HADOOP_724-20061117.patch

Sounds good... I think it makes sense to distribute the Linux-i386-32 libraries as a separate download (atleast in the short/medium term).

Here is an updated patch incorporating your suggestion...

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-724_20061116.patch, HADOOP_724-20061117.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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] Updated: (HADOOP-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-724?page=all ]

Arun C Murthy updated HADOOP-724:
---------------------------------

           Status: Patch Available  (was: Open)
    Fix Version/s: 0.9.0

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-724_20061116.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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] Updated: (HADOOP-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-724?page=all ]

Doug Cutting updated HADOOP-724:
--------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

I just committed this.  Thanks, Arun!

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-724_20061116.patch, HADOOP_724-20061117.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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-724) bin/hadoop:111 uses java directly, it should use JAVA_HOME

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-724?page=comments#action_12450479 ] 
            
Doug Cutting commented on HADOOP-724:
-------------------------------------

> What are your current thoughts on checking-in prebuilt linux libs Doug?

I'm not sure.  Not comitting them means they'll never be out of date.  On the other hand, it means that folks who wish to use them must install a native build environment (gcc, etc.).  The proper way to do this is to package different downloads for different platforms, a 32-bit linux tar file, a Windows tar file, etc.  Perhaps the primary release could be platform independent, then we could also release platform-specific native libraries as a separate download?  What do others think?

In summary, I'm reluctant to commit them until we have a bit more experience.  Given that, we might as well avoid launching another JVM per command.

> bin/hadoop:111 uses java directly, it should use JAVA_HOME
> ----------------------------------------------------------
>
>                 Key: HADOOP-724
>                 URL: http://issues.apache.org/jira/browse/HADOOP-724
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sanjay Dahiya
>         Assigned To: Arun C Murthy
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-724_20061116.patch
>
>
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} java org.apache.hadoop.util.PlatformName`
> should use JAVA_HOME instead of java.

-- 
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