hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajagopal Natarajan" <rajagopa...@gmail.com>
Subject DFSClient's create method overloading concern
Date Sun, 25 Nov 2007 10:00:26 GMT
Hi,

There are two create methods in DFSClient, viz,

public OutputStream create(String src, boolean overwrite)

and

public OutputStream create(String src, boolean overwrite, Progressable
progress).

Both do just the same. The second method just discards the progress
parameter. But the comment says that the second method does write-progress
reporting. Can someone help me understand how it does write-progress
reporting while the first method doesn't, while both methods' bodies are
just the same?

Regards,

Rajagopal N

-- 
N. Rajagopal,
Visit me at http://www.raja-gopal.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message