这是我从此处学习的命令: https://github.com/SparklineData/spark-druid-olap/wiki/Generating-Denormalized-TPCH-Dataset
bin / spark-submit \ --packages com.databricks:spark-csv_2.10:1.1.0,com.sparklinedata:spark-datetime:0.0.2,SparklineData:spark-druid-olap:0.1.0 \ --class org.sparklinedata.tpch.TpchGenMain \ /home/temp/tpch-spark-druid/tpchData/target/scala-2.10/tpchdata_2.10-0.0.1.jar \ --baseDir / home / temp / tpch-spark-data --scale 1
我遇到了错误:
==== spark-packages: tried
http://dl.bintray.com/spark-packages/maven/com/github/SparklineData/spark-datetime/bf5693a575a1dea5b663e4e8b30a0ba94c21d62d/spark-datetime-bf5693a575a1dea5b663e4e8b30a0ba94c21d62d.pom
-- artifact com.github.SparklineData#spark-datetime;bf5693a575a1dea5b663e4e8b30a0ba94c21d62d!spark-datetime.jar:
http://dl.bintray.com/spark-packages/maven/com/github/SparklineData/spark-datetime/bf5693a575a1dea5b663e4e8b30a0ba94c21d62d/spark-datetime-bf5693a575a1dea5b663e4e8b30a0ba94c21d62d.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: com.sparklinedata#spark-datetime;0.0.3: not found
:: com.github.SparklineData#spark-datetime;bf5693a575a1dea5b663e4e8b30a0ba94c21d62d: not found
::::::::::::::::::::::::::::::::::::::::::::::
::使用详细信息或调试消息级别获取更多详细信息 线程“主”中的异常java.lang.RuntimeException:[未解决的依赖关系:com.sparklinedata#spark-datetime; 0.0.3:找不到,未解决的依赖关系:com.github.SparklineData#spark-datetime; bf5693a575a1dea5b663e4e8b30a0ba94c21d62d:未找到] 在org.apache.spark.deploy.SparkSubmitUtils $ .resolveMavenCoordinates(SparkSubmit.scala:1303) 在org.apache.spark.deploy.DependencyUtils $ .resolveMavenDependencies(DependencyUtils.scala:53) 在org.apache.spark.deploy.SparkSubmit $ .doPrepareSubmitEnvironment(SparkSubmit.scala:364) 在org.apache.spark.deploy.SparkSubmit $ .prepareSubmitEnvironment(SparkSubmit.scala:250) 在org.apache.spark.deploy.SparkSubmit $ .submit(SparkSubmit.scala:171) 在org.apache.spark.deploy.SparkSubmit $ .main(SparkSubmit.scala:137) 在org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)