[jira] [Commented] (HDDS-387) Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test

2018-08-31 Thread Mukul Kumar Singh (JIRA)


[ 
https://issues.apache.org/jira/browse/HDDS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16599476#comment-16599476
 ] 

Mukul Kumar Singh commented on HDDS-387:


Hi [~hanishakoneru], yes thats the idea I had in my mind. 

Also I feel ozonefs package having a dependency on integration test is fine, as 
it is a test only dependency.
I also feel that we should keep all filesystem tests in ozonefs package and 
object store tests inside integration-test package.

> Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test
> --
>
> Key: HDDS-387
> URL: https://issues.apache.org/jira/browse/HDDS-387
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>Reporter: Namit Maheshwari
>Assignee: Namit Maheshwari
>Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-387.001.patch, HDDS-387.002.patch
>
>
> hadoop-ozone-filesystem has dependency on hadoop-ozone-integration-test
> Ideally filesystem modules should not have dependency on test modules.
> This will also have issues while developing Unit Tests and trying to 
> instantiate OzoneFileSystem object inside hadoop-ozone-integration-test, as 
> that will create a circular dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDDS-387) Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test

2018-08-31 Thread genericqa (JIRA)


[ 
https://issues.apache.org/jira/browse/HDDS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16599257#comment-16599257
 ] 

genericqa commented on HDDS-387:


| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
37s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green}  0m 
 0s{color} | {color:green} The patch appears to include 28 new or modified test 
files. {color} |
|| || || || {color:brown} trunk Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  1m  
4s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 23m 
50s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
2s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
24s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 
58s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
13m 26s{color} | {color:green} branch has no errors when building and testing 
our client artifacts. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  
0s{color} | {color:blue} Skipped patched modules with no Java source: 
hadoop-ozone/integration-test {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  0m 
38s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
39s{color} | {color:green} trunk passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
11s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
 0s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
2s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m  
2s{color} | {color:green} the patch passed {color} |
| {color:orange}-0{color} | {color:orange} checkstyle {color} | {color:orange}  
0m 20s{color} | {color:orange} hadoop-ozone: The patch generated 1 new + 0 
unchanged - 0 fixed = 1 total (was 0) {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 
49s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} xml {color} | {color:green}  0m  
5s{color} | {color:green} The patch has no ill-formed XML file. {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
14m 22s{color} | {color:green} patch has no errors when building and testing 
our client artifacts. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  
0s{color} | {color:blue} Skipped patched modules with no Java source: 
hadoop-ozone/integration-test {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  0m 
40s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
38s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  0m 
24s{color} | {color:green} ozonefs in the patch passed. {color} |
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 19m  1s{color} 
| {color:red} integration-test in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
38s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 81m 45s{color} | 
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | hadoop.ozone.scm.TestContainerSQLCli |
|   | hadoop.ozone.TestOzoneConfigurationFields |
|   | hadoop.hdds.scm.container.TestContainerStateManager |
|   | hadoop.ozone.scm.TestXceiverClientManager |
|   | hadoop.ozone.TestMiniOzoneCluster |
|   | hadoop.ozo

[jira] [Commented] (HDDS-387) Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test

2018-08-31 Thread Hanisha Koneru (JIRA)


[ 
https://issues.apache.org/jira/browse/HDDS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16599217#comment-16599217
 ] 

Hanisha Koneru commented on HDDS-387:
-

Hi [~msingh],

If I understand correctly,  you are suggesting we create a MiniO3FSCluster in 
the ozonefs package and MiniOzoneCluster would call this class for FileSystem 
operations?

This is a good idea. This removes the dependency on integration tests from 
ozonefs and also keeps the filesystem tests in the ozonefs package itself.

 

 

> Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test
> --
>
> Key: HDDS-387
> URL: https://issues.apache.org/jira/browse/HDDS-387
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>Reporter: Namit Maheshwari
>Assignee: Namit Maheshwari
>Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-387.001.patch, HDDS-387.002.patch
>
>
> hadoop-ozone-filesystem has dependency on hadoop-ozone-integration-test
> Ideally filesystem modules should not have dependency on test modules.
> This will also have issues while developing Unit Tests and trying to 
> instantiate OzoneFileSystem object inside hadoop-ozone-integration-test, as 
> that will create a circular dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDDS-387) Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test

2018-08-31 Thread Mukul Kumar Singh (JIRA)


[ 
https://issues.apache.org/jira/browse/HDDS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598826#comment-16598826
 ] 

Mukul Kumar Singh commented on HDDS-387:


Thanks for working on this [~nmaheshwari]. The patch is not applying on the 
trunk.

I was thinking if we can extend MiniOzoneCluster to create MiniO3FSCluster and 
used that for filesystem tests ?

> Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test
> --
>
> Key: HDDS-387
> URL: https://issues.apache.org/jira/browse/HDDS-387
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>Reporter: Namit Maheshwari
>Assignee: Namit Maheshwari
>Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-387.001.patch
>
>
> hadoop-ozone-filesystem has dependency on hadoop-ozone-integration-test
> Ideally filesystem modules should not have dependency on test modules.
> This will also have issues while developing Unit Tests and trying to 
> instantiate OzoneFileSystem object inside hadoop-ozone-integration-test, as 
> that will create a circular dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDDS-387) Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test

2018-08-31 Thread genericqa (JIRA)


[ 
https://issues.apache.org/jira/browse/HDDS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598354#comment-16598354
 ] 

genericqa commented on HDDS-387:


| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} 
| {color:red} HDDS-387 does not apply to trunk. Rebase required? Wrong Branch? 
See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDDS-387 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12937836/HDDS-387.001.patch |
| Console output | 
https://builds.apache.org/job/PreCommit-HDDS-Build/897/console |
| Powered by | Apache Yetus 0.8.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test
> --
>
> Key: HDDS-387
> URL: https://issues.apache.org/jira/browse/HDDS-387
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>Reporter: Namit Maheshwari
>Assignee: Namit Maheshwari
>Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-387.001.patch
>
>
> hadoop-ozone-filesystem has dependency on hadoop-ozone-integration-test
> Ideally filesystem modules should not have dependency on test modules.
> This will also have issues while developing Unit Tests and trying to 
> instantiate OzoneFileSystem object inside hadoop-ozone-integration-test, as 
> that will create a circular dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDDS-387) Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test

