Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Implement toString() in OzoneFileStatus for debug purposes.

https://issues.apache.org/jira/browse/HDDS-4149

How was this patch tested?

Added debug log via byteman, output from OzoneFileStatus#toString() is shown as the parameter of getBlockLocations():

getBlockLocations(OzoneFileStatus{input/README.md}): [0,3841,ozone-datanode-2.ozone-datanode.default.svc.cluster.local,ozone-datanode-1.ozone-datanode.default.svc.cluster.local,ozone-datanode-0.ozone-datanode.default.svc.cluster.local]

Regular CI:
https://github.com/adoroszlai/hadoop-ozone/runs/1031492588

@adoroszlai adoroszlai self-assigned this Aug 26, 2020
@bshashikant bshashikant merged commit da61c4a into apache:master Aug 27, 2020
@bshashikant
Copy link
Contributor

Thanks @adoroszlai for the contribution.

@adoroszlai adoroszlai deleted the HDDS-4149 branch August 27, 2020 11:35
@adoroszlai
Copy link
Contributor Author

Thanks @bshashikant for reviewing and committing it.

rakeshadr pushed a commit to rakeshadr/hadoop-ozone that referenced this pull request Sep 3, 2020
errose28 added a commit to errose28/ozone that referenced this pull request Sep 11, 2020
* master: (26 commits)
  HDDS-4167. Acceptance test logs missing if fails during cluster startup (apache#1366)
  HDDS-4121. Implement OmMetadataMangerImpl#getExpiredOpenKeys. (apache#1351)
  HDDS-3867. Extend the chunkinfo tool to display information from all nodes in the pipeline. (apache#1154)
  HDDS-4077. Incomplete OzoneFileSystem statistics (apache#1329)
  HDDS-3903. OzoneRpcClient support batch rename keys. (apache#1150)
  HDDS-4151. Skip the inputstream while offset larger than zero in s3g (apache#1354)
  HDDS-4147. Add OFS to FileSystem META-INF (apache#1352)
  HDDS-4137. Turn on the verbose mode of safe mode check on testlib (apache#1343)
  HDDS-4146. Show the ScmId and ClusterId in the scm web ui. (apache#1350)
  HDDS-4145. Bump version to 1.1.0-SNAPSHOT on master (apache#1349)
  HDDS-4109. Tests in TestOzoneFileSystem should use the existing MiniOzoneCluster (apache#1316)
  HDDS-4149. Implement OzoneFileStatus#toString (apache#1356)
  HDDS-4153. Increase default timeout in kubernetes tests (apache#1357)
  HDDS-2411. add a datanode chunk validator fo datanode chunk generator (apache#1312)
  HDDS-4140. Auto-close /pending pull requests after 21 days of inactivity (apache#1344)
  HDDS-4152. Archive container logs for kubernetes check (apache#1355)
  HDDS-4056. Convert OzoneAdmin to pluggable model (apache#1285)
  HDDS-3972. Add option to limit number of items displaying through ldb tool. (apache#1206)
  HDDS-4068. Client should not retry same OM on network connection failure (apache#1324)
  HDDS-4062. Non rack aware pipelines should not be created if multiple racks are alive. (apache#1291)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants