[jira] [Work logged] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?focusedWorklogId=591869=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-591869
 ]

ASF GitHub Bot logged work on MAPREDUCE-7342:
-

Author: ASF GitHub Bot
Created on: 01/May/21 12:00
Start Date: 01/May/21 12:00
Worklog Time Spent: 10m 
  Work Description: hadoop-yetus commented on pull request #2968:
URL: https://github.com/apache/hadoop/pull/2968#issuecomment-830621028


   :confetti_ball: **+1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |::|--:|:|::|:---:|
   | +0 :ok: |  reexec  |   1m  2s |  |  Docker mode activated.  |
    _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files 
found.  |
   | +0 :ok: |  codespell  |   0m  1s |  |  codespell was not available.  |
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain 
any @author tags.  |
   | +1 :green_heart: |  test4tests  |   0m  0s |  |  The patch appears to 
include 1 new or modified test files.  |
    _ trunk Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |  34m 26s |  |  trunk passed  |
   | +1 :green_heart: |  compile  |   0m 37s |  |  trunk passed with JDK 
Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04  |
   | +1 :green_heart: |  compile  |   0m 33s |  |  trunk passed with JDK 
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08  |
   | +1 :green_heart: |  checkstyle  |   0m 34s |  |  trunk passed  |
   | +1 :green_heart: |  mvnsite  |   0m 37s |  |  trunk passed  |
   | +1 :green_heart: |  javadoc  |   0m 28s |  |  trunk passed with JDK 
Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04  |
   | +1 :green_heart: |  javadoc  |   0m 25s |  |  trunk passed with JDK 
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08  |
   | +1 :green_heart: |  spotbugs  |   0m 49s |  |  trunk passed  |
   | +1 :green_heart: |  shadedclient  |  13m 47s |  |  branch has no errors 
when building and testing our client artifacts.  |
    _ Patch Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |   0m 30s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 28s |  |  the patch passed with JDK 
Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04  |
   | +1 :green_heart: |  javac  |   0m 28s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 26s |  |  the patch passed with JDK 
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08  |
   | +1 :green_heart: |  javac  |   0m 26s |  |  the patch passed  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks 
issues.  |
   | +1 :green_heart: |  checkstyle  |   0m 25s |  |  the patch passed  |
   | +1 :green_heart: |  mvnsite  |   0m 28s |  |  the patch passed  |
   | +1 :green_heart: |  javadoc  |   0m 18s |  |  the patch passed with JDK 
Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04  |
   | +1 :green_heart: |  javadoc  |   0m 18s |  |  the patch passed with JDK 
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08  |
   | +1 :green_heart: |  spotbugs  |   0m 50s |  |  the patch passed  |
   | +1 :green_heart: |  shadedclient  |  13m 39s |  |  patch has no errors 
when building and testing our client artifacts.  |
    _ Other Tests _ |
   | +1 :green_heart: |  unit  | 134m 59s |  |  
hadoop-mapreduce-client-jobclient in the patch passed.  |
   | +1 :green_heart: |  asflicense  |   0m 41s |  |  The patch does not 
generate ASF License warnings.  |
   |  |   | 207m 59s |  |  |
   
   
   | Subsystem | Report/Notes |
   |--:|:-|
   | Docker | ClientAPI=1.41 ServerAPI=1.41 base: 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2968/1/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/2968 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall 
mvnsite unit shadedclient spotbugs checkstyle codespell |
   | uname | Linux d8bd48a72748 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 
17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | trunk / bb83171934c16ae3491970fce324fabf2351204c |
   | Default Java | Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08 |
   | Multi-JDK versions | 
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 
/usr/lib/jvm/java-8-openjdk-amd64:Private 
Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08 |
   |  Test Results | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2968/1/testReport/ |
   | Max. process+thread count | 1333 (vs. ulimit of 5500) |
   | modules | C: 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient
 U: 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient
 |
   | Console output | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2968/1/console |
   | versions 

[jira] [Commented] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread Hadoop QA (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17337764#comment-17337764
 ] 

Hadoop QA commented on MAPREDUCE-7342:
--

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime ||  Logfile || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue}{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} docker {color} | {color:red}  1m  
0s{color} | {color:red}{color} | {color:red} Docker failed to build 
yetus/hadoop:1886bab0f15. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | MAPREDUCE-7342 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/13024874/MAPREDUCE-7342-master.001.patch
 |
| Console output | 
https://ci-hadoop.apache.org/job/PreCommit-MAPREDUCE-Build/74/console |
| versions | git=2.17.1 |
| Powered by | Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org |


This message was automatically generated.



> Non-idempotent test in TestClientRedirect
> -
>
> Key: MAPREDUCE-7342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
> Project: Hadoop Map/Reduce
>  Issue Type: Test
>Reporter: Zhengxi Li
>Assignee: Zhengxi Li
>Priority: Minor
>  Labels: pull-request-available
> Attachments: MAPREDUCE-7342-master.001.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect}}** is 
> not idempotent and fail if run twice in the same JVM, because it pollutes 
> some states shared among tests. It may be good to clean this state pollution 
> so that some other tests do not fail in the future due to the shared state 
> polluted by this test.
> h3. Detail
> Running *{{TestClientRedirect.testRedirect}}* twice would result in the 
> second run failing due to the following assertion error:
> {noformat}
> INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
> - Service test failed in state STARTED
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: 
> Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
> use
> {noformat}
> The root cause is that the RM server listening on port 8054) is started in 
> the first run of this test, but hasn't been stopped when the test finishes. 
> In the second run, when the test is trying to start the RMService, it fails 
> because port 8054 is already in use, leading to the exception.
> PR link: https://github.com/apache/hadoop/pull/2968



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread Zhengxi Li (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhengxi Li updated MAPREDUCE-7342:
--
Status: Patch Available  (was: In Progress)

> Non-idempotent test in TestClientRedirect
> -
>
> Key: MAPREDUCE-7342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
> Project: Hadoop Map/Reduce
>  Issue Type: Test
>Reporter: Zhengxi Li
>Assignee: Zhengxi Li
>Priority: Minor
>  Labels: pull-request-available
> Attachments: MAPREDUCE-7342-master.001.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect}}** is 
> not idempotent and fail if run twice in the same JVM, because it pollutes 
> some states shared among tests. It may be good to clean this state pollution 
> so that some other tests do not fail in the future due to the shared state 
> polluted by this test.
> h3. Detail
> Running *{{TestClientRedirect.testRedirect}}* twice would result in the 
> second run failing due to the following assertion error:
> {noformat}
> INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
> - Service test failed in state STARTED
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: 
> Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
> use
> {noformat}
> The root cause is that the RM server listening on port 8054) is started in 
> the first run of this test, but hasn't been stopped when the test finishes. 
> In the second run, when the test is trying to start the RMService, it fails 
> because port 8054 is already in use, leading to the exception.
> PR link: https://github.com/apache/hadoop/pull/2968



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread Zhengxi Li (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhengxi Li updated MAPREDUCE-7342:
--
Attachment: MAPREDUCE-7342-master.001.patch

> Non-idempotent test in TestClientRedirect
> -
>
> Key: MAPREDUCE-7342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
> Project: Hadoop Map/Reduce
>  Issue Type: Test
>Reporter: Zhengxi Li
>Assignee: Zhengxi Li
>Priority: Minor
>  Labels: pull-request-available
> Attachments: MAPREDUCE-7342-master.001.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect}}** is 
> not idempotent and fail if run twice in the same JVM, because it pollutes 
> some states shared among tests. It may be good to clean this state pollution 
> so that some other tests do not fail in the future due to the shared state 
> polluted by this test.
> h3. Detail
> Running *{{TestClientRedirect.testRedirect}}* twice would result in the 
> second run failing due to the following assertion error:
> {noformat}
> INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
> - Service test failed in state STARTED
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: 
> Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
> use
> {noformat}
> The root cause is that the RM server listening on port 8054) is started in 
> the first run of this test, but hasn't been stopped when the test finishes. 
> In the second run, when the test is trying to start the RMService, it fails 
> because port 8054 is already in use, leading to the exception.
> PR link: https://github.com/apache/hadoop/pull/2968



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread Zhengxi Li (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhengxi Li updated MAPREDUCE-7342:
--
Description: 
The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect}}** is 
not idempotent and fail if run twice in the same JVM, because it pollutes some 
states shared among tests. It may be good to clean this state pollution so that 
some other tests do not fail in the future due to the shared state polluted by 
this test.
h3. Detail

