AnsweredAssumed Answered

hdfsWrite() bug in - with program and data files

Question asked by leeho0703 on Mar 17, 2013
Latest reply on Mar 25, 2013 by peterconrad
One member of my team had notified hdfsWrite() bug on

You can regenerate the error with the following program and data files.
(The compression option of the volume is turned on)

 - program file: [][2]

 - data files: [data.1][3] [data.2][4]

 - compilation command: g++ -o hdfs\_test -fPIC -Wl,--allow-shlib-undefined -g -Wall -pthread -D\_REENTRANT -I/opt/mapr/hadoop/hadoop-0.20.2/src/c++/libhdfs -I/usr/include/mongo hdfs\ -L/opt/mapr/lib -lMapRClient

 - testing command: ./hdfs_test /test/data.merged data.1 data.2

 - explanation: The above command reads contents of files(data.1 and data.2) one by one from local file system and write the contents of those files /test/data.merged on MapR filesystem. When the program reads the second(data.2) file and writes the contents to the output MapR FS file(/test/data.merged), the segmentation fault error occurs.