2018-08-30 Thread Anu Engineer (JIRA)


[ 
https://issues.apache.org/jira/browse/HDDS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598054#comment-16598054
 ] 

Anu Engineer commented on HDDS-387:
---

[~msingh] Could you please take a look at this patch when you get a chance ? 

Thanks

 

> Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test
> --
>
> Key: HDDS-387
> URL: https://issues.apache.org/jira/browse/HDDS-387
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>Reporter: Namit Maheshwari
>Assignee: Namit Maheshwari
>Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-387.001.patch
>
>
> hadoop-ozone-filesystem has dependency on hadoop-ozone-integration-test
> Ideally filesystem modules should not have dependency on test modules.
> This will also have issues while developing Unit Tests and trying to 
> instantiate OzoneFileSystem object inside hadoop-ozone-integration-test, as 
> that will create a circular dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDDS-387) Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test

2018-08-30 Thread Anu Engineer (JIRA)


[ 
https://issues.apache.org/jira/browse/HDDS-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598051#comment-16598051
 ] 

Anu Engineer commented on HDDS-387:
---

Moved to HDDS Jira instead of HDFS. We will need to rename the patch once the 
Jenkins is back.

 

> Remove hadoop-ozone-filesystem dependency on hadoop-ozone-integration-test
> --
>
> Key: HDDS-387
> URL: https://issues.apache.org/jira/browse/HDDS-387
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>Reporter: Namit Maheshwari
>Assignee: Namit Maheshwari
>Priority: Major
> Attachments: HDFS-13887.001.patch
>
>
> hadoop-ozone-filesystem has dependency on hadoop-ozone-integration-test
> Ideally filesystem modules should not have dependency on test modules.
> This will also have issues while developing Unit Tests and trying to 
> instantiate OzoneFileSystem object inside hadoop-ozone-integration-test, as 
> that will create a circular dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org