You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Rohit Rai (JIRA)" <ji...@apache.org> on 2011/03/29 08:38:06 UTC

[jira] [Created] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

whirr-hadoop project POM file refers to hadoop-test using system path
---------------------------------------------------------------------

                 Key: WHIRR-272
                 URL: https://issues.apache.org/jira/browse/WHIRR-272
             Project: Whirr
          Issue Type: Bug
          Components: service/hadoop
    Affects Versions: 0.3.0
            Reporter: Rohit Rai


whirr-hadoop project POM file refers to hadoop-test using system path

    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-test</artifactId>
      <version>0.20.3-SNAPSHOT</version>
      <scope>system</scope>
      <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
    </dependency>

This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Issue Comment Edited] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

Posted by "Rohit Rai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012351#comment-13012351 ] 

Rohit Rai edited comment on WHIRR-272 at 3/29/11 6:45 AM:
----------------------------------------------------------

This can easily be fixed using the hadoop-test jar available in maven repo. I am not sure how to attach a patch file here, som am paasting it below. We have to remove the two lines refering to system scope and systemPath in the POM file -

-      <scope>system</scope>
-      <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>

Patch:



--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -110,8 +110,6 @@
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-test</artifactId>
       <version>0.20.3-SNAPSHOT</version>
-      <scope>system</scope>
-      <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
     </dependency>
   </dependencies>
 </project>

      was (Author: rohitbrai):
    This can easily be fixed using the hadoop-test jar available in maven repo.


--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -110,8 +110,6 @@
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-test</artifactId>
       <version>0.20.3-SNAPSHOT</version>
-      <scope>system</scope>
-      <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
     </dependency>
   </dependencies>
 </project>
  
> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>              Labels: build, maven, pom
>             Fix For: 0.3.0, 0.4.0, 0.5.0
>
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Commented] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012436#comment-13012436 ] 

Andrei Savu commented on WHIRR-272:
-----------------------------------

It's easy to build a patch. Check the "How to Contribute" page from the Wiki:

https://cwiki.apache.org/confluence/display/WHIRR/How+To+Contribute

If I apply your patch the compilation fails. 

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>            Priority: Trivial
>              Labels: build, maven, pom
>             Fix For: 0.3.0, 0.4.0, 0.5.0
>
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Updated] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

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

Rohit Rai updated WHIRR-272:
----------------------------

    Priority: Trivial  (was: Major)

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>            Priority: Trivial
>              Labels: build, maven, pom
>             Fix For: 0.3.0, 0.4.0, 0.5.0
>
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Resolved] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

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

Rohit Rai resolved WHIRR-272.
-----------------------------

    Resolution: Invalid

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>            Priority: Trivial
>              Labels: build, maven, pom
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Updated] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

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

Rohit Rai updated WHIRR-272:
----------------------------

        Fix Version/s:     (was: 0.5.0)
    Affects Version/s: 0.3.0
               Status: Open  (was: Patch Available)

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>            Priority: Trivial
>              Labels: build, maven, pom
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Updated] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

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

Andrei Savu updated WHIRR-272:
------------------------------

    Affects Version/s:     (was: 0.3.0)
        Fix Version/s:     (was: 0.4.0)
                           (was: 0.3.0)

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>            Reporter: Rohit Rai
>            Priority: Trivial
>              Labels: build, maven, pom
>             Fix For: 0.5.0
>
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Commented] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

Posted by "Rohit Rai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13013863#comment-13013863 ] 

Rohit Rai commented on WHIRR-272:
---------------------------------

Yes... The issue was the maven cache on my system was providing it with the local cached hadoop-test jar.

The issue is that the hadoop-test package in repository is outdated, last updated in march 2010 and doesn't include the new code, hence the build complains about the missing methods. After the last build (20.3-SNAPSHOT) the package is now split into hadoop-ccore-test, hadoop-hdfs-test and hadoop-mapred-test.

But to use these tests we will have to update to haadoop > 0.21.0-SNAPSHOT and it may not be acceptable since they are a development builds. So I think the only thing we can do is to wait for next hadoop release to come.

Cancelling the patch. Closing the issue. Sorry for the wrong red flag guys.

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>            Priority: Trivial
>              Labels: build, maven, pom
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Updated] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

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

Rohit Rai updated WHIRR-272:
----------------------------

    Fix Version/s: 0.3.0
                   0.5.0
                   0.4.0
           Status: Patch Available  (was: Open)

This can easily be fixed using the hadoop-test jar available in maven repo.


--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -110,8 +110,6 @@
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-test</artifactId>
       <version>0.20.3-SNAPSHOT</version>
-      <scope>system</scope>
-      <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
     </dependency>
   </dependencies>
 </project>

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>              Labels: build, maven, pom
>             Fix For: 0.4.0, 0.5.0, 0.3.0
>
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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

[jira] [Commented] (WHIRR-272) whirr-hadoop project POM file refers to hadoop-test using system path

Posted by "Rohit Rai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012590#comment-13012590 ] 

Rohit Rai commented on WHIRR-272:
---------------------------------

Sorry, I read the instructions but missed out the "attaching the patch to the issue with Attach File". 

Since the jar is now available in the Maven Repo this change should not effect the build process. I tried it on my system in office today.

But since it doesn't work for you, I'll try again tomorrow. May be should clean the maven cache before running the build. Will update this issue again tomorrow.

> whirr-hadoop project POM file refers to hadoop-test using system path
> ---------------------------------------------------------------------
>
>                 Key: WHIRR-272
>                 URL: https://issues.apache.org/jira/browse/WHIRR-272
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.3.0
>            Reporter: Rohit Rai
>            Priority: Trivial
>              Labels: build, maven, pom
>             Fix For: 0.3.0, 0.4.0, 0.5.0
>
>
> whirr-hadoop project POM file refers to hadoop-test using system path
>     <dependency>
>       <groupId>org.apache.hadoop</groupId>
>       <artifactId>hadoop-test</artifactId>
>       <version>0.20.3-SNAPSHOT</version>
>       <scope>system</scope>
>       <systemPath>${basedir}/lib/hadoop-test-0.20.3-SNAPSHOT.jar</systemPath>
>     </dependency>
> This causes issues when we try to view dependency graph of the file or in using it as a library.

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