Skip to content

HDDS-1935. Improve the visibility with Ozone Insight tool #1255

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

Merged
merged 10 commits into from
Aug 30, 2019

Conversation

elek
Copy link
Member

@elek elek commented Aug 8, 2019

Visibility is a key aspect for the operation of any Ozone cluster. We need better visibility to improve correctnes and performance. While the distributed tracing is a good tool for improving the visibility of performance we have no powerful tool which can be used to check the internal state of the Ozone cluster and debug certain correctness issues.

To improve the visibility of the internal components I propose to introduce a new command line application ozone insight.

The new tool will show the selected metrics / logs / configuration for any of the internal components (like replication-manager, pipeline, etc.).

For each insight points we can define the required logs and log levels, metrics and configuration and the tool can display only the component specific information during the debug.

h2. Usage

First we can check the available insight point:

{code}
bash-4.2$ ozone insight list
Available insight points:

scm.node-manager SCM Datanode management related information.
scm.replica-manager SCM closed container replication manager
scm.event-queue Information about the internal async event delivery
scm.protocol.block-location SCM Block location protocol endpoint
scm.protocol.container-location Planned insight point which is not yet implemented.
scm.protocol.datanode Planned insight point which is not yet implemented.
scm.protocol.security Planned insight point which is not yet implemented.
scm.http Planned insight point which is not yet implemented.
om.key-manager OM Key Manager
om.protocol.client Ozone Manager RPC endpoint
om.http Planned insight point which is not yet implemented.
datanode.pipeline[id] More information about one ratis datanode ring.
datanode.rocksdb More information about one ratis datanode ring.
s3g.http Planned insight point which is not yet implemented.
{code}

Insight points can define configuration, metrics and/or logs. Configuration can be displayed based on the configuration objects:

{code}
ozone insight config scm.protocol.block-location
Configuration for scm.protocol.block-location (SCM Block location protocol endpoint)

ozone.scm.block.client.bind.host
default: 0.0.0.0
current: 0.0.0.0

The hostname or IP address used by the SCM block client endpoint to bind

ozone.scm.block.client.port
default: 9863
current: 9863

The port number of the Ozone SCM block client service.

ozone.scm.block.client.address
default: ${ozone.scm.client.address}
current: scm

The address of the Ozone SCM block client service. If not defined value of ozone.scm.client.address is used

{code}

Metrics can be retrieved from the prometheus entrypoint:

{code}
ozone insight metrics scm.protocol.block-location
Metrics for scm.protocol.block-location (SCM Block location protocol endpoint)

RPC connections

Open connections: 0
Dropped connections: 0
Received bytes: 0
Sent bytes: 0

RPC queue

RPC average queue time: 0.0
RPC call queue length: 0

RPC performance

RPC processing time average: 0.0
Number of slow calls: 0

Message type counters

Number of AllocateScmBlock: 0
Number of DeleteScmKeyBlocks: 0
Number of GetScmInfo: 2
Number of SortDatanodes: 0
{code}

Log levels can be adjusted with the existing logLevel servlet and can be collected / streamd via a simple logstream servlet:

{code}
ozone insight log scm.node-manager
[SCM] 2019-08-08 12:42:37,392 [DEBUG|org.apache.hadoop.hdds.scm.node.SCMNodeManager|SCMNodeManager] Processing node report from [datanode=ozone_datanode_1.ozone_default]
[SCM] 2019-08-08 12:43:37,392 [DEBUG|org.apache.hadoop.hdds.scm.node.SCMNodeManager|SCMNodeManager] Processing node report from [datanode=ozone_datanode_1.ozone_default]
[SCM] 2019-08-08 12:44:37,392 [DEBUG|org.apache.hadoop.hdds.scm.node.SCMNodeManager|SCMNodeManager] Processing node report from [datanode=ozone_datanode_1.ozone_default]
[SCM] 2019-08-08 12:45:37,393 [DEBUG|org.apache.hadoop.hdds.scm.node.SCMNodeManager|SCMNodeManager] Processing node report from [datanode=ozone_datanode_1.ozone_default]
[SCM] 2019-08-08 12:46:37,392 [DEBUG|org.apache.hadoop.hdds.scm.node.SCMNodeManager|SCMNodeManager] Processing node report from [datanode=ozone_datanode_1.ozone_default]
{code}

The verbose mode can display the raw messages as well:

{code}
[SCM] 2019-08-08 13:16:37,398 [DEBUG|org.apache.hadoop.hdds.scm.node.SCMNodeManager|SCMNodeManager] Processing node report from [datanode=ozone_datanode_1.ozone_default]
[SCM] 2019-08-08 13:16:37,400 [TRACE|org.apache.hadoop.hdds.scm.node.SCMNodeManager|SCMNodeManager] HB is received from [datanode=ozone_datanode_1.ozone_default]:
storageReport {
storageUuid: "DS-bffe6bee-1166-4502-acf5-57fc16c5aa98"
storageLocation: "/data/hdds"
capacity: 470282264576
scmUsed: 16384
remaining: 205695963136
storageType: DISK
failed: false
}

{code}

h2. Use cases

Ozone insight can be used for any kind of debuging. Some problem examples from my yesterday

  1. Due to a cache problem the volumes were created twice without any error at the second time. With this tool I can check the state of the internal cache, or check if the volume is added to the rocksdb itself.

  2. After fixing this problem we found an DNS caching issue. The OM responded with an error but it was not clear where the error was propagated from (it was created in OzoneManagerProtocolClientSideTranslatorPB.handleError). With checking the traffic between SCM and OM it can be easy to track the origin of a specific error.

  3. After fixing this problem we found some pipline problem (reported later at HDDS-1933). With this tool I could check the content of the reports and messages to the pipeline manager.

h2. Implementation

We can implement the tool without any significant code change as it uses existing features:

  • Metrics can be downloaded from the /prom endpoint
  • Log Level can be set with the existing /logLevel servlet endpoint (from hadoop-common)
  • Log lines can be streamed with a very simple new servlet
  • Configuration can be displayed based on configuration points

A new interface can be introduced for InsightPoints where all the affected logs/levels, metrics and config classes can be defined for each components.

Prometheus servlet endpoint can be changed to be turned on by default.

See: https://issues.apache.org/jira/browse/HDDS-1935

@elek elek added the ozone label Aug 8, 2019
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 53 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 shelldocs 1 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
0 mvndep 32 Maven dependency ordering for branch
+1 mvninstall 647 trunk passed
+1 compile 398 trunk passed
+1 checkstyle 79 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 760 branch has no errors when building and testing our client artifacts.
+1 javadoc 167 trunk passed
0 spotbugs 415 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 610 trunk passed
_ Patch Compile Tests _
0 mvndep 37 Maven dependency ordering for patch
+1 mvninstall 536 the patch passed
+1 compile 369 the patch passed
+1 javac 369 the patch passed
+1 checkstyle 77 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 26 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 6 The patch has no ill-formed XML file.
+1 shadedclient 630 patch has no errors when building and testing our client artifacts.
+1 javadoc 154 the patch passed
-1 findbugs 419 hadoop-ozone in the patch failed.
_ Other Tests _
+1 unit 301 hadoop-hdds in the patch passed.
-1 unit 1977 hadoop-ozone in the patch failed.
+1 asflicense 47 The patch does not generate ASF License warnings.
7760
Reason Tests
Failed junit tests hadoop.ozone.om.TestKeyManagerImpl
hadoop.hdds.scm.pipeline.TestRatisPipelineProvider
hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures
hadoop.ozone.om.TestScmSafeMode
hadoop.ozone.client.rpc.TestSecureOzoneRpcClient
hadoop.ozone.client.rpc.TestOzoneRpcClient
hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/1/artifact/out/Dockerfile
GITHUB PR #1255
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml shellcheck shelldocs
uname Linux 127495e05306 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 63161cf
Default Java 1.8.0_212
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/1/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/1/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/1/testReport/
Max. process+thread count 5005 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/config hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/insight hadoop-ozone/ozone-manager U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/1/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.

@anuengineer
Copy link
Contributor

Let us sync up some time. If I get an overview of the code layout, it will be easier for me to review this. I really appreciate you doing this. Thank you ... I will sync with you when you are back

@avijayanhwx
Copy link
Contributor

This is a very useful addition @elek. Is there any documentation or slides that I can look at to understand this more?

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

I think this is very useful. Found a few minor issues while testing it, see code comments.

It seems that log level is kept at debug/trace after ozone insight log command is finished (^C). I would expect it to be restored to avoid spamming logs. Maybe it's specific to docker environment where logs go to console.

I also observed occasional (probably harmless) EofException around WriterAppender.append.

@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.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
0 mvndep 69 Maven dependency ordering for branch
+1 mvninstall 604 trunk passed
+1 compile 386 trunk passed
+1 checkstyle 75 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 783 branch has no errors when building and testing our client artifacts.
+1 javadoc 168 trunk passed
0 spotbugs 428 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 618 trunk passed
_ Patch Compile Tests _
0 mvndep 36 Maven dependency ordering for patch
+1 mvninstall 564 the patch passed
+1 compile 395 the patch passed
+1 javac 395 the patch passed
+1 checkstyle 72 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 26 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 7 The patch has no ill-formed XML file.
+1 shadedclient 620 patch has no errors when building and testing our client artifacts.
+1 javadoc 162 the patch passed
-1 findbugs 420 hadoop-ozone in the patch failed.
_ Other Tests _
+1 unit 310 hadoop-hdds in the patch passed.
-1 unit 2044 hadoop-ozone in the patch failed.
+1 asflicense 51 The patch does not generate ASF License warnings.
7892
Reason Tests
Failed junit tests hadoop.ozone.TestStorageContainerManager
hadoop.ozone.client.rpc.TestFailureHandlingByClient
hadoop.ozone.client.rpc.TestCommitWatcher
hadoop.ozone.client.rpc.Test2WayCommitInRatis
hadoop.ozone.container.server.TestSecureContainerServer
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/4/artifact/out/Dockerfile
GITHUB PR #1255
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml shellcheck shelldocs
uname Linux 74081c66ba67 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 8aaf5e1
Default Java 1.8.0_212
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/4/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/4/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/4/testReport/
Max. process+thread count 5284 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/config hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/insight hadoop-ozone/ozone-manager U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/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 42 Docker mode activated.
_ Prechecks _
+1 dupname 2 No case conflicting files found.
0 shelldocs 0 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
0 mvndep 74 Maven dependency ordering for branch
+1 mvninstall 657 trunk passed
+1 compile 388 trunk passed
+1 checkstyle 77 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 791 branch has no errors when building and testing our client artifacts.
+1 javadoc 188 trunk passed
0 spotbugs 464 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 704 trunk passed
-0 patch 513 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 44 Maven dependency ordering for patch
+1 mvninstall 577 the patch passed
+1 compile 393 the patch passed
+1 javac 393 the patch passed
-0 checkstyle 43 hadoop-ozone: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 mvnsite 0 the patch passed
+1 shellcheck 26 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 8 The patch has no ill-formed XML file.
+1 shadedclient 667 patch has no errors when building and testing our client artifacts.
+1 javadoc 174 the patch passed
-1 findbugs 429 hadoop-ozone in the patch failed.
_ Other Tests _
+1 unit 304 hadoop-hdds in the patch passed.
-1 unit 2388 hadoop-ozone in the patch failed.
+1 asflicense 49 The patch does not generate ASF License warnings.
8502
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
hadoop.ozone.container.server.TestSecureContainerServer
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/5/artifact/out/Dockerfile
GITHUB PR #1255
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml shellcheck shelldocs
uname Linux 89c76896c261 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 / 217e748
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/5/artifact/out/diff-checkstyle-hadoop-ozone.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/5/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/5/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/5/testReport/
Max. process+thread count 4673 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/config hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/insight hadoop-ozone/ozone-manager U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/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.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 42 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 shelldocs 1 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
0 mvndep 28 Maven dependency ordering for branch
+1 mvninstall 607 trunk passed
+1 compile 375 trunk passed
+1 checkstyle 82 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 800 branch has no errors when building and testing our client artifacts.
+1 javadoc 170 trunk passed
0 spotbugs 444 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 648 trunk passed
-0 patch 490 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 36 Maven dependency ordering for patch
+1 mvninstall 545 the patch passed
+1 compile 389 the patch passed
+1 javac 389 the patch passed
-0 checkstyle 41 hadoop-ozone: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 mvnsite 0 the patch passed
+1 shellcheck 26 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 6 The patch has no ill-formed XML file.
+1 shadedclient 676 patch has no errors when building and testing our client artifacts.
+1 javadoc 161 the patch passed
-1 findbugs 416 hadoop-ozone in the patch failed.
_ Other Tests _
+1 unit 291 hadoop-hdds in the patch passed.
-1 unit 1714 hadoop-ozone in the patch failed.
+1 asflicense 44 The patch does not generate ASF License warnings.
7559
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
hadoop.hdds.scm.pipeline.TestRatisPipelineCreateAndDestory
hadoop.ozone.scm.pipeline.TestSCMPipelineMetrics
hadoop.ozone.container.server.TestSecureContainerServer
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/6/artifact/out/Dockerfile
GITHUB PR #1255
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml shellcheck shelldocs
uname Linux 6741578cdaa4 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 / ee7c261
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/6/artifact/out/diff-checkstyle-hadoop-ozone.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/6/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/6/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/6/testReport/
Max. process+thread count 5307 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/config hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/insight hadoop-ozone/ozone-manager U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/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.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 13 #1255 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #1255
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/7/console
versions git=2.17.1
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 42 Docker mode activated.
_ Prechecks _
+1 dupname 2 No case conflicting files found.
0 shelldocs 0 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
0 mvndep 80 Maven dependency ordering for branch
+1 mvninstall 697 trunk passed
+1 compile 406 trunk passed
+1 checkstyle 98 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 808 branch has no errors when building and testing our client artifacts.
+1 javadoc 189 trunk passed
0 spotbugs 449 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 674 trunk passed
-0 patch 521 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 50 Maven dependency ordering for patch
+1 mvninstall 588 the patch passed
+1 compile 412 the patch passed
+1 javac 412 the patch passed
+1 checkstyle 94 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 32 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 8 The patch has no ill-formed XML file.
+1 shadedclient 682 patch has no errors when building and testing our client artifacts.
+1 javadoc 193 the patch passed
-1 findbugs 440 hadoop-ozone in the patch failed.
_ Other Tests _
+1 unit 299 hadoop-hdds in the patch passed.
-1 unit 2262 hadoop-ozone in the patch failed.
+1 asflicense 63 The patch does not generate ASF License warnings.
8627
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.ozone.client.rpc.TestWatchForCommit
hadoop.ozone.container.common.statemachine.commandhandler.TestBlockDeletion
hadoop.ozone.client.rpc.TestCloseContainerHandlingByClient
hadoop.ozone.client.rpc.TestOzoneRpcClientForAclAuditLog
hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/8/artifact/out/Dockerfile
GITHUB PR #1255
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml shellcheck shelldocs
uname Linux 252630c31851 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / b1eee8b
Default Java 1.8.0_222
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/8/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/8/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/8/testReport/
Max. process+thread count 5340 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/config hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/insight hadoop-ozone/ozone-manager hadoop-ozone/tools U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/8/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.

@elek
Copy link
Member Author

elek commented Aug 28, 2019

This is a very useful addition @elek. Is there any documentation or slides that I can look at to understand this more?

I think all the CLI parameters are well documented. But I will definitely create new doc pages if the patch is accepted.

@anuengineer @arp7: Do you have any more comments? Can you please review?

@anuengineer
Copy link
Contributor

Can you please rebase this patch? The patch is not applying cleanly to the head of trunk.
ListSubCommand.java

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 14 #1255 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #1255
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/9/console
versions git=2.17.1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@elek
Copy link
Member Author

elek commented Aug 29, 2019

Can you please rebase this patch? The patch is not applying cleanly to the head of trunk.
ListSubCommand.java

Could be a camel case problem on osx. I think earlier the camele case usage was not consistent. Base on github there are no rebase problem. Can you please try to delete your local insight folder and retry?

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 42 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 shelldocs 0 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
0 mvndep 68 Maven dependency ordering for branch
+1 mvninstall 592 trunk passed
+1 compile 380 trunk passed
+1 checkstyle 79 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 871 branch has no errors when building and testing our client artifacts.
+1 javadoc 180 trunk passed
0 spotbugs 449 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 668 trunk passed
-0 patch 499 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 40 Maven dependency ordering for patch
+1 mvninstall 566 the patch passed
+1 compile 463 the patch passed
+1 javac 463 the patch passed
+1 checkstyle 103 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 38 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 12 The patch has no ill-formed XML file.
+1 shadedclient 892 patch has no errors when building and testing our client artifacts.
+1 javadoc 226 the patch passed
+1 findbugs 851 the patch passed
_ Other Tests _
+1 unit 358 hadoop-hdds in the patch passed.
-1 unit 1971 hadoop-ozone in the patch failed.
+1 asflicense 55 The patch does not generate ASF License warnings.
8718
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestContainerStateMachine
hadoop.hdds.scm.pipeline.TestSCMPipelineManager
hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotProvider
hadoop.ozone.client.rpc.TestContainerStateMachineFailures
hadoop.ozone.om.TestOzoneManagerHA
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/10/artifact/out/Dockerfile
GITHUB PR #1255
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml shellcheck shelldocs
uname Linux 5bbd24f32b4f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / c749f62
Default Java 1.8.0_222
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/10/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/10/testReport/
Max. process+thread count 4300 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/config hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/insight hadoop-ozone/ozone-manager U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1255/10/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.

@anuengineer anuengineer merged commit 4f5f46e into apache:trunk Aug 30, 2019
amahussein pushed a commit to amahussein/hadoop that referenced this pull request Oct 29, 2019
RogPodge pushed a commit to RogPodge/hadoop that referenced this pull request Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants