You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/02/03 19:48:43 UTC

[GitHub] [ignite] Vladsz83 commented on a change in pull request #9775: IGNITE-16416 : Unreadable result on cluster deactivation via IgniteMXBean

Vladsz83 commented on a change in pull request #9775:
URL: https://github.com/apache/ignite/pull/9775#discussion_r798914772



##########
File path: modules/core/src/main/java/org/apache/ignite/internal/IgniteMXBeanImpl.java
##########
@@ -330,8 +330,9 @@ public IgniteMXBeanImpl(IgniteKernal kernal) {
             ctx.state().changeGlobalState(newState, forceDeactivation, ctx.cluster().get()
                 .forServers().nodes(), false).get();
         }
-        catch (IgniteCheckedException e) {
-            throw U.convertException(e);
+        catch (IgniteException | IgniteCheckedException e) {
+            // Convert to deserializable one.
+            throw new RuntimeException("Unable to change cluster state to '" + state + "': " + e.getMessage());

Review comment:
       Fixed




-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org