[jira] [Work logged] (HDDS-1353) Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing because of BackgroundPipelineCreator

2019-04-04 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1353?focusedWorklogId=222997=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-222997
 ]

ASF GitHub Bot logged work on HDDS-1353:


Author: ASF GitHub Bot
Created on: 04/Apr/19 13:48
Start Date: 04/Apr/19 13:48
Worklog Time Spent: 10m 
  Work Description: nandakumar131 commented on pull request #681: HDDS-1353 
: Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
because of BackgroundPipelineCreator.
URL: https://github.com/apache/hadoop/pull/681
 
 
   
 

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: 222997)
Time Spent: 1h  (was: 50m)

> Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
> because of BackgroundPipelineCreator
> ---
>
> Key: HDDS-1353
> URL: https://issues.apache.org/jira/browse/HDDS-1353
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>  Components: SCM
>Reporter: Elek, Marton
>Assignee: Aravindan Vijayan
>Priority: Minor
>  Labels: newbie, pull-request-available
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> There is a {{BackgroundPipelineCreator}} thread in SCM which runs in a fixed 
> interval and tries to create pipelines. This BackgroundPipelineCreator uses 
> {{IOException}} as exit criteria (no more pipelines can be created). In each 
> run of BackgroundPipelineCreator we exit when we are not able to create any 
> more pipelines, i.e. when we get IOException while trying to create the 
> pipeline. This means that 
> {{scm_pipeline_metrics_num_pipeline_creation_failed}} value will get 
> incremented in each run of BackgroundPipelineCreator.



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

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



[jira] [Work logged] (HDDS-1353) Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing because of BackgroundPipelineCreator

2019-04-03 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1353?focusedWorklogId=222607=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-222607
 ]

ASF GitHub Bot logged work on HDDS-1353:


Author: ASF GitHub Bot
Created on: 03/Apr/19 20:38
Start Date: 03/Apr/19 20:38
Worklog Time Spent: 10m 
  Work Description: vivekratnavel commented on issue #681: HDDS-1353 : 
Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
because of BackgroundPipelineCreator.
URL: https://github.com/apache/hadoop/pull/681#issuecomment-479649552
 
 
   +1 LGTM
 

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: 222607)
Time Spent: 50m  (was: 40m)

> Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
> because of BackgroundPipelineCreator
> ---
>
> Key: HDDS-1353
> URL: https://issues.apache.org/jira/browse/HDDS-1353
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>  Components: SCM
>Reporter: Elek, Marton
>Assignee: Aravindan Vijayan
>Priority: Minor
>  Labels: newbie, pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> There is a {{BackgroundPipelineCreator}} thread in SCM which runs in a fixed 
> interval and tries to create pipelines. This BackgroundPipelineCreator uses 
> {{IOException}} as exit criteria (no more pipelines can be created). In each 
> run of BackgroundPipelineCreator we exit when we are not able to create any 
> more pipelines, i.e. when we get IOException while trying to create the 
> pipeline. This means that 
> {{scm_pipeline_metrics_num_pipeline_creation_failed}} value will get 
> incremented in each run of BackgroundPipelineCreator.



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

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



[jira] [Work logged] (HDDS-1353) Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing because of BackgroundPipelineCreator

2019-04-02 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1353?focusedWorklogId=222115=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-222115
 ]

ASF GitHub Bot logged work on HDDS-1353:


Author: ASF GitHub Bot
Created on: 03/Apr/19 01:03
Start Date: 03/Apr/19 01:03
Worklog Time Spent: 10m 
  Work Description: hadoop-yetus commented on issue #681: HDDS-1353 : 
Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
because of BackgroundPipelineCreator.
URL: https://github.com/apache/hadoop/pull/681#issuecomment-479279985
 
 
   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |::|--:|:|:|
   | 0 | reexec | 43 | Docker mode activated. |
   ||| _ Prechecks _ |
   | +1 | @author | 0 | The patch does not contain any @author tags. |
   | +1 | test4tests | 0 | The patch appears to include 1 new or modified test 
files. |
   ||| _ trunk Compile Tests _ |
   | 0 | mvndep | 70 | Maven dependency ordering for branch |
   | +1 | mvninstall | 1182 | trunk passed |
   | +1 | compile | 1148 | trunk passed |
   | +1 | checkstyle | 208 | trunk passed |
   | +1 | mvnsite | 124 | trunk passed |
   | +1 | shadedclient | 1075 | branch has no errors when building and testing 
our client artifacts. |
   | 0 | findbugs | 0 | Skipped patched modules with no Java source: 
hadoop-ozone/integration-test |
   | +1 | findbugs | 51 | trunk passed |
   | +1 | javadoc | 56 | trunk passed |
   ||| _ Patch Compile Tests _ |
   | 0 | mvndep | 61 | Maven dependency ordering for patch |
   | +1 | mvninstall | 87 | the patch passed |
   | +1 | compile | 1085 | the patch passed |
   | +1 | javac | 1085 | the patch passed |
   | +1 | checkstyle | 220 | the patch passed |
   | +1 | mvnsite | 81 | the patch passed |
   | +1 | whitespace | 0 | The patch has no whitespace issues. |
   | +1 | shadedclient | 713 | patch has no errors when building and testing 
our client artifacts. |
   | 0 | findbugs | 0 | Skipped patched modules with no Java source: 
hadoop-ozone/integration-test |
   | +1 | findbugs | 56 | the patch passed |
   | +1 | javadoc | 56 | the patch passed |
   ||| _ Other Tests _ |
   | +1 | unit | 126 | server-scm in the patch passed. |
   | -1 | unit | 1110 | integration-test in the patch failed. |
   | +1 | asflicense | 55 | The patch does not generate ASF License warnings. |
   | | | 7526 | |
   
   
   | Reason | Tests |
   |---:|:--|
   | Failed junit tests | hadoop.hdds.scm.pipeline.TestRatisPipelineUtils |
   |   | hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures |
   |   | hadoop.ozone.TestMiniChaosOzoneCluster |
   |   | hadoop.ozone.scm.pipeline.TestSCMPipelineMetrics |
   
   
   | Subsystem | Report/Notes |
   |--:|:-|
   | Docker | Client=17.05.0-ce Server=17.05.0-ce base: 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/3/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/681 |
   | Optional Tests |  dupname  asflicense  compile  javac  javadoc  mvninstall 
 mvnsite  unit  shadedclient  findbugs  checkstyle  |
   | uname | Linux b2219f6251b4 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 
08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | personality/hadoop.sh |
   | git revision | trunk / cf26811 |
   | maven | version: Apache Maven 3.3.9 |
   | Default Java | 1.8.0_191 |
   | findbugs | v3.1.0-RC1 |
   | unit | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/3/artifact/out/patch-unit-hadoop-ozone_integration-test.txt
 |
   |  Test Results | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/3/testReport/ |
   | Max. process+thread count | 5249 (vs. ulimit of 5500) |
   | modules | C: hadoop-hdds/server-scm hadoop-ozone/integration-test U: . |
   | Console output | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/3/console |
   | Powered by | Apache Yetus 0.9.0 http://yetus.apache.org |
   
   
   This message was automatically generated.
   
   
 

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: 222115)
Time Spent: 40m  (was: 0.5h)

> Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
> because of BackgroundPipelineCreator
> ---
>
> Key: HDDS-1353
> URL: https://issues.apache.org/jira/browse/HDDS-1353
> Project: Hadoop Distributed Data Store
>

[jira] [Work logged] (HDDS-1353) Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing because of BackgroundPipelineCreator

2019-04-02 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1353?focusedWorklogId=222067=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-222067
 ]

ASF GitHub Bot logged work on HDDS-1353:


Author: ASF GitHub Bot
Created on: 02/Apr/19 22:48
Start Date: 02/Apr/19 22:48
Worklog Time Spent: 10m 
  Work Description: hadoop-yetus commented on issue #681: HDDS-1353 : 
Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
because of BackgroundPipelineCreator.
URL: https://github.com/apache/hadoop/pull/681#issuecomment-479240329
 
 
   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |::|--:|:|:|
   | 0 | reexec | 34 | Docker mode activated. |
   ||| _ Prechecks _ |
   | +1 | @author | 0 | The patch does not contain any @author tags. |
   | +1 | test4tests | 0 | The patch appears to include 1 new or modified test 
files. |
   ||| _ trunk Compile Tests _ |
   | 0 | mvndep | 66 | Maven dependency ordering for branch |
   | +1 | mvninstall | 1094 | trunk passed |
   | +1 | compile | 1094 | trunk passed |
   | +1 | checkstyle | 203 | trunk passed |
   | +1 | mvnsite | 113 | trunk passed |
   | +1 | shadedclient | 1000 | branch has no errors when building and testing 
our client artifacts. |
   | 0 | findbugs | 0 | Skipped patched modules with no Java source: 
hadoop-ozone/integration-test |
   | +1 | findbugs | 47 | trunk passed |
   | +1 | javadoc | 49 | trunk passed |
   ||| _ Patch Compile Tests _ |
   | 0 | mvndep | 24 | Maven dependency ordering for patch |
   | +1 | mvninstall | 63 | the patch passed |
   | +1 | compile | 920 | the patch passed |
   | +1 | javac | 920 | the patch passed |
   | +1 | checkstyle | 191 | the patch passed |
   | +1 | mvnsite | 79 | the patch passed |
   | +1 | whitespace | 0 | The patch has no whitespace issues. |
   | +1 | shadedclient | 687 | patch has no errors when building and testing 
our client artifacts. |
   | 0 | findbugs | 0 | Skipped patched modules with no Java source: 
hadoop-ozone/integration-test |
   | +1 | findbugs | 57 | the patch passed |
   | +1 | javadoc | 66 | the patch passed |
   ||| _ Other Tests _ |
   | +1 | unit | 123 | server-scm in the patch passed. |
   | -1 | unit | 678 | integration-test in the patch failed. |
   | +1 | asflicense | 46 | The patch does not generate ASF License warnings. |
   | | | 6572 | |
   
   
   | Reason | Tests |
   |---:|:--|
   | Failed junit tests | hadoop.hdds.scm.pipeline.TestSCMPipelineManager |
   
   
   | Subsystem | Report/Notes |
   |--:|:-|
   | Docker | Client=17.05.0-ce Server=17.05.0-ce base: 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/2/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/681 |
   | Optional Tests |  dupname  asflicense  compile  javac  javadoc  mvninstall 
 mvnsite  unit  shadedclient  findbugs  checkstyle  |
   | uname | Linux d0a668414102 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 
17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | personality/hadoop.sh |
   | git revision | trunk / cf26811 |
   | maven | version: Apache Maven 3.3.9 |
   | Default Java | 1.8.0_191 |
   | findbugs | v3.1.0-RC1 |
   | unit | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/2/artifact/out/patch-unit-hadoop-ozone_integration-test.txt
 |
   |  Test Results | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/2/testReport/ |
   | Max. process+thread count | 4493 (vs. ulimit of 5500) |
   | modules | C: hadoop-hdds/server-scm hadoop-ozone/integration-test U: . |
   | Console output | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/2/console |
   | Powered by | Apache Yetus 0.9.0 http://yetus.apache.org |
   
   
   This message was automatically generated.
   
   
 

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: 222067)
Time Spent: 0.5h  (was: 20m)

> Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
> because of BackgroundPipelineCreator
> ---
>
> Key: HDDS-1353
> URL: https://issues.apache.org/jira/browse/HDDS-1353
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>  Components: SCM
>Reporter: Elek, Marton
>Assignee: Aravindan Vijayan
>Priority: Minor
>  Labels: 

[jira] [Work logged] (HDDS-1353) Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing because of BackgroundPipelineCreator

2019-04-02 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1353?focusedWorklogId=221940=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221940
 ]

ASF GitHub Bot logged work on HDDS-1353:


Author: ASF GitHub Bot
Created on: 02/Apr/19 19:45
Start Date: 02/Apr/19 19:45
Worklog Time Spent: 10m 
  Work Description: hadoop-yetus commented on pull request #681: HDDS-1353 
: Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
because of BackgroundPipelineCreator.
URL: https://github.com/apache/hadoop/pull/681#discussion_r271467369
 
 

 ##
 File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestSCMPipelineManager.java
 ##
 @@ -208,4 +212,60 @@ public void testPipelineReport() throws IOException {
 // clean up
 pipelineManager.close();
   }
+
+  @Test
+  public void testPipelineCreationFailedMetric() throws Exception {
+SCMPipelineManager pipelineManager =
+new SCMPipelineManager(conf, nodeManager, new EventQueue());
+PipelineProvider mockRatisProvider =
+new MockRatisPipelineProvider(nodeManager,
+pipelineManager.getStateManager(), conf);
+pipelineManager.setPipelineProvider(HddsProtos.ReplicationType.RATIS,
+mockRatisProvider);
+
+MetricsRecordBuilder metrics = getMetrics(
+SCMPipelineMetrics.class.getSimpleName());
+long numPipelineCreated = getLongCounter("NumPipelineCreated",
+metrics);
+Assert.assertTrue(numPipelineCreated == 0);
+
+// 3 DNs are unhealthy.
+// Create 5 pipelines (Use up 15 Datanodes)
+for (int i = 0; i < 5; i++) {
+  Pipeline pipeline = pipelineManager
+  .createPipeline(HddsProtos.ReplicationType.RATIS,
+  HddsProtos.ReplicationFactor.THREE);
+  Assert.assertNotNull(pipeline);
+}
+
+metrics = getMetrics(
+SCMPipelineMetrics.class.getSimpleName());
+numPipelineCreated = getLongCounter("NumPipelineCreated", metrics);
+Assert.assertTrue(numPipelineCreated == 5);
+
+long numPipelineCreateFailed = getLongCounter(
+"NumPipelineCreationFailed", metrics);
+Assert.assertTrue(numPipelineCreateFailed == 0);
+
+//This should fail...
+try {
+  pipelineManager.createPipeline(HddsProtos.ReplicationType.RATIS,
+  HddsProtos.ReplicationFactor.THREE);
+  Assert.fail();
+} catch (InsufficientDatanodesException idEx) {
+  Assert.assertEquals(
+  "Cannot create pipeline of factor 3 using 1 nodes.",
+  idEx.getMessage());
+}
+
+metrics = getMetrics(
+SCMPipelineMetrics.class.getSimpleName());
+numPipelineCreated = getLongCounter("NumPipelineCreated", metrics);
+Assert.assertTrue(numPipelineCreated == 5);
+
+numPipelineCreateFailed = getLongCounter(
+"NumPipelineCreationFailed", metrics);
+Assert.assertTrue(numPipelineCreateFailed == 0);
+  }
+  
 
 Review comment:
   whitespace:end of line
   
 

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: 221940)
Time Spent: 20m  (was: 10m)

> Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
> because of BackgroundPipelineCreator
> ---
>
> Key: HDDS-1353
> URL: https://issues.apache.org/jira/browse/HDDS-1353
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>  Components: SCM
>Reporter: Elek, Marton
>Assignee: Aravindan Vijayan
>Priority: Minor
>  Labels: newbie, pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> There is a {{BackgroundPipelineCreator}} thread in SCM which runs in a fixed 
> interval and tries to create pipelines. This BackgroundPipelineCreator uses 
> {{IOException}} as exit criteria (no more pipelines can be created). In each 
> run of BackgroundPipelineCreator we exit when we are not able to create any 
> more pipelines, i.e. when we get IOException while trying to create the 
> pipeline. This means that 
> {{scm_pipeline_metrics_num_pipeline_creation_failed}} value will get 
> incremented in each run of BackgroundPipelineCreator.



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

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



[jira] [Work logged] (HDDS-1353) Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing because of BackgroundPipelineCreator

2019-04-02 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1353?focusedWorklogId=221941=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221941
 ]

ASF GitHub Bot logged work on HDDS-1353:


Author: ASF GitHub Bot
Created on: 02/Apr/19 19:45
Start Date: 02/Apr/19 19:45
Worklog Time Spent: 10m 
  Work Description: hadoop-yetus commented on issue #681: HDDS-1353 : 
Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
because of BackgroundPipelineCreator.
URL: https://github.com/apache/hadoop/pull/681#issuecomment-479168294
 
 
   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |::|--:|:|:|
   | 0 | reexec | 39 | Docker mode activated. |
   ||| _ Prechecks _ |
   | +1 | @author | 0 | The patch does not contain any @author tags. |
   | +1 | test4tests | 0 | The patch appears to include 1 new or modified test 
files. |
   ||| _ trunk Compile Tests _ |
   | 0 | mvndep | 94 | Maven dependency ordering for branch |
   | +1 | mvninstall | 1140 | trunk passed |
   | +1 | compile | 1057 | trunk passed |
   | +1 | checkstyle | 213 | trunk passed |
   | +1 | mvnsite | 117 | trunk passed |
   | +1 | shadedclient | 1085 | branch has no errors when building and testing 
our client artifacts. |
   | 0 | findbugs | 0 | Skipped patched modules with no Java source: 
hadoop-ozone/integration-test |
   | +1 | findbugs | 49 | trunk passed |
   | +1 | javadoc | 56 | trunk passed |
   ||| _ Patch Compile Tests _ |
   | 0 | mvndep | 24 | Maven dependency ordering for patch |
   | +1 | mvninstall | 65 | the patch passed |
   | +1 | compile | 1031 | the patch passed |
   | +1 | javac | 1031 | the patch passed |
   | +1 | checkstyle | 209 | the patch passed |
   | +1 | mvnsite | 80 | the patch passed |
   | -1 | whitespace | 0 | The patch has 1 line(s) that end in whitespace. Use 
git apply --whitespace=fix <>. Refer 
https://git-scm.com/docs/git-apply |
   | +1 | shadedclient | 708 | patch has no errors when building and testing 
