简体   繁体   中英

Reading xls file from MapReduce Program

I need to read a XLS file which is saved on a Hadoop Cluster. I need to parse the file using JAVA's MapReduce Programming model. Please help me in this regard.

Thanks in advance

I believe you have two options:

  • Write your own custom InputFormat that can read an Excel file
  • Generate a CSV or TSV file from the spreadsheet and use TextInputFormat

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM