databricks / reference-apps

Spark reference applications
Other
656 stars 342 forks source link

Problem in SBT Assembly : ivyStylePatterns Resolver URL is down #75

Open anirusharma opened 8 years ago

anirusharma commented 8 years ago

I am new to Scala and Spark. It may not be an issue and may be I don't know how to use it. I am trying to build "twitter_classifier" project. I am on CDH 5.5.1 and in build.sbt I have correctly mentioned spark version as 1.5.0. when I do sbt compile , it works with success.

When I do "sbt assembly", it fails with following error [info] Set current project to sbt (in build file:/home/anirusharma/reference-apps/twitter_classifier/scala/sbt/) [error] Not a valid command: assembly [error] Not a valid project ID: assembly [error] Expected ':' (if selecting a configuration) [error] Not a valid key: assembly [error] assembly [error] ^

I notice in file plugins.sbt a url has mentioned "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"

This URL repository is down now. I tried to replace it with following url "https://repo.typesafe.com/typesafe/ivy-releases"

But it does not work and it still gives error, I have tried few other urls there but it may not work. I don't know whether this error is really because above mentioned URL does not work or something else is root cause of error (i.e why it does now work , when I replace the URL). May be I am replacing with incorrect URL or some other problem

Kindly help in resolving