Hey Richard,
Thanks for the info. I will give that a try.

Currently the one way I got it to build was adding some of the dependencies
into the poms of the respective hdfs/hadoop submodules.

The dependencies were already defined in the dependency management section
of the parent storm pom and adding them into the submodule poms while still
using the version from the parent work.

I will try what you suggest too. Would rather not have to have changed the
poms.

Thanks,

Dave

On Thu, Feb 19, 2026 at 1:49 PM Richard Zowalla <[email protected]> wrote:

> Hi David,
>
> I think you need to build the shaded deps first:
>
> mvn clean install --batch-mode -pl storm-shaded-deps -am
>
> Afterwards, you can go for the storm-hdfs package (at least from an IDE
> perspective).
>
> Another approach would be to run:
>
> (1)  /bin/bash ./dev-tools/gitact/gitact-install.sh `pwd`
> (2)  /bin/bash ./dev-tools/gitact/gitact-script.sh `pwd`
> Client/Server/Core/External (<- whatever you need, see
> https://github.com/apache/storm/blob/master/dev-tools/gitact/gitact-script.sh
>
> Gruß
> Richard
>
> > Am 18.02.2026 um 15:56 schrieb David Vesely <
> [email protected]>:
> >
> > Hi,
> > I have been following the developer documentation to build the master
> > branch of Apache Storm locally.
> >
> > The documentation states that a simple "mvn clean install" in the top
> level
> > directory will build the whole project. Which it attempts to do but I
> kept
> > running into compilation issues with the storm-hdfs module.
> >
> > I get for example the following:
> >
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR]
> >
> /workspace/storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/AbstractHdfsBolt.java:[24,30]
> > package org.apache.hadoop.conf does not exist
> > [ERROR]
> >
> /workspace/storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/AbstractHdfsBolt.java:[25,28]
> > package org.apache.hadoop.fs does not exist
> > [ERROR]
> >
> /workspace/storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/AbstractHdfsBolt.java:[26,28]
> > package org.apache.hadoop.fs does not exist
> > [ERROR]
> >
> /workspace/storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/Writer.java:[16,28]
> > package org.apache.hadoop.fs does not exist
> > [ERROR]
> >
> /workspace/storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/rotation/RotationAction.java:[23,28]
> > package org.apache.hadoop.fs does not exist
> > [ERROR]
> >
> /workspace/storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/rotation/RotationAction.java:[24,28]
> > package org.apache.hadoop.fs does not exist
> > [ERROR]
> >
> /workspace/storm/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/bolt/AbstractHdfsBolt.java:[57,25]
> > cannot find symbol
> >
> > However I see that the GitHub Jobs and build are working just fine.
> > So I think I must be missing something.
> > Is there some extra set up for the storm-hdfs I have to do to get those
> > dependencies on the Classpath.
> >
> > Thanks,
> >
> > Dave
>
>

Reply via email to