Skip to content

Iterator classloader hack breaks with hdfs URI prefix #10

@rfecher

Description

@rfecher

Caused by: java.net.MalformedURLException: invalid url: hdfs://:8020/accumulo/lib/geowave-gt-0.8.0-SNAPSHOT-accumulo-singlejar.jar!/ (java.net.MalformedURLException: unknown protocol: hdfs)
at java.net.URL.(URL.java:619)
at java.net.URL.(URL.java:482)
at java.net.URL.(URL.java:431)
at mil.nga.giat.geowave.gt.query.CqlQueryFilterIterator.initClassLoader(CqlQueryFilterIterator.java:163)
at mil.nga.giat.geowave.gt.query.CqlQueryFilterIterator.init(CqlQueryFilterIterator.java:186)
at org.apache.accumulo.core.iterators.IteratorUtil.loadIterators(IteratorUtil.java:243)

(This is where, in a static instance, we create a new classloader instance with the jars and attach it the parent VFS classloader. This hack is required to get SPI injection working in iterator stacks)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions