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 2021/07/15 11:46:21 UTC

[GitHub] [pulsar] urfreespace opened a new pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

urfreespace opened a new pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328


   ### Master Issue: #10040
   Motivation
   Support auto generate HTML page for pulsar client cli tool, for example: https://github.com/apache/pulsar/tree/asf-site/content/tools/pulsar-admin
   
   ### Modifications
   generate docs for pulsar subcommand: delete-cluster-metadata
   
   (Please pick either of the following options)
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   (or)
   
   This change is already covered by existing tests, such as (please describe tests).
   
   (or)
   
   This change added tests and can be verified as follows:
   
   (example:)
   
   Added integration tests for end-to-end deployment with large payloads (10MB)
   Extended integration test for recovery after broker failure
   
   ### Does this pull request potentially affect one of the following parts:
   If yes was chosen, please highlight the changes
   
   Dependencies (does it add or upgrade a dependency): (yes / no)
   The public API: (yes / no)
   The schema: (yes / no / don't know)
   The default values of configurations: (yes / no)
   The wire protocol: (yes / no)
   The rest endpoints: (yes / no)
   The admin cli options: (yes / no)
   Anything that affects deployment: (yes / no / don't know)
   
   ### Documentation
   Does this pull request introduce a new feature? (yes / no)
   If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
   If a feature is not applicable for documentation, explain why?
   If a feature is not documented yet in this PR, please create a followup issue for adding the documentation


-- 
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] tuteng merged pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
tuteng merged pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328


   


-- 
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] tuteng commented on a change in pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
tuteng commented on a change in pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#discussion_r672848014



##########
File path: pulsar-broker/src/test/java/org/apache/pulsar/PulsarClusterMetadataTeardownTest.java
##########
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.pulsar;
+
+import static org.testng.Assert.assertTrue;
+import com.beust.jcommander.Parameter;
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+import java.lang.reflect.Field;
+import java.util.Arrays;
+import org.testng.annotations.Test;
+
+/**
+ * A starter to start function worker.

Review comment:
       A starter pulsar cluster metadata teardown




-- 
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] tuteng commented on a change in pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
tuteng commented on a change in pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#discussion_r672848014



##########
File path: pulsar-broker/src/test/java/org/apache/pulsar/PulsarClusterMetadataTeardownTest.java
##########
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.pulsar;
+
+import static org.testng.Assert.assertTrue;
+import com.beust.jcommander.Parameter;
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+import java.lang.reflect.Field;
+import java.util.Arrays;
+import org.testng.annotations.Test;
+
+/**
+ * A starter to start function worker.

Review comment:
       A starter pulsar cluster metadata teardown




-- 
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] tuteng commented on a change in pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
tuteng commented on a change in pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#discussion_r672848014



##########
File path: pulsar-broker/src/test/java/org/apache/pulsar/PulsarClusterMetadataTeardownTest.java
##########
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.pulsar;
+
+import static org.testng.Assert.assertTrue;
+import com.beust.jcommander.Parameter;
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+import java.lang.reflect.Field;
+import java.util.Arrays;
+import org.testng.annotations.Test;
+
+/**
+ * A starter to start function worker.

Review comment:
       A starter pulsar cluster metadata teardown




-- 
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] tuteng commented on pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
tuteng commented on pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#issuecomment-884104531


   /pulsarbot run-failure-checks


-- 
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] urfreespace commented on a change in pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
urfreespace commented on a change in pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#discussion_r672994591



##########
File path: pulsar-broker/src/test/java/org/apache/pulsar/PulsarClusterMetadataTeardownTest.java
##########
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.pulsar;
+
+import static org.testng.Assert.assertTrue;
+import com.beust.jcommander.Parameter;
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+import java.lang.reflect.Field;
+import java.util.Arrays;
+import org.testng.annotations.Test;
+
+/**
+ * A starter to start function worker.

Review comment:
       Resolved, maybe it's not necessary, so I removed it.




-- 
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] urfreespace commented on pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
urfreespace commented on pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#issuecomment-886292235


   > @urfreespace Can you rebase it to the latest master?
   
   OK


-- 
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] urfreespace commented on a change in pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
urfreespace commented on a change in pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#discussion_r672994591



##########
File path: pulsar-broker/src/test/java/org/apache/pulsar/PulsarClusterMetadataTeardownTest.java
##########
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.pulsar;
+
+import static org.testng.Assert.assertTrue;
+import com.beust.jcommander.Parameter;
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+import java.lang.reflect.Field;
+import java.util.Arrays;
+import org.testng.annotations.Test;
+
+/**
+ * A starter to start function worker.

Review comment:
       Resolved, maybe it's not necessary, so I removed it.




-- 
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] urfreespace commented on pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
urfreespace commented on pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#issuecomment-887909147


   /pulsarbot run-failure-checks


-- 
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] sijie commented on pull request #11328: [website][pulsar]: auto generate docs for pulsar subcommand: delete-cluster-metadata

Posted by GitBox <gi...@apache.org>.
sijie commented on pull request #11328:
URL: https://github.com/apache/pulsar/pull/11328#issuecomment-885909651


   @urfreespace Can you rebase it to the latest master?


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