-
Notifications
You must be signed in to change notification settings - Fork 340
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
append call failed with ERROR_APPLICATION (org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException) #61
Comments
Huh - that certainly seems like a bug. Thanks for the report! If you have a chance to submit a test case for this behavior, that would be much appreciated. |
Any news on this issue? |
1 similar comment
Any news on this issue? |
I have fixed it: func (s *blockWriteStream) makePacket() outboundPacket {
packetLength := outboundPacketSize
if s.buf.Len() < outboundPacketSize {
packetLength = s.buf.Len()
}
// fill last chunk's margin with an individual packet
marginSize := outboundChunkSize - (int(s.offset) % outboundChunkSize)
if marginSize > 0 && packetLength > marginSize {
packetLength = marginSize
}
...... |
@zkchen310 - thanks very much for figuring that out! Sorry for any delinquency on my part. :) |
hi,colinmarc:
code:
any advice? thank you! |
I'm facing this issue now. Can anyone give me some solution? I log my data, which flows in through a TCP connection, into the relevant file (opened in append mode) in HDFS. I will get
|
this issue is still exist in v2.3.0 |
hi colinmarc :
Thank you for your open source
I have a problem when
for
append content to hdfsexample:
then nameNode log error:
and golang error:
hadoop version : 2.7.3
Single Node Cluster
hdfs-site.xml
when i use script
this way ok . no error
I don't know how to solve this problem .
do you have any idea ?
thanks
The text was updated successfully, but these errors were encountered: