HDFS-2889. getNumCurrentReplicas is package private but should be public on 0.23 (see HDFS-2408). Contributed by Gregory Chanan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1240415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4affe6d979
commit
38b4c3abae
|
@ -211,6 +211,9 @@ Release 0.23.1 - UNRELEASED
|
|||
HDFS-2835. Fix findbugs and javadoc issue with GetConf.java.
|
||||
(suresh)
|
||||
|
||||
HDFS-2889. getNumCurrentReplicas is package private but should be public on
|
||||
0.23 (see HDFS-2408). (Gregory Chanan via atm)
|
||||
|
||||
Release 0.23.0 - 2011-11-01
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -1538,7 +1538,7 @@ class DFSOutputStream extends FSOutputSummer implements Syncable {
|
|||
* write pipeline have failed.
|
||||
* @return the number of valid replicas of the current block
|
||||
*/
|
||||
synchronized int getNumCurrentReplicas() throws IOException {
|
||||
public synchronized int getNumCurrentReplicas() throws IOException {
|
||||
dfsClient.checkOpen();
|
||||
isClosed();
|
||||
if (streamer == null) {
|
||||
|
|
Loading…
Reference in New Issue