yarn - Getting NullPointerException when using a S3 job file with Samza -


i'm getting following exception when passing s3 file path yarn.package.path.

exception in thread "main" java.lang.nullpointerexception @ org.apache.hadoop.fs.s3native.natives3filesystem.getfilestatus(natives3filesystem.java:433) @ org.apache.samza.job.yarn.clienthelper.submitapplication(clienthelper.scala:111) @ org.apache.samza.job.yarn.yarnjob.submit(yarnjob.scala:54) @ org.apache.samza.job.yarn.yarnjob.submit(yarnjob.scala:47) @ org.apache.samza.job.jobrunner.run(jobrunner.scala:62) @ org.apache.samza.job.jobrunner$.main(jobrunner.scala:37) 

i'm able curl s3 file same box (after exporting aws environment variables). how package path set in job properties file:

yarn.package.path=s3n://{access_key}:{secret_key}@bucketname/path1/path2/tar.gz 


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -