You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/09/16 02:57:29 UTC

[GitHub] [hadoop-ozone] bharatviswa504 opened a new pull request #1427: HDDS-4248. Add ratis log parser to ozone script.

bharatviswa504 opened a new pull request #1427:
URL: https://github.com/apache/hadoop-ozone/pull/1427


   ## What changes were proposed in this pull request?
   
   Add ratis log parser to ozone script
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4248
   
   ## How was this patch tested?
   
   Tested it on a local laptop. Now able to use ratislogparser. (Already integration tests are there, as it is missing script to run command tested locally)
   ```
   
   bin/ozone ratislogparser om -s=/Users/bviswanadham/log_7433987-7440022
   
   	 State Machine: cmdType: CommitKey traceID: "" clientId: "client-A28FC444970F" userInfo { userName: "root" remoteAddress: "xx.xx.xx.xx" hostName: "xx.xx.xx.xx" } commitKeyRequest { keyArgs { volumeName: "vol1" bucketName: "bucket1" keyName: "6tnsw11izq/116775" dataSize: 1048576 keyLocations { blockID { containerBlockID { containerID: 367 localID: 104831909207658477 } blockCommitSequenceId: 3059494 } offset: 0 length: 1048576 createVersion: 0 pipeline { members { uuid: "cc57411d-1bd6-4ffa-8eaa-57bce2b7a65e" ipAddress: "10.17.219.36" hostName: "vc1326.halxg.cloudera.com" ports { name: "RATIS" value: 9858 } ports { name: "STANDALONE" value: 9859 } networkName: "cc57411d-1bd6-4ffa-8eaa-57bce2b7a65e" networkLocation: "/default" uuid128 { mostSigBits: -3722434973721538566 leastSigBits: -8166618505513818530 } } members { uuid: "5e747ca2-9ee7-4fef-b849-bba157093455" ipAddress: "10.17.219.44" hostName: "vc1334.halxg.cloudera.com" ports { name: "RATIS" value: 9858 } ports { name: "STANDALO
 NE" value: 9859 } networkName: "5e747ca2-9ee7-4fef-b849-bba157093455" networkLocation: "/default" uuid128 { mostSigBits: 6806201974756167663 leastSigBits: -5167392795806583723 } } members { uuid: "95425b01-6066-44e8-87d7-4d9962c09028" ipAddress: "10.17.219.42" hostName: "vc1332.halxg.cloudera.com" ports { name: "RATIS" value: 9858 } ports { name: "STANDALONE" value: 9859 } networkName: "95425b01-6066-44e8-87d7-4d9962c09028" networkLocation: "/default" uuid128 { mostSigBits: -7691485152124975896 leastSigBits: -8658366437414367192 } } state: PIPELINE_OPEN type: RATIS factor: THREE id { id: "5fc02703-4568-4ee5-9680-b23fd2b49e56" uuid128 { mostSigBits: 6899557524134448869 leastSigBits: -7601880183813661098 } } leaderID: "95425b01-6066-44e8-87d7-4d9962c09028" creationTimeStamp: 1599605783754 leaderID128 { mostSigBits: -7691485152124975896 leastSigBits: -8658366437414367192 } } } modificationTime: 1599607989757 } clientID: 104831909207609688 }
   ```
   
   
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] bharatviswa504 closed pull request #1427: HDDS-4248. Add ratis log parser to ozone script.

Posted by GitBox <gi...@apache.org>.
bharatviswa504 closed pull request #1427:
URL: https://github.com/apache/hadoop-ozone/pull/1427


   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] bshashikant commented on pull request #1427: HDDS-4248. Add ratis log parser to ozone script.

Posted by GitBox <gi...@apache.org>.
bshashikant commented on pull request #1427:
URL: https://github.com/apache/hadoop-ozone/pull/1427#issuecomment-693197579


   Thanks @bharatviswa504 . I can see RatisLogParser is available in Ozone debug cli.
   `sbanerjee-MBP15:bin sbanerjee$ ./ozone debug
   Incomplete command
   Usage: ozone debug [-hV] [--verbose] [-conf=<configurationPath>]
                      [-D=<String=String>]... [COMMAND]
   Developer tools for Ozone Debug operations
         -conf=<configurationPath>
   
     -D, --set=<String=String>
   
     -h, --help      Show this help message and exit.
     -V, --version   Print version information and exit.
         --verbose   More verbose output. Show the stack trace of the errors.
   Commands:
     chunkinfo       returns chunk location information about an existing key
     ldb             Parse rocksdb file content
     ratislogparser  Shell of printing Ratis Log in understandable text
   `


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] adoroszlai commented on pull request #1427: HDDS-4248. Add ratis log parser to ozone script.

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #1427:
URL: https://github.com/apache/hadoop-ozone/pull/1427#issuecomment-693234906


   > I can see RatisLogParser is available in Ozone debug cli.
   
   Yes, `ratislogparser` was moved from top-level command to sub-command of `ozone debug` in #684.
   
   > Now able to use ratislogparser.
   
   You should be able to use it without any change as: `ozone debug ratislogparser om -s=...`.


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] bharatviswa504 commented on pull request #1427: HDDS-4248. Add ratis log parser to ozone script.

Posted by GitBox <gi...@apache.org>.
bharatviswa504 commented on pull request #1427:
URL: https://github.com/apache/hadoop-ozone/pull/1427#issuecomment-693445880


   Thank You @bshashikant and @adoroszlai for the info.
   I will close this PR.


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org