[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814351#comment-16814351 ] Marcel Reutegger commented on OAK-8146: --- bq. table printer (should that go into Utils???) I would not move it right now. Maybe later when there is a need. > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146-1.patch, OAK-8146-2.diff, OAK-8146-3.diff, > OAK-8146.diff, OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814307#comment-16814307 ] Jörg Hoh commented on OAK-8146: --- no need to have JSON output, an easy parseable text line (e.g. CSV format) is sufficient. > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146-1.patch, OAK-8146-2.diff, OAK-8146-3.diff, > OAK-8146.diff, OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814280#comment-16814280 ] Julian Reschke commented on OAK-8146: - [^OAK-8146-3.diff] - print negative remaining lease only up to 999s - add some javadoc for the table printer (should that go into Utils???) > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146-1.patch, OAK-8146-2.diff, OAK-8146-3.diff, > OAK-8146.diff, OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813283#comment-16813283 ] Julian Reschke commented on OAK-8146: - [^OAK-8146-2.patch] - generic table formatter - use "!" instead of "-" when recovery needed but not running - add "Left" (until lease timeout) New option --verbose adds: "LastRootRev" and "OakVersion". > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146-1.patch, OAK-8146-2.diff, OAK-8146.diff, > OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812522#comment-16812522 ] Marcel Reutegger commented on OAK-8146: --- Something like this: [^OAK-8146-1.patch] Manipulating entries could later be added with new options. > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146-1.patch, OAK-8146.diff, OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812465#comment-16812465 ] Marcel Reutegger commented on OAK-8146: --- I like the layout of the list mode. The CREATED column is not useful and prints the current date for all entries. It looks like ClusterNodeInfoDocument.getCreated() is a bit misleading and I'm even wondering if it should be removed. What do you think about removing the need to add {{list}} to the command to get the entries? It would be the default and the command could have a --raw option. As you can see, I'd also be in favour of using proper options. I think that requires extending {{Utils.NodeStoreOptions}} similar to how the {{RevisionsCommand}} does it. As requested by Jörg, we could make the output parsable in the raw mode, e.g. by writing proper JSON. > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146.diff, OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812449#comment-16812449 ] Julian Reschke commented on OAK-8146: - WIP: https://issues.apache.org/jira/secure/attachment/12965201/OAK-8146.diff > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146.diff, OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16810943#comment-16810943 ] Julian Reschke commented on OAK-8146: - WIP: https://issues.apache.org/jira/secure/attachment/12965012/OAK-8146.diff > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: documentmk, run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Attachments: OAK-8146.diff > > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-8146) oak-run support for inspecting/modifying clusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16797050#comment-16797050 ] Jörg Hoh commented on OAK-8146: --- would be great if the output would be easily parseable, so we could create a small utility to purge all entries we don't need anymore (e.g. entries created by old Oak versions and to handle cases like OAK-8139). > oak-run support for inspecting/modifying clusterNodeInfo > > > Key: OAK-8146 > URL: https://issues.apache.org/jira/browse/OAK-8146 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: run >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > > - readable dump of cluster node info entries > - command to purge selected entries -- This message was sent by Atlassian JIRA (v7.6.3#76005)