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/03/02 08:17:54 UTC

[GitHub] [pulsar] sourabhaggrawal opened a new issue #14533: stats-internal throws 500 with message No such ledger exists on Metadata Server

sourabhaggrawal opened a new issue #14533:
URL: https://github.com/apache/pulsar/issues/14533


   **Describe the bug**
   I was getting MissingLogFileException for one of the topic when starting the consumer, when looked into the stats-internal of the topic I found the ledgers for which log file was missing belongs to schemaledger. I deleted those ledgers manually, post that the exception stopped coming for the topic but the stats-internal command started failing with 500 error code.
   Below is the response I get when running the command.
   
   No such ledger exists on Metadata Server
   Reason: HTTP 500 Internal Server Error
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   I was upgrading my cluster from 2.5.2 to 2.8.2 which failed because of the TLS protocol version error as I was using old version of Java8. During this I reverted the upgrade and since then I am getting the MissingLogFileException for most of the ledgers.  
   All those dependencies are now fixed and currently I am running my cluster on 2.8.2


-- 
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] sourabhaggrawal commented on issue #14533: stats-internal throws 500 with message No such ledger exists on Metadata Server

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


   Hi @codelipenghui , MissingLogFileException is occuring since the time I tried to upgrade to 2.8.2 and then reverted back to 2.5.2. 


-- 
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] sourabhaggrawal commented on issue #14533: stats-internal throws 500 with message No such ledger exists on Metadata Server

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


   Later upgrading to 2.8.2 I deleted 2 ledgers of a topic for which consumer was stuck and not able to read message from it because of the same MissingLogFileException crash. After deletion MissingLogFileException stopped for the topic but now the stats-internal command does not work and throw the mentioned exception.
   MissingLogFileException is still there but for some other topic. 


-- 
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] codelipenghui commented on issue #14533: stats-internal throws 500 with message No such ledger exists on Metadata Server

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


   @sourabhaggrawal Have you deleted the log file manually?


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