arthas-171 commented on issue #1021: huowang
URL: https://github.com/apache/hadoop/pull/1021#issuecomment-507166561
 
 
   Can I describe how to reproduce bugs and test modified patches?
   1 TRUNCATE operations are performed on any file in hdfs, such as Hadoop 
fs-truncate-w 100 /test.txt,
   2 Use the HDFS oev command to parse the edits file generated by the first 
step from binary format to XML format, such as HDFS oev -i edits -o edits.xml
   3 Then reverse serialization of the file from XML to binary based on the 
results of the second step, such as HDFS oev-i edits.xml-o edits.binary-p binary
   4 This bug will appear, and I also submitted the report HDFS-14604 on jira.
   5 I fixed the bug in the code I submitted this time, compiled this version 
of the code and then decompressed it in Linux. Using the oev command provided 
by this version directly, the operation described in the third step can be 
successfully executed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to