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 "Eli Collins (JIRA)" <ji...@apache.org> on 2011/08/17 21:19:27 UTC

[jira] [Created] (HADOOP-7548) ant binary target fails if native has not been built

ant binary target fails if native has not been built
----------------------------------------------------

                 Key: HADOOP-7548
                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 0.20.205.0
            Reporter: Eli Collins
             Fix For: 0.20.205.0


The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.

BUILD FAILED
/home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7548) ant binary target fails if native has not been built

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086572#comment-13086572 ] 

Eli Collins commented on HADOOP-7548:
-------------------------------------

IMO the tarball and rpm builds should should not require the native build. 

> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>             Fix For: 0.20.205.0
>
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7548) ant binary target fails if native has not been built

Posted by "Eli Collins (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131928#comment-13131928 ] 

Eli Collins commented on HADOOP-7548:
-------------------------------------

Right, there's a dependency but it's not required. Lots of people run releases w/o the native libs.
                
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

--
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] (HADOOP-7548) ant binary target fails if native has not been built

Posted by "Kihwal Lee (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131879#comment-13131879 ] 

Kihwal Lee commented on HADOOP-7548:
------------------------------------

bq. How so? Maybe you mean security requires the native libs? 

Yes, you are right. But the branch and the releases off of it have dependency on the native libs. You can turn the security off, but that's a run-time option, not a build/packaging time one.  Also, the native lib requirement may go beyond the security feature in the future. 
                
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

--
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] (HADOOP-7548) ant binary target fails if native has not been built

Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086568#comment-13086568 ] 

Kihwal Lee commented on HADOOP-7548:
------------------------------------

It succeeds if -Dcompile.native=true is specified. On a related note, I found the rpm target for hdfs trunk fails if the native lib is not built. Do you think the packaging should work without the native lib/bin? Or is it just a matter of adding the missing dependency?

> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>             Fix For: 0.20.205.0
>
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7548) ant binary target fails if native has not been built

Posted by "Eli Collins (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131832#comment-13131832 ] 

Eli Collins commented on HADOOP-7548:
-------------------------------------

bq. branch-0.20-security won't work without the native library

How so?  Maybe you mean security requires the native libs? 
                
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

--
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] (HADOOP-7548) ant binary target fails if native has not been built

Posted by "Kihwal Lee (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131828#comment-13131828 ] 

Kihwal Lee commented on HADOOP-7548:
------------------------------------

branch-0.20-security won't work without the native library. If we simply remove the dependency, we will end up allowing creation of nonfunctional package. So a solution can be removing this dependency AND adding a separate package target for the native stuff. Then it will be possible to build one (large) platform-independent package and multiple platform-specific packages for all supported platforms.

                
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

--
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] (HADOOP-7548) ant binary target fails if native has not been built

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

Matt Foley updated HADOOP-7548:
-------------------------------

    Target Version/s: 0.20.206.0
       Fix Version/s:     (was: 0.20.205.0)
    
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

--
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] (HADOOP-7548) ant binary target fails if native has not been built

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501516#comment-13501516 ] 

Matt Foley commented on HADOOP-7548:
------------------------------------

moved target version to 1.2.0 upon publishing 1.1.1 RC.
                
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

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

[jira] [Updated] (HADOOP-7548) ant binary target fails if native has not been built

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

Matt Foley updated HADOOP-7548:
-------------------------------

    Target Version/s: 1.1.1  (was: 1.1.0)
    
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

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

[jira] [Updated] (HADOOP-7548) ant binary target fails if native has not been built

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

Matt Foley updated HADOOP-7548:
-------------------------------

    Target Version/s: 1.2.0  (was: 1.1.1)
    
> ant binary target fails if native has not been built
> ----------------------------------------------------
>
>                 Key: HADOOP-7548
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7548
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Eli Collins
>
> The "binary" target on branch-0.20-security fails with the following, it assumes the native dir exists.
> BUILD FAILED
> /home/eli/src/hadoop-branch-0.20-security/build.xml:1572: /home/eli/src/hadoop-branch-0.20-security/build/hadoop-0.20.206.0-SNAPSHOT/native not found.

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