apache spark - How to read RC file using scala -
how read content of rc file (in hdfs) using scala ? able read textfile avro. not rc file.
val inputrdd = sc.hadoopfile[longwritable, bytesrefarraywritable, rcfileinputformat[longwritable, bytesrefarraywritable]](path)
on rdd can apply map , read data.
Comments
Post a Comment