-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance of rw #59
Conversation
# self._validate_path(file_path) | ||
# worker_host, worker_http_port = self._get_preferred_worker_address( | ||
# file_path | ||
# ) | ||
# path_id = self._get_path_hash(file_path) | ||
# try: | ||
# if self.data_manager: | ||
# return b"".join( | ||
# self._all_page_generator_alluxiocommon( | ||
# worker_host, worker_http_port, path_id, file_path | ||
# ) | ||
# ) | ||
# else: | ||
# return b"".join( | ||
# self._all_page_generator( | ||
# worker_host, worker_http_port, path_id, file_path | ||
# ) | ||
# ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to delete these comments.
# path = self.unstrip_protocol(path) | ||
# return self.alluxio.write(path, value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to remove the comments as they are not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
NO JIRA