Read and Write Files or Tables With Java/Scala This section describes how to read and write files or tables with Java/Scala from different programming languages. In this section: Read and Write Files From HDFS Read and Write Tables From Hive Read and Write Tables From Impala Read and Write Files From MongoDB Java/Scala Read and Write Files From HDFS With Java/Scala