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 "Joep Rottinghuis (JIRA)" <ji...@apache.org> on 2011/07/29 01:02:09 UTC

[jira] [Created] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
---------------------------------------------------------------------------

                 Key: HDFS-2214
                 URL: https://issues.apache.org/jira/browse/HDFS-2214
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: build
    Affects Versions: 0.22.0
         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
            Reporter: Joep Rottinghuis


The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.

When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
Even during online build, it should compile against the hadoop-common that hdfs compiled against.

When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Joep Rottinghuis updated HDFS-2214:
-----------------------------------

    Attachment: HDFS-2214.patch

Attached updated patch. Should be applied after rolling previous patch back.
Alternatively, HDSF-2214-follow-up.patch could be applied as well. Both should end up with the same.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086783#comment-13086783 ] 

Konstantin Boudnik commented on HDFS-2214:
------------------------------------------

Yes, we'd better rollback the initial patch and then apply a correct one (without manipulations with guava libs). Could you create new correct patch for that?

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089092#comment-13089092 ] 

Hudson commented on HDFS-2214:
------------------------------

Integrated in Hadoop-Hdfs-22-branch #77 (See [https://builds.apache.org/job/Hadoop-Hdfs-22-branch/77/])
    HDFS-2214. Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT. Contributed by Joep Rottinghuis.
HDFS-2214. Revert last patch.

shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1160361
Files : 
* /hadoop/common/branches/branch-0.22/hdfs/ivy/hadoop-hdfs-instrumented-template.xml
* /hadoop/common/branches/branch-0.22/hdfs/ivy/hadoop-hdfs-template.xml
* /hadoop/common/branches/branch-0.22/hdfs/build.xml

shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1160358
Files : 
* /hadoop/common/branches/branch-0.22/hdfs/ivy/hadoop-hdfs-instrumented-template.xml
* /hadoop/common/branches/branch-0.22/hdfs/ivy/hadoop-hdfs-template.xml
* /hadoop/common/branches/branch-0.22/hdfs/build.xml


> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>            Assignee: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Hadoop QA commented on HDFS-2214:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12490583/HDFS-2214.patch
  against trunk revision 1158025.

    +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 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1106//console

This message is automatically generated.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>         Attachments: HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Assigned] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Joep Rottinghuis reassigned HDFS-2214:
--------------------------------------

    Assignee: Joep Rottinghuis

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>            Assignee: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Joep Rottinghuis updated HDFS-2214:
-----------------------------------

    Attachment: HDFS-2214.patch

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>         Attachments: HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Reopened] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Joep Rottinghuis reopened HDFS-2214:
------------------------------------


Need to add back in the guava dependency that was inadvertently dropped. Will attach follow-up patch for this.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086990#comment-13086990 ] 

Joep Rottinghuis commented on HDFS-2214:
----------------------------------------

Ok, I will create a new patch this morning that will apply cleanly after rolling back the initial one.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Konstantin Boudnik updated HDFS-2214:
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

+1 patch looks good and works as expected.

I have just committed it. Thanks Joep.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080511#comment-13080511 ] 

Konstantin Boudnik commented on HDFS-2214:
------------------------------------------

This patch doesn't apply cleanly to 0.22 anymore. Pl. fix and resubmit.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>         Attachments: HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Konstantin Boudnik updated HDFS-2214:
-------------------------------------

    Attachment: HDFS-2214.patch

Fixing some white space issues in the new patch.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>         Attachments: HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Joep Rottinghuis updated HDFS-2214:
-----------------------------------

    Attachment: HDFS-2214-follow-up.patch

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Konstantin Shvachko updated HDFS-2214:
--------------------------------------

    Attachment: HDFS-2214.patch

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>         Attachments: HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Joep Rottinghuis updated HDFS-2214:
-----------------------------------

    Status: Patch Available  (was: Open)

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>         Attachments: HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086232#comment-13086232 ] 

Hudson commented on HDFS-2214:
------------------------------

Integrated in Hadoop-Hdfs-22-branch #76 (See [https://builds.apache.org/job/Hadoop-Hdfs-22-branch/76/])
    HDFS-2214. Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT. Contributed by Joep Rottinghuis.

cos : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1158481
Files : 
* /hadoop/common/branches/branch-0.22/hdfs/ivy/hadoop-hdfs-instrumented-template.xml
* /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.22/hdfs/ivy/hadoop-hdfs-template.xml
* /hadoop/common/branches/branch-0.22/hdfs/build.xml


> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

Posted by "Joep Rottinghuis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086581#comment-13086581 ] 

Joep Rottinghuis commented on HDFS-2214:
----------------------------------------

Somehow in this patch it seems we rolled back HDFS-2189. It looks like we drooped the guava dependency again. I'll have to check today and verify.
If indeed we did, then how to we rectify that situation?
Do we want to roll back this patch and I attach the proper one that does not roll back the guava?

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Konstantin Shvachko updated HDFS-2214:
--------------------------------------

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

Reverted and committed the new patch. Thank you Joep.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Joep Rottinghuis updated HDFS-2214:
-----------------------------------

    Status: Patch Available  (was: Reopened)

HDFS-2214.patch rolls back the HDFS-2189 fix which it should not have. HDFS-2214-follow-up.patch rectifies this.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2214-follow-up.patch, HDFS-2214.patch, HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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

        

[jira] [Commented] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT

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

Hadoop QA commented on HDFS-2214:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12489649/HDFS-2214.patch
  against trunk revision 1155998.

    +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 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1064//console

This message is automatically generated.

> Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-2214
>                 URL: https://issues.apache.org/jira/browse/HDFS-2214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2
>            Reporter: Joep Rottinghuis
>         Attachments: HDFS-2214.patch, HDFS-2214.patch
>
>
> The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on.
> When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar.
> When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo.
> Even during online build, it should compile against the hadoop-common that hdfs compiled against.
> When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs.

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