Unable to build druid from source for hadoop version 2.7.3.2.6.1.0-129

Hi druid experts,

We have a cluster running hortonworks 2.7.3.2.6.1.0-129. When we tried running druid release 0.10.1 on it, the indexing job failed with errors like:

Exception in thread “main” java.lang.IllegalAccessError: tried to access method org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider.getProxyInternal()Ljava/lang/Object; from class org.apache.hadoop.yarn.client.RequestHedgingRMFailoverProxyProvider

We had similar error earlier when we brought up Apache Flink on the same cluster and we solved it by building Flink from source by specifying the hadoop version to be 2.7.3.2.6.1.0-129. To do the same in druid, we first clone the release branch 0.10.1:

git clone -b 0.10.1 https://github.com/druid-io/druid.git

We were able to successfully make a build. Then when changed the hadoop.compile version in druid pom file from 2.7.3 to 2.7.3.2.6.1.0-129 (and also TaskConfig.java),

<hadoop.compile.version>2.7.3.2.6.1.0-129</hadoop.compile.version>

we had errors building indexing-hadoop, like the following, by missing hadoop dependencies. I couldn’t get further, even by introducing hadoop-commons, hadoop-core, and other dependencies to pom file. If there is any help in making this build, we would really appreciate it.

Thanks,

-BH

ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project druid-indexing-hadoop: Compilation failure: Compilation failure:

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopIOPeon.java:[23,28] package org.apache.hadoop.fs does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopIOPeon.java:[24,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopIOPeon.java:[35,17] cannot find symbol

[ERROR] symbol: class JobContext

[ERROR] location: class io.druid.indexer.HadoopIOPeon

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopIOPeon.java:[36,17] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopIOPeon

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopIOPeon.java:[39,23] cannot find symbol

[ERROR] symbol: class JobContext

[ERROR] location: class io.druid.indexer.HadoopIOPeon

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopIOPeon.java:[39,39] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopIOPeon

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/InputRowSerde.java:[40,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/InputRowSerde.java:[41,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/InputRowSerde.java:[42,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/InputRowSerde.java:[252,35] cannot find symbol

[ERROR] symbol: class ArrayWritable

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/InputRowSerde.java:[259,30] cannot find symbol

[ERROR] symbol: class Text

[ERROR] location: class io.druid.indexer.StringArrayWritable

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[56,30] package org.apache.hadoop.conf does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[57,30] package org.apache.hadoop.conf does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[58,28] package org.apache.hadoop.fs does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[59,28] package org.apache.hadoop.fs does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[60,28] package org.apache.hadoop.fs does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[61,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[62,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[63,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[64,32] package org.apache.hadoop.mapred does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[65,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[66,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[67,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[68,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[69,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[70,46] package org.apache.hadoop.mapreduce.lib.output does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[71,46] package org.apache.hadoop.mapreduce.lib.output does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[62,30] package org.apache.hadoop.conf does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[63,28] package org.apache.hadoop.fs does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[64,28] package org.apache.hadoop.fs does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[65,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[145,40] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[215,60] cannot find symbol

[ERROR] symbol: class Configuration

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/path/PathSpec.java:[25,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[401,28] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[401,10] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[520,10] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[533,10] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[545,10] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[555,10] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[560,10] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[565,10] cannot find symbol

[ERROR] symbol: class Path

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[570,32] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java:[579,33] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerConfig

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/path/PathSpec.java:[41,61] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: interface io.druid.indexer.path.PathSpec

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/path/PathSpec.java:[41,10] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: interface io.druid.indexer.path.PathSpec

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerMapper.java:[29,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerMapper.java:[30,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerMapper.java:[35,74] cannot find symbol

[ERROR] symbol: class Mapper

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[252,77] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[252,92] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[260,26] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorMapper

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[275,9] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorMapper

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerMapper.java:[45,24] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerMapper<KEYOUT,VALUEOUT>

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerMapper.java:[66,33] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerMapper<KEYOUT,VALUEOUT>

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerMapper.java:[109,69] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.HadoopDruidIndexerMapper<KEYOUT,VALUEOUT>

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[318,54] cannot find symbol

[ERROR] symbol: class Reducer

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[318,62] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[318,77] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[318,92] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[318,107] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[325,26] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorCombiner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[339,15] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorCombiner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[339,43] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorCombiner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[339,72] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorCombiner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[373,46] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorCombiner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[373,89] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorCombiner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[446,57] cannot find symbol

[ERROR] symbol: class Partitioner

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[446,69] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[446,84] cannot find symbol

[ERROR] symbol: class Writable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[446,105] cannot find symbol

[ERROR] symbol: class Configurable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[448,13] cannot find symbol

[ERROR] symbol: class Configuration

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorPartitioner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[451,29] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorPartitioner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[451,58] cannot find symbol

[ERROR] symbol: class Writable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorPartitioner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[468,12] cannot find symbol

[ERROR] symbol: class Configuration

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorPartitioner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[474,25] cannot find symbol

[ERROR] symbol: class Configuration

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorPartitioner

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[480,53] cannot find symbol

[ERROR] symbol: class Reducer

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[480,61] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[480,76] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[480,91] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[480,106] cannot find symbol

[ERROR] symbol: class Text

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[487,61] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorReducer

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[538,26] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorReducer

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[553,9] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorReducer

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[553,37] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorReducer

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[553,66] cannot find symbol

[ERROR] symbol: class Context

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorReducer

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[796,58] cannot find symbol

[ERROR] symbol: class TextOutputFormat

[ERROR] location: class io.druid.indexer.IndexGeneratorJob

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/IndexGeneratorJob.java:[799,34] cannot find symbol

[ERROR] symbol: class JobContext

[ERROR] location: class io.druid.indexer.IndexGeneratorJob.IndexGeneratorOutputFormat

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[23,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[24,28] package org.apache.hadoop.io does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[25,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[26,35] package org.apache.hadoop.mapreduce does not exist

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[66,10] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.SortableBytes

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[85,49] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.SortableBytes

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[101,53] cannot find symbol

[ERROR] symbol: class Job

[ERROR] location: class io.druid.indexer.SortableBytes

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[109,63] cannot find symbol

[ERROR] symbol: class WritableComparator

[ERROR] location: class io.druid.indexer.SortableBytes

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[132,62] cannot find symbol

[ERROR] symbol: class WritableComparator

[ERROR] location: class io.druid.indexer.SortableBytes

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[162,56] cannot find symbol

[ERROR] symbol: class Partitioner

[ERROR] location: class io.druid.indexer.SortableBytes

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[162,68] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.SortableBytes

[ERROR] druid/indexing-hadoop/src/main/java/io/druid/indexer/SortableBytes.java:[165,29] cannot find symbol

[ERROR] symbol: class BytesWritable

[ERROR] location: class io.druid.indexer.SortableBytes.SortableBytesPartitioner

[ERROR] -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :druid-indexing-hadoop

It turns out we need to add hadoop-mapreduce-client-core as dependency to both druid top-level pom and that in indexing-hadoop. The build went into completion afternoon.

Hi,
you can also upgrade to HDP-2.6.3 which also contains druid 0.10.1 binaries already compiled with hdp hadoop versions.

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_release-notes/content/comp_versions.html