method 3 cron job

Also it depends on where you want the csv data to be stored.In case you just want to dump it into the HDFS then,$ hadoop fs -put <sourcedir/*.csv> <HDFSdestination> In case you want to load it into Hive (prerequisite: all the csv must follow the same schema)then,1. create a schema of the csv2. run $ hive -e "load data local in path <localfilelocation> into table <tablename_of_the_schema_created>

results matching ""

    No results matching ""