our client artifacts. |
   | 0 | findbugs | 0 | Skipped patched modules with no Java source: 
hadoop-ozone/integration-test |
   | +1 | findbugs | 55 | the patch passed |
   | +1 | javadoc | 54 | the patch passed |
   ||| _ Other Tests _ |
   | +1 | unit | 119 | server-scm in the patch passed. |
   | -1 | unit | 971 | integration-test in the patch failed. |
   | +1 | asflicense | 43 | The patch does not generate ASF License warnings. |
   | | | 7130 | |
   
   
   | Reason | Tests |
   |---:|:--|
   | Failed junit tests | hadoop.ozone.TestMiniOzoneCluster |
   |   | hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException |
   |   | hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures |
   |   | hadoop.hdds.scm.pipeline.TestSCMPipelineManager |
   |   | hadoop.ozone.TestContainerStateMachineIdempotency |
   |   | hadoop.ozone.om.TestOzoneManagerHA |
   
   
   | Subsystem | Report/Notes |
   |--:|:-|
   | Docker | Client=17.05.0-ce Server=17.05.0-ce base: 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/1/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/681 |
   | Optional Tests |  dupname  asflicense  compile  javac  javadoc  mvninstall 
 mvnsite  unit  shadedclient  findbugs  checkstyle  |
   | uname | Linux b02fcadd3e3e 4.4.0-138-generic #164~14.04.1-Ubuntu SMP Fri 
Oct 5 08:56:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | personality/hadoop.sh |
   | git revision | trunk / bfc90bd |
   | maven | version: Apache Maven 3.3.9 |
   | Default Java | 1.8.0_191 |
   | findbugs | v3.1.0-RC1 |
   | whitespace | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/1/artifact/out/whitespace-eol.txt
 |
   | unit | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/1/artifact/out/patch-unit-hadoop-ozone_integration-test.txt
 |
   |  Test Results | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/1/testReport/ |
   | Max. process+thread count | 4138 (vs. ulimit of 5500) |
   | modules | C: hadoop-hdds/server-scm hadoop-ozone/integration-test U: . |
   | Console output | 
https://builds.apache.org/job/hadoop-multibranch/job/PR-681/1/console |
   | Powered by | Apache Yetus 0.9.0 http://yetus.apache.org |
   
   
   This message was automatically generated.
   
   
 

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: 221941)

> Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
> because of 

[jira] [Work logged] (HDDS-1353) Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing because of BackgroundPipelineCreator

2019-04-02 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-1353?focusedWorklogId=221880=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221880
 ]

ASF GitHub Bot logged work on HDDS-1353:


Author: ASF GitHub Bot
Created on: 02/Apr/19 17:44
Start Date: 02/Apr/19 17:44
Worklog Time Spent: 10m 
  Work Description: avijayanhwx commented on pull request #681: HDDS-1353 : 
Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
because of BackgroundPipelineCreator.
URL: https://github.com/apache/hadoop/pull/681
 
 
   There is a BackgroundPipelineCreator thread in SCM which runs in a fixed 
interval and tries to create pipelines. This BackgroundPipelineCreator uses 
IOException as exit criteria (no more pipelines can be created). In each run of 
BackgroundPipelineCreator we exit when we are not able to create any more 
pipelines, i.e. when we get IOException while trying to create the pipeline. 
This means that scm_pipeline_metrics_num_pipeline_creation_failed value will 
get incremented in each run of BackgroundPipelineCreator.
 

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: 221880)
Time Spent: 10m
Remaining Estimate: 0h

> Metrics scm_pipeline_metrics_num_pipeline_creation_failed keeps increasing 
> because of BackgroundPipelineCreator
> ---
>
> Key: HDDS-1353
> URL: https://issues.apache.org/jira/browse/HDDS-1353
> Project: Hadoop Distributed Data Store
>  Issue Type: Improvement
>  Components: SCM
>Reporter: Elek, Marton
>Assignee: Aravindan Vijayan
>Priority: Minor
>  Labels: newbie, pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> There is a {{BackgroundPipelineCreator}} thread in SCM which runs in a fixed 
> interval and tries to create pipelines. This BackgroundPipelineCreator uses 
> {{IOException}} as exit criteria (no more pipelines can be created). In each 
> run of BackgroundPipelineCreator we exit when we are not able to create any 
> more pipelines, i.e. when we get IOException while trying to create the 
> pipeline. This means that 
> {{scm_pipeline_metrics_num_pipeline_creation_failed}} value will get 
> incremented in each run of BackgroundPipelineCreator.



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

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