You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2011/06/01 19:56:47 UTC
[jira] [Created] (HDFS-2022) ant binary fails due to missing c++
lib dir
ant binary fails due to missing c++ lib dir
-------------------------------------------
Key: HDFS-2022
URL: https://issues.apache.org/jira/browse/HDFS-2022
Project: Hadoop HDFS
Issue Type: Bug
Components: build
Affects Versions: 0.23.0
Reporter: Eli Collins
Fix For: 0.23.0
Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
{noformat}
/home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2022) ant binary should build libhdfs
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HDFS-2022:
------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I've committed this. Thanks Eric!
> ant binary should build libhdfs
> -------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2022) ant binary fails due to missing c++
lib dir
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042344#comment-13042344 ]
Owen O'Malley commented on HDFS-2022:
-------------------------------------
It sounds reasonable for the bin-package depend on the compile-c++-libhdfs.
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Fix For: 0.23.0
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2022) ant binary fails due to missing c++
lib dir
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated HDFS-2022:
----------------------------
Attachment: HDFS-2022.patch
Modifies binary target to depend on compile-c++-libhdfs target.
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Fix For: 0.23.0
>
> Attachments: HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2022) ant binary should build libhdfs
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043325#comment-13043325 ]
Hudson commented on HDFS-2022:
------------------------------
Integrated in Hadoop-Hdfs-trunk #686 (See [https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/686/])
HDFS-2022. ant binary should build libhdfs. Contributed by Eric Yang
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1130734
Files :
* /hadoop/hdfs/trunk/build.xml
* /hadoop/hdfs/trunk/CHANGES.txt
> ant binary should build libhdfs
> -------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2022) ant binary fails due to missing c++
lib dir
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042983#comment-13042983 ]
Eli Collins commented on HDFS-2022:
-----------------------------------
+1 lgtm
TestBackupNode failure is unrelated. This doesn't need a test since it's a build change. I built locally and verified the binary tarball contains libhdfs.
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2022) ant binary should build libhdfs
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042999#comment-13042999 ]
Hudson commented on HDFS-2022:
------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #706 (See [https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/706/])
HDFS-2022. ant binary should build libhdfs. Contributed by Eric Yang
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1130734
Files :
* /hadoop/hdfs/trunk/build.xml
* /hadoop/hdfs/trunk/CHANGES.txt
> ant binary should build libhdfs
> -------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2022) ant binary fails due to missing c++
lib dir
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042974#comment-13042974 ]
Hadoop QA commented on HDFS-2022:
---------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12481257/HDFS-2022.patch
against trunk revision 1130667.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these core unit tests:
org.apache.hadoop.hdfs.server.namenode.TestBackupNode
+1 contrib tests. The patch passed contrib unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/689//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/689//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/689//console
This message is automatically generated.
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2022) ant binary fails due to missing c++
lib dir
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated HDFS-2022:
----------------------------
Attachment: HDFS-2022-1.patch
Rename: {noformat}set-compile-c++-flag{noformat} to {noformat}set-c++-libhdfs{noformat}
Remove {noformat}check-c++-libhdfs{noformat}, as long as libhdfs is defined, then it will compile libhdfs libraries.
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2022) ant binary should build libhdfs
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HDFS-2022:
------------------------------
Hadoop Flags: [Reviewed]
Summary: ant binary should build libhdfs (was: ant binary fails due to missing c++ lib dir)
> ant binary should build libhdfs
> -------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2022) ant binary fails due to missing c++
lib dir
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated HDFS-2022:
----------------------------
Assignee: Eric Yang
Status: Patch Available (was: Open)
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2022) ant binary should build libhdfs
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043008#comment-13043008 ]
Hadoop QA commented on HDFS-2022:
---------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12481270/HDFS-2022-1.patch
against trunk revision 1130693.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these core unit tests:
org.apache.hadoop.hdfs.TestLeaseRenewer
+1 contrib tests. The patch passed contrib unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/691//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/691//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/691//console
This message is automatically generated.
> ant binary should build libhdfs
> -------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022-1.patch, HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2022) ant binary fails due to missing c++
lib dir
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042915#comment-13042915 ]
Eli Collins commented on HDFS-2022:
-----------------------------------
Nit: perhaps rename "set-compile-c++-flag" "set-c++-libhdfs" since it just sets islibhdfs.
Can we remove "check-c++-libhdfs" entirely? It looks like it doesn't do anything since it's used in the depends attribute of the target, and the if attribute already checks islibhdfs.
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: HDFS-2022
> URL: https://issues.apache.org/jira/browse/HDFS-2022
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: HDFS-2022.patch
>
>
> Post HDFS-1963 ant binary fails w/ the following. The bin-package is trying to copy from the c++ lib dir which doesn't exist yet. The binary target should check for the existence of this dir or would also be reasonable to depend on the compile-c++-libhdfs (since this is the binary target).
> {noformat}
> /home/eli/src/hdfs4/build.xml:1115: /home/eli/src/hdfs4/build/c++/Linux-amd64-64/lib not found.
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira