Skip to content

saagie/example-java-read-and-write-from-hdfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example for read & write into HDFS

Package for saagie : mvn package and get the package in target.

Usage in local :

  • mvn package
  • java -jar target/example-java-read-and-write-from-hdfs-1.0-SNAPSHOT-jar-with-dependencies.jar hdfs://namenodeserver:8020

Usage in Saagie :

  • mvn package (in local, to generate jar file)
  • create new Java Job
  • upload the jar (arget/example-java-read-and-write-from-hdfs-1.0-SNAPSHOT-jar-with-dependencies.jar)
  • copy URL from HDFS connection details panel and add it in first argument in the command line
  • choose java 8
  • create and launch.

About

Example for Saagie Wiki - Read and write to HDFS with Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages