You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sh...@apache.org on 2020/04/21 14:09:04 UTC

[incubator-ratis] branch ratis-ozone updated (d23d2a8 -> a171cc9)

This is an automated email from the ASF dual-hosted git repository.

shashikant pushed a change to branch ratis-ozone
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git.


    from d23d2a8  Merge commit '7c5b30d825e598ceaa4bd309c4d66d4ba40bf83e' into ratis-ozone
     add 4834e45  RATIS-775. Fix checkstyle violations in ratis-netty. Contributed by Dinesh Chitlangia.
     add cfd7c06  RATIS-772. Fix checkstyle violations in ratis-grpc. Contributed by Dinesh Chitlangia.
     add 0756da1  RATIS-774. Fix checkstyle violations in ratis-hadoop. Contributed by Dinesh Chitlangia.
     add cf8c27e  GrpcClientProtocolClient uses NotLeaderException event for LeaderNotReadyException. Contributed by Lokesh Jain.
     add 1eb0ece  RATIS-832. Add Metrics for retry cache count as well as size in bytes. Contributed by runzhiwang.
     add 0ee5be1  RATIS-828. Logs cluttered by AlreadyExistsException. Contributed by Siddharth Wagle.
     add 2c8d550  RATIS-843. Create ratis-docs module
     add a1785b7  RATIS-622 createLog will block indefinitely if group creation fails
     add 9752b5a  RATIS-851. Raft Client should not change leader on ResourceUnavailableException. Contributed by Lokesh Jain.
     add a14a1d7  RATIS-835. Include exception based attempt count in raft client request. Contributed by Lokesh Jain.
     add 490b689  RATIS-860. Organize log4j dependency in pom.xml. Contributed by Shashikant Banerjee.
     add c2e855d  RATIS-857. Thread unsafe RaftServerMetrics::metricsMap HashMap in multi thread. Contributed by runzhiwang.
     new a171cc9  Merge commit 'c2e855db82b3027241d387b404bd56b51279cfbf' into ratis-ozone

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 LICENSE                                            |  75 +++++-
 pom.xml                                            |   6 +-
 .../org/apache/ratis/client/ClientRetryEvent.java  |  14 +-
 .../org/apache/ratis/client/impl/OrderedAsync.java |  32 ++-
 .../apache/ratis/client/impl/RaftClientImpl.java   |  23 +-
 .../apache/ratis/client/impl/UnorderedAsync.java   |   5 +-
 .../ratis/protocol/RaftRetryFailureException.java  |   8 +
 .../ratis/retry/ExceptionDependentRetry.java       |  23 +-
 .../java/org/apache/ratis/retry/RetryPolicy.java   |   5 +
 ratis-docs/README.md                               |  55 ++++
 ratis-docs/archetypes/default.md                   |  20 ++
 .../main/bin/server.sh => ratis-docs/config.yaml   |  22 +-
 ratis-docs/content/_index.md                       |  33 +++
 ratis-docs/content/concept/_index.md               |  46 ++++
 ratis-docs/content/start/_index.md                 |  34 +++
 .../dev-support/bin/generate-site.sh               |  15 +-
 ratis-docs/pom.xml                                 |  71 +++++
 .../themes/ratisdoc/layouts/_default/section.html  |  75 ++++++
 .../themes/ratisdoc/layouts/_default/single.html   |  61 +++++
 ratis-docs/themes/ratisdoc/layouts/index.html      |  37 +++
 .../themes/ratisdoc/layouts/partials/footer.html   |  22 ++
 .../themes/ratisdoc/layouts/partials/header.html   |  34 +++
 .../ratisdoc/layouts/partials/languages.html       |  24 ++
 .../themes/ratisdoc/layouts/partials/navbar.html   |  38 +++
 .../themes/ratisdoc/layouts/partials/sidebar.html  |  70 +++++
 .../ratisdoc/layouts/shortcodes/buttonlink.html    |  20 ++
 .../themes/ratisdoc/layouts/shortcodes/card.html   |  40 +++
 .../ratisdoc/layouts/shortcodes/jumbotron.html     |  25 ++
 .../ratisdoc/layouts/shortcodes/requirements.html  |  22 ++
 .../ratisdoc/static/css/bootstrap-theme.min.css    |   6 +
 .../static/css/bootstrap-theme.min.css.map         |   1 +
 .../themes/ratisdoc/static/css/bootstrap.min.css   |   6 +
 .../ratisdoc/static/css/bootstrap.min.css.map      |   1 +
 ratis-docs/themes/ratisdoc/static/css/ratisdoc.css | 169 ++++++++++++
 .../static/fonts/glyphicons-halflings-regular.eot  | Bin 0 -> 20127 bytes
 .../static/fonts/glyphicons-halflings-regular.svg  | 288 +++++++++++++++++++++
 .../static/fonts/glyphicons-halflings-regular.ttf  | Bin 0 -> 45404 bytes
 .../static/fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes
 .../fonts/glyphicons-halflings-regular.woff2       | Bin 0 -> 18028 bytes
 .../themes/ratisdoc/static/js/bootstrap.min.js     |   6 +
 .../themes/ratisdoc/static/js/jquery-3.4.1.min.js  |   2 +
 .../themes/ratisdoc/static/js/ratisdoc.js          |  11 +-
 ratis-docs/themes/ratisdoc/theme.toml              |   2 +
 .../grpc/client/GrpcClientProtocolClient.java      |   6 +-
 .../apache/ratis/grpc/client/GrpcClientRpc.java    |   3 +-
 .../apache/ratis/grpc/client/GrpcOutputStream.java |   4 +-
 .../grpc/server/GrpcAdminProtocolService.java      |   3 +-
 .../apache/ratis/grpc/server/GrpcLogAppender.java  |   7 +-
 .../org/apache/ratis/grpc/server/GrpcService.java  |   5 +-
 .../apache/hadoop/ipc/ProtobufRpcEngineShaded.java |  60 +++--
 .../apache/ratis/hadooprpc/HadoopConstants.java    |  17 +-
 ...mbinedClientProtocolServerSideTranslatorPB.java |   1 -
 .../ratis/hadooprpc/server/HadoopRpcService.java   |   5 +-
 .../ratis/logservice/server/LogStateMachine.java   |   2 +-
 .../ratis/logservice/server/MetaStateMachine.java  |  56 +++-
 .../ratis/logservice/server/TestMetaServer.java    |   9 +
 .../apache/ratis/netty/server/NettyRpcService.java | 100 +++----
 .../apache/ratis/server/impl/RaftServerImpl.java   |   1 -
 .../ratis/server/impl/RaftServerMetrics.java       |  23 +-
 .../apache/ratis/server/impl/RaftServerProxy.java  |   6 +-
 .../org/apache/ratis/server/impl/RetryCache.java   |   8 +-
 .../java/org/apache/ratis/MiniRaftCluster.java     |   4 +
 .../ratis/server/impl/TestRetryCacheMetrics.java   | 119 +++++++++
 .../ratis/retry/TestExceptionDependentRetry.java   |  78 +++++-
 .../org/apache/ratis/retry/TestRetryPolicy.java    |   4 +-
 65 files changed, 1786 insertions(+), 182 deletions(-)
 create mode 100644 ratis-docs/README.md
 create mode 100644 ratis-docs/archetypes/default.md
 copy ratis-examples/src/main/bin/server.sh => ratis-docs/config.yaml (72%)
 mode change 100755 => 100644
 create mode 100644 ratis-docs/content/_index.md
 create mode 100644 ratis-docs/content/concept/_index.md
 create mode 100644 ratis-docs/content/start/_index.md
 copy ratis-examples/src/main/bin/server.sh => ratis-docs/dev-support/bin/generate-site.sh (78%)
 create mode 100644 ratis-docs/pom.xml
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/_default/section.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/_default/single.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/index.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/partials/footer.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/partials/header.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/partials/languages.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/partials/navbar.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/partials/sidebar.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/shortcodes/buttonlink.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/shortcodes/card.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/shortcodes/jumbotron.html
 create mode 100644 ratis-docs/themes/ratisdoc/layouts/shortcodes/requirements.html
 create mode 100644 ratis-docs/themes/ratisdoc/static/css/bootstrap-theme.min.css
 create mode 100644 ratis-docs/themes/ratisdoc/static/css/bootstrap-theme.min.css.map
 create mode 100644 ratis-docs/themes/ratisdoc/static/css/bootstrap.min.css
 create mode 100644 ratis-docs/themes/ratisdoc/static/css/bootstrap.min.css.map
 create mode 100644 ratis-docs/themes/ratisdoc/static/css/ratisdoc.css
 create mode 100644 ratis-docs/themes/ratisdoc/static/fonts/glyphicons-halflings-regular.eot
 create mode 100644 ratis-docs/themes/ratisdoc/static/fonts/glyphicons-halflings-regular.svg
 create mode 100644 ratis-docs/themes/ratisdoc/static/fonts/glyphicons-halflings-regular.ttf
 create mode 100644 ratis-docs/themes/ratisdoc/static/fonts/glyphicons-halflings-regular.woff
 create mode 100644 ratis-docs/themes/ratisdoc/static/fonts/glyphicons-halflings-regular.woff2
 create mode 100644 ratis-docs/themes/ratisdoc/static/js/bootstrap.min.js
 create mode 100644 ratis-docs/themes/ratisdoc/static/js/jquery-3.4.1.min.js
 copy ratis-examples/src/main/java/org/apache/ratis/examples/arithmetic/Evaluable.java => ratis-docs/themes/ratisdoc/static/js/ratisdoc.js (84%)
 create mode 100644 ratis-docs/themes/ratisdoc/theme.toml
 create mode 100644 ratis-server/src/test/java/org/apache/ratis/server/impl/TestRetryCacheMetrics.java


[incubator-ratis] 01/01: Merge commit 'c2e855db82b3027241d387b404bd56b51279cfbf' into ratis-ozone

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shashikant pushed a commit to branch ratis-ozone
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git

commit a171cc98614540e6c3069e8b82fe8a5680edcefc
Merge: d23d2a8 c2e855d
Author: Shashikant Banerjee <sh...@apache.org>
AuthorDate: Tue Apr 21 19:38:48 2020 +0530

    Merge commit 'c2e855db82b3027241d387b404bd56b51279cfbf' into ratis-ozone

 LICENSE                                            |  75 +++++-
 pom.xml                                            |   6 +-
 .../org/apache/ratis/client/ClientRetryEvent.java  |  14 +-
 .../org/apache/ratis/client/impl/OrderedAsync.java |  32 ++-
 .../apache/ratis/client/impl/RaftClientImpl.java   |  23 +-
 .../apache/ratis/client/impl/UnorderedAsync.java   |   5 +-
 .../ratis/protocol/RaftRetryFailureException.java  |   8 +
 .../ratis/retry/ExceptionDependentRetry.java       |  23 +-
 .../java/org/apache/ratis/retry/RetryPolicy.java   |   5 +
 ratis-docs/README.md                               |  55 ++++
 ratis-docs/archetypes/default.md                   |  20 ++
 ratis-docs/config.yaml                             |  34 +++
 ratis-docs/content/_index.md                       |  33 +++
 ratis-docs/content/concept/_index.md               |  46 ++++
 ratis-docs/content/start/_index.md                 |  34 +++
 ratis-docs/dev-support/bin/generate-site.sh        |  31 +++
 ratis-docs/pom.xml                                 |  71 +++++
 .../themes/ratisdoc/layouts/_default/section.html  |  75 ++++++
 .../themes/ratisdoc/layouts/_default/single.html   |  61 +++++
 ratis-docs/themes/ratisdoc/layouts/index.html      |  37 +++
 .../themes/ratisdoc/layouts/partials/footer.html   |  22 ++
 .../themes/ratisdoc/layouts/partials/header.html   |  34 +++
 .../ratisdoc/layouts/partials/languages.html       |  24 ++
 .../themes/ratisdoc/layouts/partials/navbar.html   |  38 +++
 .../themes/ratisdoc/layouts/partials/sidebar.html  |  70 +++++
 .../ratisdoc/layouts/shortcodes/buttonlink.html    |  20 ++
 .../themes/ratisdoc/layouts/shortcodes/card.html   |  40 +++
 .../ratisdoc/layouts/shortcodes/jumbotron.html     |  25 ++
 .../ratisdoc/layouts/shortcodes/requirements.html  |  22 ++
 .../ratisdoc/static/css/bootstrap-theme.min.css    |   6 +
 .../static/css/bootstrap-theme.min.css.map         |   1 +
 .../themes/ratisdoc/static/css/bootstrap.min.css   |   6 +
 .../ratisdoc/static/css/bootstrap.min.css.map      |   1 +
 ratis-docs/themes/ratisdoc/static/css/ratisdoc.css | 169 ++++++++++++
 .../static/fonts/glyphicons-halflings-regular.eot  | Bin 0 -> 20127 bytes
 .../static/fonts/glyphicons-halflings-regular.svg  | 288 +++++++++++++++++++++
 .../static/fonts/glyphicons-halflings-regular.ttf  | Bin 0 -> 45404 bytes
 .../static/fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes
 .../fonts/glyphicons-halflings-regular.woff2       | Bin 0 -> 18028 bytes
 .../themes/ratisdoc/static/js/bootstrap.min.js     |   6 +
 .../themes/ratisdoc/static/js/jquery-3.4.1.min.js  |   2 +
 .../themes/ratisdoc/static/js/ratisdoc.js          |  17 +-
 ratis-docs/themes/ratisdoc/theme.toml              |   2 +
 .../grpc/client/GrpcClientProtocolClient.java      |   6 +-
 .../apache/ratis/grpc/client/GrpcClientRpc.java    |   3 +-
 .../apache/ratis/grpc/client/GrpcOutputStream.java |   4 +-
 .../grpc/server/GrpcAdminProtocolService.java      |   3 +-
 .../apache/ratis/grpc/server/GrpcLogAppender.java  |   7 +-
 .../org/apache/ratis/grpc/server/GrpcService.java  |   5 +-
 .../apache/hadoop/ipc/ProtobufRpcEngineShaded.java |  60 +++--
 .../apache/ratis/hadooprpc/HadoopConstants.java    |  17 +-
 ...mbinedClientProtocolServerSideTranslatorPB.java |   1 -
 .../ratis/hadooprpc/server/HadoopRpcService.java   |   5 +-
 .../ratis/logservice/server/LogStateMachine.java   |   2 +-
 .../ratis/logservice/server/MetaStateMachine.java  |  56 +++-
 .../ratis/logservice/server/TestMetaServer.java    |   9 +
 .../apache/ratis/netty/server/NettyRpcService.java | 100 +++----
 .../apache/ratis/server/impl/RaftServerImpl.java   |   1 -
 .../ratis/server/impl/RaftServerMetrics.java       |  23 +-
 .../apache/ratis/server/impl/RaftServerProxy.java  |   6 +-
 .../org/apache/ratis/server/impl/RetryCache.java   |   8 +-
 .../java/org/apache/ratis/MiniRaftCluster.java     |   4 +
 .../ratis/server/impl/TestRetryCacheMetrics.java   | 119 +++++++++
 .../ratis/retry/TestExceptionDependentRetry.java   |  78 +++++-
 .../org/apache/ratis/retry/TestRetryPolicy.java    |   4 +-
 65 files changed, 1820 insertions(+), 182 deletions(-)