-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-9895. Push up DataNode#conf to base class #92
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
Conversation
public DNConf(Configuration conf) { | ||
this.conf = conf; | ||
socketTimeout = conf.getInt(DFS_CLIENT_SOCKET_TIMEOUT_KEY, | ||
public DNConf(final DataNode dn) { |
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.
The dn.getConf() object is not referenced outside the constructor so you can just pass a reference to that object. Also DNConf need not keep a reference to the dn. I think you can just revert all changes to this file.
https://issues.apache.org/jira/browse/HDFS-9895 has been fixed. Closing. |
…operator APIs. : Delay the creation of SinkFunction for output streams. : Move StreamSpec from a public API to an internal class. Removed the MessageEnvelope and OutputStream interfaces from public operator APIs. Moved the creation of SinkFunction for output streams to SinkOperatorSpec. Moved StreamSpec from a public API to an internal class. Additionally, 1. Removed references to StreamGraph in OperatorSpecs. It was being used to getNextOpId(). MessageStreamsImpl now gets the ID and gives it to OperatorSpecs itself. 2. Updated and cleaned up the StreamGraphBuilder examples. 3. Renamed SinkOperatorSpec to OutputOperatorSpec since its used by sink, sendTo and partitionBy. nickpan47 and xinyuiscool, please take a look. Author: Prateek Maheshwari <pmaheshw@linkedin.com> Reviewers: Jagadish <jagadish@apache.org>, Yi Pan <nickpan47@gmail.com> Closes apache#92 from prateekm/message-envelope-removal
Fixing Behavior of FS APIs on Root Operation
Please kindly review the patch v001, see also https://issues.apache.org/jira/browse/HDFS-9895.