问题描述
我想在公司Artifactory后面解决火花中的软件包:
spark-shell --repositories https://bin.mycorp.com/artifactory/maven/ --packages io.delta:delta-core_2.12:0.7.0
根本无法为我解决。在日志中,我发现:
found io.delta#delta-core_2.12;0.7.0 in repo-1
found org.antlr#antlr4;4.7 in repo-1 https://bin.mycorp.com/artifactory/maven/ --packages io.delta:delta-core_2.12:0.7.0 [https://found org.antlr#antlr4-runtime;4.7 in repo-1a remote repository with the name: repo-1
Ivy Default Cache set to: ~/.ivy2/cache
The jars for the packages stored in: ~/.ivy2/jars
:: loading settings :: url = jar:file:/usr/hdp/3.1.x.x-xxx/spark2/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
io.delta#delta-core_2.12 added as a dependency
:: resolving dependencies :: org.apache.spark#spark-submit-parent-ae4e5fbb-afc7-4c44-8262-b5c40ee2a1d5;1.0
confs: [default]
无输出。
JAR(/usr/hdp/3.1.4.0-315/spark2/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
)中的常春藤设置为:
<ivysettings>
<settings defaultResolver="default"/>
<include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
<include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
<include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
<include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
<include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
</ivysettings>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)