Running *{{TestClientRedirect.testRedirect}}* twice would result in the second 
run failing due to the following assertion error:
{noformat}
INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) - 
Service test failed in state STARTED
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: 

Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in use
{noformat}
The root cause is that the RM server listening on port 8054) is started in the 
first run of this test, but hasn't been stopped when the test finishes. In the 
second run, when the test is trying to start the RMService, it fails because 
port 8054 is already in use, leading to the exception.

PR link: https://github.com/apache/hadoop/pull/2968

  was:
The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect*}}* is 
not idempotent and fail if run twice in the same JVM, because it pollutes some 
states shared among tests. It may be good to clean this state pollution so that 
some other tests do not fail in the future due to the shared state polluted by 
this test.
h3. Detail

Running *{{TestClientRedirect.testRedirect}}* twice would result in the second 
run failing due to the following assertion error:
{noformat}
INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) - 
Service test failed in state STARTED
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: 

Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in use
{noformat}
The root cause is that the RM server listening on port 8054) is started in the 
first run of this test, but hasn't been stopped when the test finishes. In the 
second run, when the test is trying to start the RMService, it fails because 
port 8054 is already in use, leading to the exception.

PR link: [TBD]


> Non-idempotent test in TestClientRedirect
> -
>
> Key: MAPREDUCE-7342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
> Project: Hadoop Map/Reduce
>  Issue Type: Test
>Reporter: Zhengxi Li
>Assignee: Zhengxi Li
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect}}** is 
> not idempotent and fail if run twice in the same JVM, because it pollutes 
> some states shared among tests. It may be good to clean this state pollution 
> so that some other tests do not fail in the future due to the shared state 
> polluted by this test.
> h3. Detail
> Running *{{TestClientRedirect.testRedirect}}* twice would result in the 
> second run failing due to the following assertion error:
> {noformat}
> INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
> - Service test failed in state STARTED
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: 
> Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
> use
> {noformat}
> The root cause is that the RM server listening on port 8054) is started in 
> the first run of this test, but hasn't been stopped when the test finishes. 
> In the second run, when the test is trying to start the RMService, it fails 
> because port 8054 is already in use, leading to the exception.
> PR link: https://github.com/apache/hadoop/pull/2968



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Work started] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread Zhengxi Li (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on MAPREDUCE-7342 started by Zhengxi Li.
-
> Non-idempotent test in TestClientRedirect
> -
>
> Key: MAPREDUCE-7342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
> Project: Hadoop Map/Reduce
>  Issue Type: Test
>Reporter: Zhengxi Li
>Assignee: Zhengxi Li
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect}}** is 
> not idempotent and fail if run twice in the same JVM, because it pollutes 
> some states shared among tests. It may be good to clean this state pollution 
> so that some other tests do not fail in the future due to the shared state 
> polluted by this test.
> h3. Detail
> Running *{{TestClientRedirect.testRedirect}}* twice would result in the 
> second run failing due to the following assertion error:
> {noformat}
> INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
> - Service test failed in state STARTED
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: 
> Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
> use
> {noformat}
> The root cause is that the RM server listening on port 8054) is started in 
> the first run of this test, but hasn't been stopped when the test finishes. 
> In the second run, when the test is trying to start the RMService, it fails 
> because port 8054 is already in use, leading to the exception.
> PR link: https://github.com/apache/hadoop/pull/2968



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated MAPREDUCE-7342:
--
Labels: pull-request-available  (was: )

> Non-idempotent test in TestClientRedirect
> -
>
> Key: MAPREDUCE-7342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
> Project: Hadoop Map/Reduce
>  Issue Type: Test
>Reporter: Zhengxi Li
>Assignee: Zhengxi Li
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect*}}* is 
> not idempotent and fail if run twice in the same JVM, because it pollutes 
> some states shared among tests. It may be good to clean this state pollution 
> so that some other tests do not fail in the future due to the shared state 
> polluted by this test.
> h3. Detail
> Running *{{TestClientRedirect.testRedirect}}* twice would result in the 
> second run failing due to the following assertion error:
> {noformat}
> INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
> - Service test failed in state STARTED
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: 
> Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
> use
> {noformat}
> The root cause is that the RM server listening on port 8054) is started in 
> the first run of this test, but hasn't been stopped when the test finishes. 
> In the second run, when the test is trying to start the RMService, it fails 
> because port 8054 is already in use, leading to the exception.
> PR link: [TBD]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Work logged] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7342?focusedWorklogId=591823=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-591823
 ]

ASF GitHub Bot logged work on MAPREDUCE-7342:
-

Author: ASF GitHub Bot
Created on: 01/May/21 08:30
Start Date: 01/May/21 08:30
Worklog Time Spent: 10m 
  Work Description: lzx404243 opened a new pull request #2968:
URL: https://github.com/apache/hadoop/pull/2968


   The test `org.apache.hadoop.mapred.TestClientRedirect.testRedirect` is not 
idempotent and fail if run twice in the same JVM, because it pollutes some 
states shared among tests. It may be good to clean this state pollution so that 
some other tests do not fail in the future due to the shared state polluted by 
this test.
   
   ### Detail
   Running `TestClientRedirect.testRedirect` twice would result in the second 
run failing due to the following assertion error:
   ```
   INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
- Service test failed in state STARTED
   org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
java.net.BindException: 
   
   Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
use
   ```
   The root cause is that the RM server listening on port 8054 is started in 
the first run of this test, but hasn't been stopped when the test finishes. In 
the second run, when the test is trying to start the RMService, it fails 
because port 8054 is already in use, leading to the exception.
   
   The suggested fix is to stop the RM server in the added overridden method 
`RMService.serviceStop()`.
   
   With the proposed fix, the test does not pollute the shared state (and 
passes when run twice in the same JVM).
   
   JIRA link: 
[MAPREDUCE-7342](https://issues.apache.org/jira/browse/MAPREDUCE-7342)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 591823)
Remaining Estimate: 0h
Time Spent: 10m

> Non-idempotent test in TestClientRedirect
> -
>
> Key: MAPREDUCE-7342
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
> Project: Hadoop Map/Reduce
>  Issue Type: Test
>Reporter: Zhengxi Li
>Assignee: Zhengxi Li
>Priority: Minor
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect*}}* is 
> not idempotent and fail if run twice in the same JVM, because it pollutes 
> some states shared among tests. It may be good to clean this state pollution 
> so that some other tests do not fail in the future due to the shared state 
> polluted by this test.
> h3. Detail
> Running *{{TestClientRedirect.testRedirect}}* twice would result in the 
> second run failing due to the following assertion error:
> {noformat}
> INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) 
> - Service test failed in state STARTED
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> java.net.BindException: 
> Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in 
> use
> {noformat}
> The root cause is that the RM server listening on port 8054) is started in 
> the first run of this test, but hasn't been stopped when the test finishes. 
> In the second run, when the test is trying to start the RMService, it fails 
> because port 8054 is already in use, leading to the exception.
> PR link: [TBD]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (MAPREDUCE-7342) Non-idempotent test in TestClientRedirect

2021-05-01 Thread Zhengxi Li (Jira)
Zhengxi Li created MAPREDUCE-7342:
-

 Summary: Non-idempotent test in TestClientRedirect
 Key: MAPREDUCE-7342
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7342
 Project: Hadoop Map/Reduce
  Issue Type: Test
Reporter: Zhengxi Li
Assignee: Zhengxi Li


The test *{{*org.apache.hadoop.mapred.TestClientRedirect.testRedirect*}}* is 
not idempotent and fail if run twice in the same JVM, because it pollutes some 
states shared among tests. It may be good to clean this state pollution so that 
some other tests do not fail in the future due to the shared state polluted by 
this test.
h3. Detail

Running *{{TestClientRedirect.testRedirect}}* twice would result in the second 
run failing due to the following assertion error:
{noformat}
INFO  [main] service.AbstractService (AbstractService.java:noteFailure(267)) - 
Service test failed in state STARTED
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: java.net.BindException: 

Problem binding to [0.0.0.0:8054] java.net.BindException: Address already in use
{noformat}
The root cause is that the RM server listening on port 8054) is started in the 
first run of this test, but hasn't been stopped when the test finishes. In the 
second run, when the test is trying to start the RMService, it fails because 
port 8054 is already in use, leading to the exception.

PR link: [TBD]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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