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 "Arun C Murthy (JIRA)" <ji...@apache.org> on 2007/01/09 21:18:27 UTC

[jira] Created: (HADOOP-871) java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't

java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't
-------------------------------------------------------------------------------------------------------------------------

                 Key: HADOOP-871
                 URL: https://issues.apache.org/jira/browse/HADOOP-871
             Project: Hadoop
          Issue Type: Bug
    Affects Versions: 0.10.0
            Reporter: Arun C Murthy
         Assigned To: Arun C Murthy
             Fix For: 0.10.1


bin/hadoop assumes presence of custom-libs and doesn't check it - resulting in wrong java.library.path.

Straight-forward fix is to check and add the ':' only if custom-libs are present.

-- 
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-871) java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't

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

Doug Cutting updated HADOOP-871:
--------------------------------

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

I just committed this.  Thanks, Arun!

> java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-871
>                 URL: https://issues.apache.org/jira/browse/HADOOP-871
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Arun C Murthy
>         Assigned To: Arun C Murthy
>             Fix For: 0.10.1
>
>         Attachments: HADOOP-871_20060110_1.patch
>
>
> bin/hadoop assumes presence of custom-libs and doesn't check it - resulting in wrong java.library.path.
> Straight-forward fix is to check and add the ':' only if custom-libs are present.

-- 
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-871) java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't

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

Arun C Murthy updated HADOOP-871:
---------------------------------

    Attachment: HADOOP-871_20060110_1.patch

> java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-871
>                 URL: https://issues.apache.org/jira/browse/HADOOP-871
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Arun C Murthy
>         Assigned To: Arun C Murthy
>             Fix For: 0.10.1
>
>         Attachments: HADOOP-871_20060110_1.patch
>
>
> bin/hadoop assumes presence of custom-libs and doesn't check it - resulting in wrong java.library.path.
> Straight-forward fix is to check and add the ':' only if custom-libs are present.

-- 
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-871) java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't

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

Arun C Murthy updated HADOOP-871:
---------------------------------

    Status: Patch Available  (was: Open)

Attached a simple fix with an 'if' condition...

> java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-871
>                 URL: https://issues.apache.org/jira/browse/HADOOP-871
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Arun C Murthy
>         Assigned To: Arun C Murthy
>             Fix For: 0.10.1
>
>         Attachments: HADOOP-871_20060110_1.patch
>
>
> bin/hadoop assumes presence of custom-libs and doesn't check it - resulting in wrong java.library.path.
> Straight-forward fix is to check and add the ':' only if custom-libs are present.

-- 
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-871) java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't

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

Hadoop QA commented on HADOOP-871:
----------------------------------

+1, because http://issues.apache.org/jira/secure/attachment/12348579/HADOOP-871_20060110_1.patch applied and successfully tested against trunk revision r494253.

> java.library.path is wrongly initialized by bin/hadoop when only pre-built libs are present, but custom-built ones aren't
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-871
>                 URL: https://issues.apache.org/jira/browse/HADOOP-871
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Arun C Murthy
>         Assigned To: Arun C Murthy
>             Fix For: 0.10.1
>
>         Attachments: HADOOP-871_20060110_1.patch
>
>
> bin/hadoop assumes presence of custom-libs and doesn't check it - resulting in wrong java.library.path.
> Straight-forward fix is to check and add the ':' only if custom-libs are present.

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