hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba Borthakur" <dhr...@yahoo-inc.com>
Subject RE: Append data in hdfs_write
Date Thu, 27 Mar 2008 06:53:38 GMT
HDFS files, once closed, cannot be reopened for writing. See HADOOP-1700
for more details.


-----Original Message-----
From: Raghavendra K [mailto:raghavendra83@gmail.com] 
Sent: Wednesday, March 26, 2008 11:29 PM
To: core-user@hadoop.apache.org
Subject: Append data in hdfs_write

  I am using
hdfsWrite to write data onto a file.
Whenever I close the file and re open it for writing it will start
from the position 0 (rewriting the old data).
Is there any way to append data onto a file using hdfsWrite.
I cannot use hdfsTell because it works only when opened in RDONLY mode
also I dont know the number of bytes written onto the file previously.
Please throw some light onto it.

Raghavendra K

View raw message