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
Post a Comment