You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/27 14:23:39 UTC

[GitHub] [pulsar] startjava opened a new issue, #16244: 从2.8版本到2.10版本,启动还在报错org.apache.pulsar.broker.web.RestException: Cluster already exists

startjava opened a new issue, #16244:
URL: https://github.com/apache/pulsar/issues/16244

   不知道官方打算在什么版本fix掉。
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

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


[GitHub] [pulsar] github-actions[bot] commented on issue #16244: 2.8->2.10 version,start pulsar show exception:org.apache.pulsar.broker.web.RestException: Cluster already exists

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16244:
URL: https://github.com/apache/pulsar/issues/16244#issuecomment-1238841051

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] startjava closed issue #16244: 2.8->2.10 version,start pulsar show exception:org.apache.pulsar.broker.web.RestException: Cluster already exists

Posted by GitBox <gi...@apache.org>.
startjava closed issue #16244: 2.8->2.10 version,start pulsar show exception:org.apache.pulsar.broker.web.RestException: Cluster already exists
URL: https://github.com/apache/pulsar/issues/16244


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] github-actions[bot] commented on issue #16244: 2.8->2.10 version,start pulsar show exception:org.apache.pulsar.broker.web.RestException: Cluster already exists

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16244:
URL: https://github.com/apache/pulsar/issues/16244#issuecomment-1198811268

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] leizhiyuan commented on issue #16244: 2.8->2.10 version,start pulsar show exception:org.apache.pulsar.broker.web.RestException: Cluster already exists

Posted by GitBox <gi...@apache.org>.
leizhiyuan commented on issue #16244:
URL: https://github.com/apache/pulsar/issues/16244#issuecomment-1207393494

   it is because 
   
   ```
    public void getClusters(@Suspended AsyncResponse asyncResponse) {
           clusterResources().listAsync()
                   .thenApply(clusters -> clusters.stream()
                           // Remove "global" cluster from returned list
                           .filter(cluster -> !Constants.GLOBAL_CLUSTER.equals(cluster))
                           .collect(Collectors.toSet()))
                   .thenAccept(asyncResponse::resume)
                   .exceptionally(ex -> {
                       log.error("[{}] Failed to get clusters {}", clientAppId(), ex);
                       resumeAsyncResponseExceptionally(asyncResponse, ex);
                       return null;
                   });
       }
   ```
   
   but
   
   ```
   org.apache.pulsar.PulsarStandalone#createSampleNameSpace
   ```
   
   ```
       // Create marker for "global" cluster
               if (!clusters.contains(globalCluster)) {
                   admin.clusters().createCluster(globalCluster, ClusterData.builder().build());
               }
   ```
   
   can not know global has exists


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] 1351030767 commented on issue #16244: 2.8->2.10 version,start pulsar show exception:org.apache.pulsar.broker.web.RestException: Cluster already exists

Posted by "1351030767 (via GitHub)" <gi...@apache.org>.
1351030767 commented on issue #16244:
URL: https://github.com/apache/pulsar/issues/16244#issuecomment-1521935118

   why remove the global cluster?


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] leizhiyuan commented on issue #16244: 2.8->2.10 version,start pulsar show exception:org.apache.pulsar.broker.web.RestException: Cluster already exists

Posted by GitBox <gi...@apache.org>.
leizhiyuan commented on issue #16244:
URL: https://github.com/apache/pulsar/issues/16244#issuecomment-1207394954

   https://github.com/apache/pulsar/commit/ab2e6a805a5266968185b39a1907356687ce36b3 
   
   this pr seems fixed this.


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] RobertIndie commented on issue #16244: 从2.8版本到2.10版本,启动还在报错org.apache.pulsar.broker.web.RestException: Cluster already exists

Posted by GitBox <gi...@apache.org>.
RobertIndie commented on issue #16244:
URL: https://github.com/apache/pulsar/issues/16244#issuecomment-1168309784

   Could you provide the broker log and other related information if possible?


-- 
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: commits-unsubscribe@pulsar.apache.org

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