{"action":"created","issue":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/203","repository_url":"https://api.github.com/repos/SnappyDataInc/snappydata","labels_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/203/comments","events_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/203/events","html_url":"https://github.com/SnappyDataInc/snappydata/pull/203","id":142289181,"number":203,"title":"script to collect stack dumps and debug information of all the nodes","user":{"login":"kneeraj","id":1151021,"avatar_url":"https://avatars.githubusercontent.com/u/1151021?v=3","gravatar_id":"","url":"https://api.github.com/users/kneeraj","html_url":"https://github.com/kneeraj","followers_url":"https://api.github.com/users/kneeraj/followers","following_url":"https://api.github.com/users/kneeraj/following{/other_user}","gists_url":"https://api.github.com/users/kneeraj/gists{/gist_id}","starred_url":"https://api.github.com/users/kneeraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneeraj/subscriptions","organizations_url":"https://api.github.com/users/kneeraj/orgs","repos_url":"https://api.github.com/users/kneeraj/repos","events_url":"https://api.github.com/users/kneeraj/events{/privacy}","received_events_url":"https://api.github.com/users/kneeraj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sumwale","id":11540628,"avatar_url":"https://avatars.githubusercontent.com/u/11540628?v=3","gravatar_id":"","url":"https://api.github.com/users/sumwale","html_url":"https://github.com/sumwale","followers_url":"https://api.github.com/users/sumwale/followers","following_url":"https://api.github.com/users/sumwale/following{/other_user}","gists_url":"https://api.github.com/users/sumwale/gists{/gist_id}","starred_url":"https://api.github.com/users/sumwale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumwale/subscriptions","organizations_url":"https://api.github.com/users/sumwale/orgs","repos_url":"https://api.github.com/users/sumwale/repos","events_url":"https://api.github.com/users/sumwale/events{/privacy}","received_events_url":"https://api.github.com/users/sumwale/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-21T08:55:55Z","updated_at":"2016-04-06T18:05:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/pulls/203","html_url":"https://github.com/SnappyDataInc/snappydata/pull/203","diff_url":"https://github.com/SnappyDataInc/snappydata/pull/203.diff","patch_url":"https://github.com/SnappyDataInc/snappydata/pull/203.patch"},"body":"* added a script to collect logs and stats of all the nodes of the system.\r\n\r\n* modified the start script to add the hostname and working dir folder for\r\neach of the components.\r\n\r\n@hbhanawat you also please look into this."},"comment":{"url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/comments/206494147","html_url":"https://github.com/SnappyDataInc/snappydata/pull/203#issuecomment-206494147","issue_url":"https://api.github.com/repos/SnappyDataInc/snappydata/issues/203","id":206494147,"user":{"login":"soubhik-c","id":11516481,"avatar_url":"https://avatars.githubusercontent.com/u/11516481?v=3","gravatar_id":"","url":"https://api.github.com/users/soubhik-c","html_url":"https://github.com/soubhik-c","followers_url":"https://api.github.com/users/soubhik-c/followers","following_url":"https://api.github.com/users/soubhik-c/following{/other_user}","gists_url":"https://api.github.com/users/soubhik-c/gists{/gist_id}","starred_url":"https://api.github.com/users/soubhik-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soubhik-c/subscriptions","organizations_url":"https://api.github.com/users/soubhik-c/orgs","repos_url":"https://api.github.com/users/soubhik-c/repos","events_url":"https://api.github.com/users/soubhik-c/events{/privacy}","received_events_url":"https://api.github.com/users/soubhik-c/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T18:05:54Z","updated_at":"2016-04-06T18:05:54Z","body":"Overall the script is quite clean and does exactly as per the defined scope. Using typeset is nifty and avoids the need for the script file accessible on remote host.\r\n\r\nI would like to have an option to sort by name instead of time for log files because at times ls -t may not be reliable in the sense user touched that log file or copied that file without preserve changing the timestamp. In such situations, logs collected will be misleading and hard to detect this human error. \r\ngfs file time based is fine.\r\n\r\nThis can be merged and enhancements can be taken up next although my personal preference will be doing the enhancement here (needed for smart situation) and merge it in a single shot. especially now we have squash merge :)."}}