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 "Huy Phan (JIRA)" <ji...@apache.org> on 2009/06/17 12:30:08 UTC

[jira] Created: (HADOOP-6067) Cannot build HDFS library using ant

Cannot build HDFS library using ant
-----------------------------------

                 Key: HADOOP-6067
                 URL: https://issues.apache.org/jira/browse/HADOOP-6067
             Project: Hadoop Core
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.21.0
            Reporter: Huy Phan


As latest revison of Scribe requires trunk source code from Hadoop, I have to build the HDFS library manually using ant.
I notice that the target name was changed to compile-c++-libhdfs ( it was compile-libhdfs before ).

Then I use the following command : 
$ ant compile-c++-libhdfs -Dlibhdfs=1
$ ant package
$ ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1

I got this error message : 
/root/hadoop_trunk/src/contrib/fuse-dfs/build.xml:37: libhdfs.so does not exist:
Seems that the libhdfs.so should be built after "ant package" but it's not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-6067) Cannot build HDFS library using ant

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

Phan Dac Anh Huy resolved HADOOP-6067.
--------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Incompatible change]

> Cannot build HDFS library using ant
> -----------------------------------
>
>                 Key: HADOOP-6067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6067
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.21.0
>            Reporter: Phan Dac Anh Huy
>
> As latest revison of Scribe requires trunk source code from Hadoop, I have to build the HDFS library manually using ant.
> I notice that the target name was changed to compile-c++-libhdfs ( it was compile-libhdfs before ).
> Then I use the following command : 
> $ ant compile-c++-libhdfs -Dlibhdfs=1
> $ ant package
> $ ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1
> I got this error message : 
> /root/hadoop_trunk/src/contrib/fuse-dfs/build.xml:37: libhdfs.so does not exist:
> Seems that the libhdfs.so should be built after "ant package" but it's not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6067) Cannot build HDFS library using ant

Posted by "Phan Dac Anh Huy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721050#action_12721050 ] 

Phan Dac Anh Huy commented on HADOOP-6067:
------------------------------------------

This problem is solved, the right command to build libhdfs library is 
$ ant compile-c++-libhdfs -Dislibhdfs=1
Can someone update the manual page accordingly 



> Cannot build HDFS library using ant
> -----------------------------------
>
>                 Key: HADOOP-6067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6067
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.21.0
>            Reporter: Phan Dac Anh Huy
>
> As latest revison of Scribe requires trunk source code from Hadoop, I have to build the HDFS library manually using ant.
> I notice that the target name was changed to compile-c++-libhdfs ( it was compile-libhdfs before ).
> Then I use the following command : 
> $ ant compile-c++-libhdfs -Dlibhdfs=1
> $ ant package
> $ ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1
> I got this error message : 
> /root/hadoop_trunk/src/contrib/fuse-dfs/build.xml:37: libhdfs.so does not exist:
> Seems that the libhdfs.so should be built after "ant package" but it's not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.