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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -