{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-trafodion/issues/239","labels_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/239/comments","events_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/239/events","html_url":"https://github.com/apache/incubator-trafodion/pull/239","id":123393267,"number":239,"title":"[TRAFODION-1719]Got needed info","user":{"login":"kevinxu021","id":13935967,"avatar_url":"https://avatars.githubusercontent.com/u/13935967?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinxu021","html_url":"https://github.com/kevinxu021","followers_url":"https://api.github.com/users/kevinxu021/followers","following_url":"https://api.github.com/users/kevinxu021/following{/other_user}","gists_url":"https://api.github.com/users/kevinxu021/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinxu021/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinxu021/subscriptions","organizations_url":"https://api.github.com/users/kevinxu021/orgs","repos_url":"https://api.github.com/users/kevinxu021/repos","events_url":"https://api.github.com/users/kevinxu021/events{/privacy}","received_events_url":"https://api.github.com/users/kevinxu021/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-22T01:35:45Z","updated_at":"2015-12-22T21:42:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-trafodion/pulls/239","html_url":"https://github.com/apache/incubator-trafodion/pull/239","diff_url":"https://github.com/apache/incubator-trafodion/pull/239.diff","patch_url":"https://github.com/apache/incubator-trafodion/pull/239.patch"},"body":"Before fixes it might be:\r\n[poc@esgvm-8 dcs]$ ./bin/dcs --config /data/esgyndb/traf-plus/dcs/bin/../conf org.trafodion.dcs.zookeeper.ZkUtil /poc/dcs/master\r\n15/12/22 01:33:49 DEBUG zookeeper.ZkClient: ZooKeeper Servers:localhost:2181,SessionTimeout:180000,MaxRetries:3,RetryIntervalMillis:1000\r\n15/12/22 01:33:49 DEBUG zookeeper.ZkClient: Zookeeper.State=CONNECTING\r\n15/12/22 01:33:50 DEBUG zookeeper.ZkClient: Zookeeper.State=CONNECTED\r\nesgvm-8.novalocal"},"comment":{"url":"https://api.github.com/repos/apache/incubator-trafodion/issues/comments/166738181","html_url":"https://github.com/apache/incubator-trafodion/pull/239#issuecomment-166738181","issue_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/239","id":166738181,"user":{"login":"arvind-narain","id":8054653,"avatar_url":"https://avatars.githubusercontent.com/u/8054653?v=3","gravatar_id":"","url":"https://api.github.com/users/arvind-narain","html_url":"https://github.com/arvind-narain","followers_url":"https://api.github.com/users/arvind-narain/followers","following_url":"https://api.github.com/users/arvind-narain/following{/other_user}","gists_url":"https://api.github.com/users/arvind-narain/gists{/gist_id}","starred_url":"https://api.github.com/users/arvind-narain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvind-narain/subscriptions","organizations_url":"https://api.github.com/users/arvind-narain/orgs","repos_url":"https://api.github.com/users/arvind-narain/repos","events_url":"https://api.github.com/users/arvind-narain/events{/privacy}","received_events_url":"https://api.github.com/users/arvind-narain/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T21:42:58Z","updated_at":"2015-12-22T21:42:58Z","body":"Thanks for investigating this problem Kevin. I believe one of the cases it is seen is when zookeeper default logging is changed (as per the output in the Jira).\r\n\r\nI think we still need to do check if this can be handled in our bin  scripts or we should look at the corresponding zkcli code in dcs (use lastInfodexOf etc). Currently with the change and DEBUG/INFO on, repeat of a dcsstop will still give the sed error. Same should be the case for dcsstart (if no master is running) - script will try and do an ssh and sed on the zookeeper debug/info line. \r\n\r\nDo please check and let me know if the above observation is correct. It's possible I didn't catch the correct scenario from the Jira stated."}}