[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=689294=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-689294 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 02/Dec/21 13:41 Start Date: 02/Dec/21 13:41 Worklog Time Spent: 10m Work Description: ayushtkn commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-984637506 Merged, Thanx Everyone!!! -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 689294) Time Spent: 4h (was: 3h 50m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 4h > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=689293=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-689293 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 02/Dec/21 13:40 Start Date: 02/Dec/21 13:40 Worklog Time Spent: 10m Work Description: ayushtkn merged pull request #3731: URL: https://github.com/apache/hadoop/pull/3731 -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 689293) Time Spent: 3h 50m (was: 3h 40m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 3h 50m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688986=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688986 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 02/Dec/21 01:04 Start Date: 02/Dec/21 01:04 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-984198195 Thanks @ayushtkn and @goiri for the discussion. I think it makes sense, and we should optimize it. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688986) Time Spent: 3h 40m (was: 3.5h) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 3h 40m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688964=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688964 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 01/Dec/21 23:27 Start Date: 01/Dec/21 23:27 Worklog Time Spent: 10m Work Description: goiri commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-984151180 > Makes sense, it was initialy implemented itself to try once only even in case of fault tolerance. This PR is just fixing that behaviour. Will raise a jira to track the change the retry mechanism to all available Namespaces… > > @goiri does that makes sense? Yes, let's fix the current behavior and open a new JIRA with the general retry issue. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688964) Time Spent: 3.5h (was: 3h 20m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 3.5h > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688743=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688743 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 01/Dec/21 15:37 Start Date: 01/Dec/21 15:37 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-983762725 > One doubt here: What I could decode, We try on the default namespace, if it fails. We do: > > ``` > Set nssWithoutFailed = getNameSpaceInfo(nss, nsId); > return invokeOnNs(method, clazz, ioe, nssWithoutFailed); > ``` > > `getNameSpaceInfo(nss, nsId)` -> This returns the namespaces, removing the already tried namespace. > > Then, `return invokeOnNs(method, clazz, ioe, nssWithoutFailed)` -> This just tries on the first namespace returned above. By the code inside the method `invokeOnNs`: > > ``` > String nsId = nss.iterator().next().getNameserviceId(); > return rpcClient.invokeSingle(nsId, method, clazz); > ``` > > So, if the first namespace returned after excluding the default namespace is also down. Then we would still get an error, right? despite having other namespace being available? Shouldn't this be a invokeSequential kind of stuff, try one by one all the namespaces until you get the result. Am I missing something here? Thanks @ayushtkn for your comments and detailed explanation. I think you are right. As described on line `675` in this method, there is only one retry. And this PR is just to fix a bug in the current logic. ``` /** * Invokes the method at default namespace, if default namespace is not * available then at the first available namespace. * If the namespace is unavailable, retry once with other namespace. ``` -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688743) Time Spent: 3h 20m (was: 3h 10m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 3h 20m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688539=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688539 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 01/Dec/21 09:53 Start Date: 01/Dec/21 09:53 Worklog Time Spent: 10m Work Description: ayushtkn commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-983471955 One doubt here: What I could decode, We try on the default namespace, if it fails. We do: ``` Set nssWithoutFailed = getNameSpaceInfo(nss, nsId); return invokeOnNs(method, clazz, ioe, nssWithoutFailed); ``` `getNameSpaceInfo(nss, nsId)` -> This returns the namespaces, removing the already tried namespace. Then, `return invokeOnNs(method, clazz, ioe, nssWithoutFailed)` -> This just tries on the first namespace returned above. By the code inside the method `invokeOnNs`: ``` String nsId = nss.iterator().next().getNameserviceId(); return rpcClient.invokeSingle(nsId, method, clazz); ``` So, if the first namespace returned after excluding the default namespace is also down. Then we would still get an error, right? despite having other namespace being available? Shouldn't this be a invokeSequential kind of stuff, try one by one all the namespaces until you get the result. Am I missing something here? -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688539) Time Spent: 3h 10m (was: 3h) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 3h 10m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688461=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688461 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 01/Dec/21 07:18 Start Date: 01/Dec/21 07:18 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-983358171 Thank you @goiri very much for your review again. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688461) Time Spent: 3h (was: 2h 50m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 3h > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688404=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688404 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 01/Dec/21 03:10 Start Date: 01/Dec/21 03:10 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-983244140 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 1m 4s | | 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 | 37m 47s | | trunk passed | | +1 :green_heart: | compile | 0m 50s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | compile | 0m 42s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | checkstyle | 0m 28s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 47s | | trunk passed | | +1 :green_heart: | javadoc | 0m 48s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 1m 0s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 36s | | trunk passed | | +1 :green_heart: | shadedclient | 27m 5s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 47s | | the patch passed | | +1 :green_heart: | compile | 0m 48s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javac | 0m 48s | | the patch passed | | +1 :green_heart: | compile | 0m 40s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | javac | 0m 40s | | the patch passed | | +1 :green_heart: | blanks | 0m 1s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 21s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 51s | | the patch passed | | +1 :green_heart: | javadoc | 0m 42s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 1m 3s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 52s | | the patch passed | | +1 :green_heart: | shadedclient | 29m 40s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | -1 :x: | unit | 41m 27s | [/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/6/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt) | hadoop-hdfs-rbf in the patch passed. | | +1 :green_heart: | asflicense | 2m 32s | | The patch does not generate ASF License warnings. | | | | 154m 41s | | | | Reason | Tests | |---:|:--| | Failed junit tests | hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure | | | hadoop.fs.contract.router.web.TestRouterWebHDFSContractCreate | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/6/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/3731 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell | | uname | Linux cea59fc9bd9b 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 1e2216a7c6c7078181e389a11564a24d54744f8b | | Default Java | Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/6/testReport/ | | Max.
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688375=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688375 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 01/Dec/21 00:34 Start Date: 01/Dec/21 00:34 Worklog Time Spent: 10m Work Description: tomscut commented on a change in pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#discussion_r759766054 ## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java ## @@ -726,9 +726,10 @@ static String getMethodName() { * @return List of name spaces in the federation on * removing the already invoked namespaceinfo. */ - private Set getNameSpaceInfo(String nsId) { + private Set getNameSpaceInfo( Review comment: Thank you very much for your detailed reply. I have made some modifications, please have a look again. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688375) Time Spent: 2h 40m (was: 2.5h) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 2h 40m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688204=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688204 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 18:00 Start Date: 30/Nov/21 18:00 Worklog Time Spent: 10m Work Description: goiri commented on a change in pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#discussion_r759531237 ## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java ## @@ -726,9 +726,10 @@ static String getMethodName() { * @return List of name spaces in the federation on * removing the already invoked namespaceinfo. */ - private Set getNameSpaceInfo(String nsId) { + private Set getNameSpaceInfo( Review comment: BTW, if we are changing the signature of the method, I would also add final to the arguments. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688204) Time Spent: 2.5h (was: 2h 20m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 2.5h > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=688203=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-688203 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 17:59 Start Date: 30/Nov/21 17:59 Worklog Time Spent: 10m Work Description: goiri commented on a change in pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#discussion_r759530486 ## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java ## @@ -726,9 +726,10 @@ static String getMethodName() { * @return List of name spaces in the federation on * removing the already invoked namespaceinfo. */ - private Set getNameSpaceInfo(String nsId) { + private Set getNameSpaceInfo( Review comment: I don't think this is too important to be honest. There might be some minor optimization by being static but I do not think it is that important. The main reason to make it static would be to make clear that this method is not doing anything with the attributes of the object. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 688203) Time Spent: 2h 20m (was: 2h 10m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 2h 20m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687768=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687768 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 05:22 Start Date: 30/Nov/21 05:22 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-982296717 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 39s | | 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 | 43m 24s | | trunk passed | | +1 :green_heart: | compile | 0m 44s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | compile | 0m 40s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | checkstyle | 0m 31s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 45s | | trunk passed | | +1 :green_heart: | javadoc | 0m 44s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 0m 58s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 32s | | trunk passed | | +1 :green_heart: | shadedclient | 20m 42s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 34s | | the patch passed | | +1 :green_heart: | compile | 0m 35s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javac | 0m 35s | | the patch passed | | +1 :green_heart: | compile | 0m 30s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | javac | 0m 30s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 17s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 34s | | the patch passed | | +1 :green_heart: | javadoc | 0m 32s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 0m 51s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 17s | | the patch passed | | +1 :green_heart: | shadedclient | 20m 2s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | +1 :green_heart: | unit | 20m 37s | | hadoop-hdfs-rbf in the patch passed. | | +1 :green_heart: | asflicense | 0m 34s | | The patch does not generate ASF License warnings. | | | | 118m 23s | | | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/5/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/3731 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell | | uname | Linux 9ae154449ea0 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 8324d9bac06c126503e5831efd8cb4d6a2c93a49 | | Default Java | Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/5/testReport/ | | Max. process+thread count | 2545 (vs. ulimit of 5500) | | modules | C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/5/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org |
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687745=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687745 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 03:49 Start Date: 30/Nov/21 03:49 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-982257714 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 56s | | Docker mode activated. | _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 0s | | 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 | 45m 55s | | trunk passed | | +1 :green_heart: | compile | 0m 44s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | compile | 0m 40s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | checkstyle | 0m 41s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 46s | | trunk passed | | +1 :green_heart: | javadoc | 0m 48s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 0m 56s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 24s | | trunk passed | | +1 :green_heart: | shadedclient | 20m 28s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 37s | | the patch passed | | +1 :green_heart: | compile | 0m 37s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javac | 0m 37s | | the patch passed | | +1 :green_heart: | compile | 0m 30s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | javac | 0m 30s | | the patch passed | | +1 :green_heart: | blanks | 0m 1s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 16s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 35s | | the patch passed | | +1 :green_heart: | javadoc | 0m 33s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 0m 48s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 26s | | the patch passed | | +1 :green_heart: | shadedclient | 22m 50s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | -1 :x: | unit | 23m 5s | [/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/3/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt) | hadoop-hdfs-rbf in the patch passed. | | +1 :green_heart: | asflicense | 0m 39s | | The patch does not generate ASF License warnings. | | | | 126m 39s | | | | Reason | Tests | |---:|:--| | Failed junit tests | hadoop.fs.contract.router.web.TestRouterWebHDFSContractCreate | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/3/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/3731 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell | | uname | Linux 971ace51d45a 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 6a15a84d62f0036ec0bf82bf743a6597ac4a45f2 | | Default Java | Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/3/testReport/ | | Max. process+thread count | 2383 (vs. ulimit of 5500) | | modules | C:
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687740=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687740 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 03:37 Start Date: 30/Nov/21 03:37 Worklog Time Spent: 10m Work Description: tomscut commented on a change in pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#discussion_r758906333 ## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java ## @@ -726,9 +726,10 @@ static String getMethodName() { * @return List of name spaces in the federation on * removing the already invoked namespaceinfo. */ - private Set getNameSpaceInfo(String nsId) { + private Set getNameSpaceInfo( Review comment: Thanks @goiri for your comment, I noticed that this method is currently only called in one place. So do we still need to change it to static? Could you please give me some advice. Thank you very much. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687740) Time Spent: 1h 50m (was: 1h 40m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 1h 50m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687735=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687735 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 03:27 Start Date: 30/Nov/21 03:27 Worklog Time Spent: 10m Work Description: goiri commented on a change in pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#discussion_r758902855 ## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java ## @@ -726,9 +726,10 @@ static String getMethodName() { * @return List of name spaces in the federation on * removing the already invoked namespaceinfo. */ - private Set getNameSpaceInfo(String nsId) { + private Set getNameSpaceInfo( Review comment: This could be a static method. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687735) Time Spent: 1h 40m (was: 1.5h) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 1h 40m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687731=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687731 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 03:13 Start Date: 30/Nov/21 03:13 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-982242740 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 0m 54s | | 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 :x: | mvninstall | 2m 12s | [/branch-mvninstall-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/4/artifact/out/branch-mvninstall-root.txt) | root in trunk failed. | | +1 :green_heart: | compile | 3m 31s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | compile | 0m 34s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | checkstyle | 0m 25s | | trunk passed | | -1 :x: | mvnsite | 0m 43s | [/branch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/4/artifact/out/branch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-rbf.txt) | hadoop-hdfs-rbf in trunk failed. | | -1 :x: | javadoc | 0m 23s | [/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-rbf-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/4/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-rbf-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt) | hadoop-hdfs-rbf in trunk failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04. | | -1 :x: | javadoc | 0m 24s | [/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-rbf-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/4/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-rbf-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt) | hadoop-hdfs-rbf in trunk failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10. | | -1 :x: | spotbugs | 0m 23s | [/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/4/artifact/out/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-rbf.txt) | hadoop-hdfs-rbf in trunk failed. | | +1 :green_heart: | shadedclient | 27m 16s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 36s | | the patch passed | | +1 :green_heart: | compile | 0m 35s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javac | 0m 34s | | the patch passed | | +1 :green_heart: | compile | 0m 32s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | javac | 0m 32s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 17s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 36s | | the patch passed | | -1 :x: | javadoc | 0m 37s | [/results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-rbf-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/4/artifact/out/results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-rbf-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt) | hadoop-hdfs-project_hadoop-hdfs-rbf-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 generated 99 new + 0 unchanged - 0 fixed = 99 total (was 0) | | +1 :green_heart: | javadoc | 0m 53s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 32s | | the patch passed | | +1 :green_heart: | shadedclient | 20m 19s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | -1 :x: | unit | 20m 40s |
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687709=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687709 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 30/Nov/21 01:40 Start Date: 30/Nov/21 01:40 Worklog Time Spent: 10m Work Description: tomscut commented on a change in pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#discussion_r758865364 ## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java ## @@ -726,9 +727,10 @@ static String getMethodName() { * @return List of name spaces in the federation on * removing the already invoked namespaceinfo. */ - private Set getNameSpaceInfo(String nsId) { + private Set getNameSpaceInfo( + Set nss, String nsId) { Set namespaceInfos = new HashSet<>(); -for (FederationNamespaceInfo ns : namespaceInfos) { +for (FederationNamespaceInfo ns : nss) { Review comment: Thanks @goiri for your comments and suggestion. I rolled back the way catching with log and replaced with calling #getServerDefaults (create a separate unit test #testInvokeAtAvailableNs). PTAL. Thanks a lot. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687709) Time Spent: 1h 20m (was: 1h 10m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 1h 20m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687558=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687558 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 29/Nov/21 19:24 Start Date: 29/Nov/21 19:24 Worklog Time Spent: 10m Work Description: goiri commented on a change in pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#discussion_r758668281 ## File path: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java ## @@ -726,9 +727,10 @@ static String getMethodName() { * @return List of name spaces in the federation on * removing the already invoked namespaceinfo. */ - private Set getNameSpaceInfo(String nsId) { + private Set getNameSpaceInfo( + Set nss, String nsId) { Set namespaceInfos = new HashSet<>(); -for (FederationNamespaceInfo ns : namespaceInfos) { +for (FederationNamespaceInfo ns : nss) { Review comment: Very good catch. Catching the issue with the log is fine but I think there must be an easier way to test that the feature works. Is there any other unit test we can add? -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687558) Time Spent: 1h 10m (was: 1h) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 1h 10m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687118=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687118 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 29/Nov/21 04:26 Start Date: 29/Nov/21 04:26 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-981282094 > This failed UT `hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure` is unrelated to the change. Hi @ayushtkn , I found this unit test runs out of time several times. Can we just increase the timeout? -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687118) Time Spent: 1h (was: 50m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687116=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687116 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 29/Nov/21 04:18 Start Date: 29/Nov/21 04:18 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-981278760 This failed UT `hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure` is unrelated to the change. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687116) Time Spent: 50m (was: 40m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687114=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687114 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 29/Nov/21 04:02 Start Date: 29/Nov/21 04:02 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-981271879 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 1m 9s | | 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 | 39m 59s | | trunk passed | | +1 :green_heart: | compile | 0m 50s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | compile | 0m 42s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | checkstyle | 0m 27s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 45s | | trunk passed | | +1 :green_heart: | javadoc | 0m 48s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 1m 0s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 55s | | trunk passed | | +1 :green_heart: | shadedclient | 25m 15s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 41s | | the patch passed | | +1 :green_heart: | compile | 0m 42s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javac | 0m 42s | | the patch passed | | +1 :green_heart: | compile | 0m 35s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | javac | 0m 35s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 19s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 40s | | the patch passed | | +1 :green_heart: | javadoc | 0m 38s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 0m 53s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 36s | | the patch passed | | +1 :green_heart: | shadedclient | 24m 37s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | -1 :x: | unit | 34m 33s | [/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/2/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt) | hadoop-hdfs-rbf in the patch passed. | | +1 :green_heart: | asflicense | 1m 5s | | The patch does not generate ASF License warnings. | | | | 140m 5s | | | | Reason | Tests | |---:|:--| | Failed junit tests | hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/2/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/3731 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell | | uname | Linux f736984cf7b7 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / b9c2d3ee604d528ebfefc8400c200f1736e2921f | | Default Java | Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/2/testReport/ | | Max. process+thread count | 2235 (vs. ulimit of 5500) | | modules | C:
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687082=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687082 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 28/Nov/21 01:20 Start Date: 28/Nov/21 01:20 Worklog Time Spent: 10m Work Description: tomscut commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-980818058 @goiri @hemanthboyina @jojochuang PTAL. Thanks. -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687082) Time Spent: 0.5h (was: 20m) > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See > HDFS-15543. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687048=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687048 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 27/Nov/21 18:23 Start Date: 27/Nov/21 18:23 Worklog Time Spent: 10m Work Description: hadoop-yetus commented on pull request #3731: URL: https://github.com/apache/hadoop/pull/3731#issuecomment-980780682 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |::|--:|:|::|:---:| | +0 :ok: | reexec | 1m 27s | | 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 :x: | test4tests | 0m 0s | | 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. | _ trunk Compile Tests _ | | +1 :green_heart: | mvninstall | 35m 59s | | trunk passed | | +1 :green_heart: | compile | 0m 42s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | compile | 0m 34s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | checkstyle | 0m 23s | | trunk passed | | +1 :green_heart: | mvnsite | 0m 41s | | trunk passed | | +1 :green_heart: | javadoc | 0m 41s | | trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 0m 53s | | trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 15s | | trunk passed | | +1 :green_heart: | shadedclient | 23m 15s | | branch has no errors when building and testing our client artifacts. | _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 35s | | the patch passed | | +1 :green_heart: | compile | 0m 35s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javac | 0m 35s | | the patch passed | | +1 :green_heart: | compile | 0m 31s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | javac | 0m 31s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 0m 15s | | the patch passed | | +1 :green_heart: | mvnsite | 0m 33s | | the patch passed | | +1 :green_heart: | javadoc | 0m 32s | | the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 | | +1 :green_heart: | javadoc | 0m 46s | | the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | +1 :green_heart: | spotbugs | 1m 20s | | the patch passed | | +1 :green_heart: | shadedclient | 23m 14s | | patch has no errors when building and testing our client artifacts. | _ Other Tests _ | | -1 :x: | unit | 33m 23s | [/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt) | hadoop-hdfs-rbf in the patch passed. | | +1 :green_heart: | asflicense | 0m 49s | | The patch does not generate ASF License warnings. | | | | 129m 52s | | | | Reason | Tests | |---:|:--| | Failed junit tests | hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure | | Subsystem | Report/Notes | |--:|:-| | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3731/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/3731 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell | | uname | Linux d5d1a75b0738 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 50ded681ad38c104631deec26fbe9d77ce68f23b | | Default Java | Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10 | | Test Results |
[jira] [Work logged] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
[ https://issues.apache.org/jira/browse/HDFS-16359?focusedWorklogId=687029=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687029 ] ASF GitHub Bot logged work on HDFS-16359: - Author: ASF GitHub Bot Created on: 27/Nov/21 16:11 Start Date: 27/Nov/21 16:11 Worklog Time Spent: 10m Work Description: tomscut opened a new pull request #3731: URL: https://github.com/apache/hadoop/pull/3731 JIRA: [HDFS-16359](https://issues.apache.org/jira/browse/HDFS-16359). RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. The original code of RouterRpcServer#getNameSpaceInfo looks like follwings, and `namespaceInfos` is always empty here. ``` private Set getNameSpaceInfo(String nsId) { Set namespaceInfos = new HashSet<>(); for (FederationNamespaceInfo ns : namespaceInfos) { if (!nsId.equals(ns.getNameserviceId())) { namespaceInfos.add(ns); } } return namespaceInfos; } ``` -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 687029) Remaining Estimate: 0h Time Spent: 10m > RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying > --- > > Key: HDFS-16359 > URL: https://issues.apache.org/jira/browse/HDFS-16359 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: tomscut >Assignee: tomscut >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. > The original code of RouterRpcServer#getNameSpaceInfo looks like this: > {code:java} > private Set getNameSpaceInfo(String nsId) { > Set namespaceInfos = new HashSet<>(); > for (FederationNamespaceInfo ns : namespaceInfos) { > if (!nsId.equals(ns.getNameserviceId())) { > namespaceInfos.add(ns); > } > } > return namespaceInfos; > } {code} > And _namespaceInfos_ is always empty here. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org