Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-1474. ozone.scm.datanode.id config should take path for a dir #792

Merged
merged 5 commits into from May 9, 2019

Conversation

vivekratnavel
Copy link
Contributor

and not a file.

Currently, the ozone config "ozone.scm.datanode.id" takes file path as its value. It should instead take dir path as its value and assume a standard filename "datanode.id"

@vivekratnavel
Copy link
Contributor Author

/label ozone

@elek elek added the ozone label May 2, 2019
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 38 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+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 69 Maven dependency ordering for branch
+1 mvninstall 1140 trunk passed
+1 compile 1041 trunk passed
+1 checkstyle 147 trunk passed
+1 mvnsite 223 trunk passed
+1 shadedclient 757 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
+1 findbugs 152 trunk passed
+1 javadoc 155 trunk passed
_ Patch Compile Tests _
0 mvndep 27 Maven dependency ordering for patch
-1 mvninstall 21 dist in the patch failed.
+1 compile 939 the patch passed
+1 javac 939 the patch passed
+1 checkstyle 147 the patch passed
+1 mvnsite 176 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 33 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 744 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
+1 findbugs 163 the patch passed
+1 javadoc 159 the patch passed
_ Other Tests _
+1 unit 80 common in the patch passed.
-1 unit 71 container-service in the patch failed.
+1 unit 34 docs in the patch passed.
+1 unit 38 dist in the patch passed.
+1 asflicense 50 The patch does not generate ASF License warnings.
6810
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-792/1/artifact/out/Dockerfile
GITHUB PR #792
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs yamllint
uname Linux 2b967b1fd8c3 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / f682a17
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
findbugs v3.1.0-RC1
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-792/1/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/1/artifact/out/patch-unit-hadoop-hdds_container-service.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-792/1/testReport/
Max. process+thread count 340 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/docs hadoop-ozone/dist U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-792/1/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 20 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+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 68 Maven dependency ordering for branch
+1 mvninstall 1125 trunk passed
+1 compile 960 trunk passed
+1 checkstyle 155 trunk passed
+1 mvnsite 216 trunk passed
+1 shadedclient 764 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
+1 findbugs 147 trunk passed
+1 javadoc 160 trunk passed
_ Patch Compile Tests _
0 mvndep 27 Maven dependency ordering for patch
-1 mvninstall 21 dist in the patch failed.
+1 compile 957 the patch passed
+1 javac 957 the patch passed
+1 checkstyle 148 the patch passed
+1 mvnsite 179 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 34 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 744 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
+1 findbugs 162 the patch passed
+1 javadoc 160 the patch passed
_ Other Tests _
+1 unit 95 common in the patch passed.
-1 unit 75 container-service in the patch failed.
+1 unit 35 docs in the patch passed.
+1 unit 38 dist in the patch passed.
+1 asflicense 50 The patch does not generate ASF License warnings.
6769
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-792/2/artifact/out/Dockerfile
GITHUB PR #792
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs yamllint
uname Linux 19f7b5cadc95 4.4.0-143-generic #169~14.04.2-Ubuntu SMP Wed Feb 13 15:00:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / f1673b0
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
shellcheck v0.4.6
findbugs v3.1.0-RC1
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-792/2/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/2/artifact/out/patch-unit-hadoop-hdds_container-service.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-792/2/testReport/
Max. process+thread count 341 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/docs hadoop-ozone/dist U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-792/2/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@vivekratnavel
Copy link
Contributor Author

/retest

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 43 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 shelldocs 0 Shelldocs was not available.
0 yamllint 0 yamllint was not available.
+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 27 Maven dependency ordering for branch
+1 mvninstall 399 trunk passed
+1 compile 206 trunk passed
+1 checkstyle 56 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 820 branch has no errors when building and testing our client artifacts.
+1 javadoc 137 trunk passed
0 spotbugs 292 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 522 trunk passed
_ Patch Compile Tests _
0 mvndep 30 Maven dependency ordering for patch
+1 mvninstall 407 the patch passed
+1 compile 221 the patch passed
+1 javac 221 the patch passed
+1 checkstyle 65 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 723 patch has no errors when building and testing our client artifacts.
+1 javadoc 132 the patch passed
+1 findbugs 473 the patch passed
_ Other Tests _
-1 unit 156 hadoop-hdds in the patch failed.
-1 unit 933 hadoop-ozone in the patch failed.
+1 asflicense 36 The patch does not generate ASF License warnings.
5600
Reason Tests
Failed junit tests hadoop.ozone.om.TestOmInit
hadoop.ozone.web.client.TestOzoneClient
hadoop.ozone.ozShell.TestOzoneDatanodeShell
hadoop.ozone.client.rpc.TestBlockOutputStream
hadoop.ozone.TestMiniChaosOzoneCluster
hadoop.ozone.client.rpc.TestBCSID
hadoop.ozone.om.TestOzoneManager
hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException
hadoop.ozone.web.client.TestKeys
hadoop.ozone.web.client.TestVolume
hadoop.ozone.web.client.TestKeysRatis
hadoop.ozone.client.rpc.TestOzoneRpcClientWithRatis
hadoop.ozone.scm.TestContainerSmallFile
hadoop.ozone.om.TestOzoneManagerConfiguration
hadoop.ozone.om.TestOzoneManagerHA
hadoop.ozone.client.rpc.TestContainerStateMachineFailures
hadoop.ozone.om.TestOmBlockVersioning
hadoop.ozone.web.TestOzoneWebAccess
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.ozone.scm.pipeline.TestPipelineManagerMXBean
hadoop.ozone.container.TestContainerReplication
hadoop.ozone.om.TestOmMetrics
hadoop.hdds.scm.pipeline.TestNodeFailure
hadoop.ozone.client.rpc.TestCloseContainerHandlingByClient
hadoop.ozone.client.rpc.TestSecureOzoneRpcClient
hadoop.ozone.client.rpc.TestCommitWatcher
hadoop.ozone.client.rpc.TestReadRetries
hadoop.ozone.om.TestMultipleContainerReadWrite
hadoop.ozone.container.ozoneimpl.TestOzoneContainer
hadoop.ozone.TestMiniOzoneCluster
hadoop.ozone.client.rpc.TestContainerStateMachine
hadoop.ozone.client.rpc.TestHybridPipelineOnDatanode
hadoop.ozone.scm.node.TestSCMNodeMetrics
hadoop.ozone.TestContainerOperations
hadoop.ozone.client.rpc.TestOzoneRpcClient
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-792/3/artifact/out/Dockerfile
GITHUB PR #792
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs yamllint
uname Linux c2f1007334ed 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 865c328
Default Java 1.8.0_191
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/3/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/3/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-792/3/testReport/
Max. process+thread count 3088 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/docs hadoop-ozone/dist U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-792/3/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@vivekratnavel
Copy link
Contributor Author

The failing acceptance tests and unit tests are not related to this change. The trunk is broken and these tests need to be fixed in trunk.

Copy link
Contributor

@hanishakoneru hanishakoneru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vivekratnavel for working on this. LGTM overall. Few minor comments.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 509 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
0 shelldocs 0 Shelldocs was not available.
0 yamllint 0 yamllint was not available.
+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 81 Maven dependency ordering for branch
+1 mvninstall 422 trunk passed
+1 compile 210 trunk passed
+1 checkstyle 59 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 771 branch has no errors when building and testing our client artifacts.
+1 javadoc 134 trunk passed
0 spotbugs 238 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 426 trunk passed
_ Patch Compile Tests _
0 mvndep 33 Maven dependency ordering for patch
+1 mvninstall 406 the patch passed
+1 compile 219 the patch passed
+1 javac 219 the patch passed
-0 checkstyle 31 hadoop-hdds: The patch generated 5 new + 0 unchanged - 0 fixed = 5 total (was 0)
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 650 patch has no errors when building and testing our client artifacts.
+1 javadoc 132 the patch passed
+1 findbugs 437 the patch passed
_ Other Tests _
-1 unit 130 hadoop-hdds in the patch failed.
-1 unit 928 hadoop-ozone in the patch failed.
+1 asflicense 43 The patch does not generate ASF License warnings.
5879
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestOzoneRpcClient
hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-792/4/artifact/out/Dockerfile
GITHUB PR #792
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs yamllint
uname Linux 618db41f1fc3 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 / 597fa47
Default Java 1.8.0_191
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-792/4/artifact/out/diff-checkstyle-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/4/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/4/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-792/4/testReport/
Max. process+thread count 4471 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/docs hadoop-ozone/dist U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-792/4/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 1045 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 shelldocs 0 Shelldocs was not available.
0 yamllint 0 yamllint was not available.
+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 29 Maven dependency ordering for branch
+1 mvninstall 488 trunk passed
+1 compile 233 trunk passed
+1 checkstyle 64 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 905 branch has no errors when building and testing our client artifacts.
+1 javadoc 149 trunk passed
0 spotbugs 306 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 526 trunk passed
_ Patch Compile Tests _
0 mvndep 32 Maven dependency ordering for patch
+1 mvninstall 487 the patch passed
+1 compile 216 the patch passed
+1 javac 216 the patch passed
+1 checkstyle 63 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 729 patch has no errors when building and testing our client artifacts.
+1 javadoc 126 the patch passed
+1 findbugs 450 the patch passed
_ Other Tests _
-1 unit 153 hadoop-hdds in the patch failed.
-1 unit 1243 hadoop-ozone in the patch failed.
+1 asflicense 37 The patch does not generate ASF License warnings.
7204
Reason Tests
Failed junit tests hadoop.ozone.container.TestContainerReplication
hadoop.ozone.client.rpc.TestCommitWatcher
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-792/5/artifact/out/Dockerfile
GITHUB PR #792
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs yamllint
uname Linux 964887b87752 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 597fa47
Default Java 1.8.0_191
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/5/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/5/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-792/5/testReport/
Max. process+thread count 4195 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/docs hadoop-ozone/dist U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-792/5/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@hanishakoneru hanishakoneru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @vivekratnavel .
Just one Nitpick. +1 with that addressed.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 43 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
0 shelldocs 1 Shelldocs was not available.
0 yamllint 1 yamllint was not available.
+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 78 Maven dependency ordering for branch
+1 mvninstall 415 trunk passed
+1 compile 202 trunk passed
+1 checkstyle 57 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 843 branch has no errors when building and testing our client artifacts.
+1 javadoc 128 trunk passed
0 spotbugs 246 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 433 trunk passed
_ Patch Compile Tests _
0 mvndep 30 Maven dependency ordering for patch
+1 mvninstall 406 the patch passed
+1 compile 210 the patch passed
+1 javac 210 the patch passed
+1 checkstyle 84 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 2 The patch has no ill-formed XML file.
+1 shadedclient 730 patch has no errors when building and testing our client artifacts.
+1 javadoc 127 the patch passed
+1 findbugs 450 the patch passed
_ Other Tests _
-1 unit 151 hadoop-hdds in the patch failed.
-1 unit 1244 hadoop-ozone in the patch failed.
+1 asflicense 38 The patch does not generate ASF License warnings.
6644
Reason Tests
Failed junit tests hadoop.hdds.scm.pipeline.TestRatisPipelineProvider
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-792/6/artifact/out/Dockerfile
GITHUB PR #792
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml shellcheck shelldocs yamllint
uname Linux e27c9a094061 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 0c5fa2e
Default Java 1.8.0_191
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/6/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-792/6/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-792/6/testReport/
Max. process+thread count 4450 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/docs hadoop-ozone/dist U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-792/6/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hanishakoneru
Copy link
Contributor

hanishakoneru commented May 9, 2019

+1. Thanks @vivekratnavel . Test failures are unrelated. I will merge this shortly.

@hanishakoneru hanishakoneru merged commit 18cca58 into apache:trunk May 9, 2019
@@ -20,7 +20,7 @@ metadata:
name: config
data:
OZONE-SITE.XML_hdds.datanode.dir: /data/storage
OZONE-SITE.XML_ozone.scm.datanode.id: /data/datanode.id
OZONE-SITE.XML_ozone.scm.datanode.id.dir: /data/datanode.id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to comment so late, is this wrong ? Shouldn't this be /data instead of /data/datanode.id ?

@@ -20,7 +20,7 @@ metadata:
name: config
data:
OZONE-SITE.XML_hdds.datanode.dir: /data/storage
OZONE-SITE.XML_ozone.scm.datanode.id: /data/datanode.id
OZONE-SITE.XML_ozone.scm.datanode.id.dir: /data/datanode.id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same , /data instead of /data/datanode.id?

@@ -20,7 +20,7 @@ metadata:
name: config
data:
OZONE-SITE.XML_hdds.datanode.dir: /data/storage
OZONE-SITE.XML_ozone.scm.datanode.id: /data/datanode.id
OZONE-SITE.XML_ozone.scm.datanode.id.dir: /data/datanode.id
OZONE-SITE.XML_ozone.metadata.dirs: /data/metadata
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here ..thx

@hanishakoneru
Copy link
Contributor

Thanks @anuengineer for catching this. I will revert the patch.

hanishakoneru pushed a commit that referenced this pull request May 9, 2019
hanishakoneru pushed a commit that referenced this pull request May 9, 2019
shanthoosh added a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
…eckpoint failures.

Retry loop in the existing `KafkaCheckpointManager` implementation retries using the same `SystemProducer` instance on exception and does not recreate it.

When some irrecoverable exceptions occur within the `SystemProducer`, all the subsequent produce message invocations on the `SystemProducer` instance will fail. This had made the entire retry loop on `KafkaCheckpointManager` pointless.

This patch consists of the following changes:
1. This patch addresses the above problem by recreating the `SystemProducer` instance on failure and adds a unit test to verify the functionality.
2. Minor code cleanup in classes: `TestKafkaCheckpointManager` and `KafkaCheckpointManager`.

Author: Shanthoosh Venkataraman <spvenkat@usc.edu>
Author: Shanthoosh Venkataraman <svenkata@linkedin.com>

Reviewers: Dong Lin <lindong28@gmail.com>

Closes apache#792 from shanthoosh/kafka_checkpoint_manager_fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants