All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.datawizards.dmg.service.HDFSServiceImpl.scala Maven / Gradle / Ivy

The newest version!
package com.datawizards.dmg.service

object HDFSServiceImpl extends HDFSService {
  override def copyLocalFileToHDFS(localFilePath: String, hdfsPath: String): Unit = {
    val command = s"hdfs dfs -copyFromLocal $localFilePath $hdfsPath"
    ConsoleCommandExecutor.execute(command)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy