You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amir Sanjar (JIRA)" <ji...@apache.org> on 2012/09/13 15:32:07 UTC
[jira] [Created] (MAPREDUCE-4653) TestRandomAlgorithm has an unused
"import" statement
Amir Sanjar created MAPREDUCE-4653:
--------------------------------------
Summary: TestRandomAlgorithm has an unused "import" statement
Key: MAPREDUCE-4653
URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: contrib/gridmix
Affects Versions: 1.0.3
Environment: hadoop 1.0.3 on any platform
Reporter: Amir Sanjar
Priority: Trivial
Fix For: 1.0.3
need to remove the import statement usinf below patch. will attach a patch shortly .
Index: TestRandomAlgorithm.java
===================================================================
--- TestRandomAlgorithm.java (revision 1380737)
+++ TestRandomAlgorithm.java (working copy)
@@ -30,8 +30,6 @@
import org.junit.Test;
-import com.sun.tools.javac.code.Attribute.Array;
-
public class TestRandomAlgorithm {
private static final int[][] parameters = new int[][] {
{5, 1, 1},
--
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] [Commented] (MAPREDUCE-4653) TestRandomAlgorithm has an
unused "import" statement
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455096#comment-13455096 ]
Aaron T. Myers commented on MAPREDUCE-4653:
-------------------------------------------
Hi Amir, when posting a patch you should create the diff from the root directory of the repository. Mind posting an updated patch?
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] [Commented] (MAPREDUCE-4653) TestRandomAlgorithm has an
unused "import" statement
Posted by "Amir Sanjar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455185#comment-13455185 ]
Amir Sanjar commented on MAPREDUCE-4653:
----------------------------------------
done, thx
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch, MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] (MAPREDUCE-4653) TestRandomAlgorithm has an unused
"import" statement
Posted by "Amir Sanjar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amir Sanjar updated MAPREDUCE-4653:
-----------------------------------
Attachment: MAPREDUCE-4653.patch
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] (MAPREDUCE-4653) TestRandomAlgorithm has an unused
"import" statement
Posted by "Amir Sanjar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amir Sanjar updated MAPREDUCE-4653:
-----------------------------------
Attachment: MAPREDUCE-4653.patch
pathc from TRUNK
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch, MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] [Commented] (MAPREDUCE-4653) TestRandomAlgorithm has an
unused "import" statement
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455334#comment-13455334 ]
Hadoop QA commented on MAPREDUCE-4653:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12545053/MAPREDUCE-4653.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 1 new or modified test files.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
-1 findbugs. The patch appears to introduce 11 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 passed unit tests in hadoop-tools/hadoop-gridmix.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2851//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2851//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-gridmix.html
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2851//console
This message is automatically generated.
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] [Commented] (MAPREDUCE-4653) TestRandomAlgorithm has an
unused "import" statement
Posted by "Amir Sanjar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455171#comment-13455171 ]
Amir Sanjar commented on MAPREDUCE-4653:
----------------------------------------
sure will do..
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] [Assigned] (MAPREDUCE-4653) TestRandomAlgorithm has an
unused "import" statement
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers reassigned MAPREDUCE-4653:
-----------------------------------------
Assignee: Amir Sanjar
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] (MAPREDUCE-4653) TestRandomAlgorithm has an unused
"import" statement
Posted by "Amir Sanjar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amir Sanjar updated MAPREDUCE-4653:
-----------------------------------
Attachment: MAPREDUCE-4653.patch
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] [Commented] (MAPREDUCE-4653) TestRandomAlgorithm has an
unused "import" statement
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455190#comment-13455190 ]
Aaron T. Myers commented on MAPREDUCE-4653:
-------------------------------------------
Hi Amir, it looks like you've now posted a patch for the trunk branch, which is good, but you should still be creating a patch based in the root of the repository directory structure, i.e. the diff you make should include the full path to TestRandomAlgorithm.java, not just the file name.
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch, MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] (MAPREDUCE-4653) TestRandomAlgorithm has an unused
"import" statement
Posted by "Amir Sanjar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amir Sanjar updated MAPREDUCE-4653:
-----------------------------------
Attachment: (was: MAPREDUCE-4653.patch)
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] (MAPREDUCE-4653) TestRandomAlgorithm has an unused
"import" statement
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers updated MAPREDUCE-4653:
--------------------------------------
Target Version/s: 3.0.0
Status: Patch Available (was: Open)
That looks better. Marking this patch available so that test-patch runs.
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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] [Commented] (MAPREDUCE-4653) TestRandomAlgorithm has an
unused "import" statement
Posted by "Amir Sanjar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455283#comment-13455283 ]
Amir Sanjar commented on MAPREDUCE-4653:
----------------------------------------
sorry, I hope this one is okay :)
> TestRandomAlgorithm has an unused "import" statement
> -----------------------------------------------------
>
> Key: MAPREDUCE-4653
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4653
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/gridmix
> Affects Versions: 1.0.3
> Environment: hadoop 1.0.3 on any platform
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Trivial
> Fix For: 1.0.3
>
> Attachments: MAPREDUCE-4653.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> need to remove the import statement usinf below patch. will attach a patch shortly .
>
> Index: TestRandomAlgorithm.java
> ===================================================================
> --- TestRandomAlgorithm.java (revision 1380737)
> +++ TestRandomAlgorithm.java (working copy)
> @@ -30,8 +30,6 @@
>
> import org.junit.Test;
>
> -import com.sun.tools.javac.code.Attribute.Array;
> -
> public class TestRandomAlgorithm {
> private static final int[][] parameters = new int[][] {
> {5, 1, 1},
--
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