)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"c207d3c06f9b82937b75457bbc8315ea884b5655","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Fix bug to run command as root in HDFS driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"A complete proposal is like below steps:"},{"line_number":10,"context_line":"1. Assume the HDFS user in manila.conf has the authority to launch hdfs command. So I remove to \"locate /bin/hdfs\" command in this patch."},{"line_number":11,"context_line":"2. Set run_as_root to False if there is no argument by default, all the cases in Manila HDFS Driver don\u0027t need root to run."},{"line_number":12,"context_line":"3. If root is required, please deliver run_as_root parameter and set it as True"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a4dcd0f_b41c7278","line":10,"updated":"2015-08-10 01:15:51.000000000","message":"A line of characters is too much. Please manual line break.","commit_id":"82addf4773e663c7191e0218e956f99e2e073b55"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"a7ff2667ebaa51677370ea60ff865a106360c016","unresolved":false,"context_lines":[{"line_number":14,"context_line":"3. If root is required, please deliver run_as_root parameter and set it as True"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I0b763553ded471c60e42b9d726ab3e437edce621"},{"line_number":17,"context_line":"Closes-Bug: #1481567"},{"line_number":18,"context_line":"Closes-Bug: #1481568"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"1a4dcd0f_cb8e2f27","line":17,"updated":"2015-08-10 10:18:43.000000000","message":"This commit should be splitted into two separate commits. Because, here you fix two separate things.","commit_id":"60b5e06170443a2047a05288c77d0801c33a2025"}],"manila/share/drivers/hdfs/hdfs_native.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"c207d3c06f9b82937b75457bbc8315ea884b5655","unresolved":false,"context_lines":[{"line_number":354,"context_line":"    def _check_hdfs_state(self):"},{"line_number":355,"context_line":"        try:"},{"line_number":356,"context_line":"            (out, __) \u003d self._hdfs_execute(self._hdfs_bin, \u0027fsck\u0027, \u0027/\u0027)"},{"line_number":357,"context_line":"        except exception.ProcessExecutionError as e:"},{"line_number":358,"context_line":"            msg \u003d _(\u0027Failed to check the utility of hdfs.\u0027)"},{"line_number":359,"context_line":"            LOG.error(msg)"},{"line_number":360,"context_line":"            raise exception.HDFSException(msg)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a4dcd0f_94037676","line":357,"updated":"2015-08-10 01:15:51.000000000","message":"Local variable \u0027e\u0027 is assigned to but never used.","commit_id":"82addf4773e663c7191e0218e956f99e2e073b55"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"c207d3c06f9b82937b75457bbc8315ea884b5655","unresolved":false,"context_lines":[{"line_number":357,"context_line":"        except exception.ProcessExecutionError as e:"},{"line_number":358,"context_line":"            msg \u003d _(\u0027Failed to check the utility of hdfs.\u0027)"},{"line_number":359,"context_line":"            LOG.error(msg)"},{"line_number":360,"context_line":"            raise exception.HDFSException(msg)"},{"line_number":361,"context_line":"        "},{"line_number":362,"context_line":"        if \u0027HEALTHY\u0027 in out:"},{"line_number":363,"context_line":"            return True"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a4dcd0f_14f8c67b","line":360,"updated":"2015-08-10 01:15:51.000000000","message":"Blank line contains whitespace.","commit_id":"82addf4773e663c7191e0218e956f99e2e073b55"}]}
