Hello,
I fixed this by starting from scratch with gradlew. But now when I run my job
it throws this error:
Exception in thread "main" java.io.IOException: No FileSystem for scheme: hdfs
at
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2421)
at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2428)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:88)
at
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2467)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2449)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:367)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:287)
at
org.apache.samza.job.yarn.ClientHelper.submitApplication(ClientHelper.scala:111)
at org.apache.samza.job.yarn.YarnJob.submit(YarnJob.scala:55)
at org.apache.samza.job.yarn.YarnJob.submit(YarnJob.scala:48)
at org.apache.samza.job.JobRunner.run(JobRunner.scala:100)
at org.apache.samza.job.JobRunner$.main(JobRunner.scala:75)
at org.apache.samza.job.JobRunner.main(JobRunner.scala)
I looked at the samza job tar.gz and it doesn't have a Hadoop-hdfs jar. Is that
why I get this error?
Thanks,
Sonali
From: Parthasarathy, Sonali
Sent: Monday, March 10, 2014 11:25 AM
To: [email protected]
Subject: Failed to package using mvn
Hi,
When I tried to do a mvn clean package of my hello-samza project, I get the
following error. Has anyone seen this before?
[ERROR] Failed to execute goal on project samza-wikipedia: Could not resolve
dependencies for project samza:samza-wikipedia:jar:0.7.0: Could not find
artifact org.apache.samza:samza-kv_2.10:jar:0.7.0 in apache-releases
(https://repository.apache.org/content/groups/public) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :samza-wikipedia
Thanks,
Sonali
Sonali Parthasarathy
R&D Developer, Data Insights
Accenture Technology Labs
703-341-7432
________________________________
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise confidential information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the e-mail by you is prohibited. Where allowed by local law, electronic
communications with Accenture and its affiliates, including e-mail and instant
messaging (including content), may be scanned by our systems for the purposes
of information security and assessment of internal compliance with Accenture
policy.
______________________________________________________________________________________
www.accenture.com