You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2017/07/03 15:12:00 UTC

[jira] [Updated] (STORM-2481) Upgrade Aether version to resolve Aether bug BUG-451566

     [ https://issues.apache.org/jira/browse/STORM-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jungtaek Lim updated STORM-2481:
--------------------------------
    Fix Version/s: 1.2.0

> Upgrade Aether version to resolve Aether bug BUG-451566
> -------------------------------------------------------
>
>                 Key: STORM-2481
>                 URL: https://issues.apache.org/jira/browse/STORM-2481
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-submit-tools
>    Affects Versions: 2.0.0, 1.1.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>             Fix For: 2.0.0, 1.1.1, 1.2.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> I received a report that storm-submit-tools throws NPE.
> {code}
>  /usr/hdf/current/storm-client/bin/storm: line 2: /usr/hdf/3.0.0.0-179/etc/default/hadoop: No such file or directory
> Resolving dependencies on demand: artifacts (['org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12', 'org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12', 'org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12', 'org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12', 'org.apache.storm:storm-druid:1.0.2.3.0.0.0-179', 'org.scala-lang:scala-library:2.11.8']) with repositories (['hwx-public^http://repo.hortonworks.com/content/groups/public/', 'hwx-private^http://nexus-private.hortonworks.com/nexus/content/groups/public/'])
> DependencyResolver input - artifacts: org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12,org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12,org.apache.storm:storm-kafka:1.0.2.3.0.0.0-179^org.slf4j:slf4j-log4j12,org.apache.kafka:kafka_2.11:0.10.0.2.5.3.0-37^org.apache.zookeeper:zookeeper^log4j:log4j^org.slf4j:slf4j-log4j12,org.apache.storm:storm-druid:1.0.2.3.0.0.0-179,org.scala-lang:scala-library:2.11.8
> DependencyResolver input - repositories: hwx-public^http://repo.hortonworks.com/content/groups/public/,hwx-private^http://nexus-private.hortonworks.com/...
> Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException
>         at org.apache.storm.submit.command.DependencyResolverMain.main(DependencyResolverMain.java:82)
> Caused by: java.lang.NullPointerException
>         at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
>         at org.apache.storm.submit.dependency.DependencyResolver.resolve(DependencyResolver.java:95)
>         at org.apache.storm.submit.command.DependencyResolverMain.main(DependencyResolverMain.java:71)
> Traceback (most recent call last):
>   File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 884, in <module>
>     main()
>   File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 881, in main
>     (COMMANDS.get(COMMAND, unknown_command))(*ARGS)
>   File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 295, in jar
>     artifact_to_file_jars = resolve_dependencies(DEP_ARTIFACTS_OPTS, DEP_ARTIFACTS_REPOSITORIES_OPTS)
>   File "/usr/hdf/3.0.0.0-179/storm/bin/storm.py", line 182, in resolve_dependencies
>     raise RuntimeError("dependency handler returns non-zero code: code<%s> syserr<%s>" % (p.returncode, errors))
> RuntimeError: dependency handler returns non-zero code: code<1> syserr<None>
> {code}
> There was also an issue filed to Eclipse bug tracker.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=451566
> The issue was fixed for newer version of Aether so we just need to upgrade Aether version to get over.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)