Hi,

I didn't even get the shading module to build:

[INFO]
------------------------------------------------------------------------
[INFO] Building flink-shaded-include-yarn-tests 1.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.756 s
[INFO] Finished at: 2016-06-21T17:25:00+02:00
[INFO] Final Memory: 16M/303M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project flink-shaded-include-yarn-tests:
Could not resolve dependencies for project
org.apache.flink:flink-shaded-include-yarn-tests:jar:1.1-SNAPSHOT: Failure
to find org.apache.directory.jdbm:apacheds-jdbm1:bundle:2.0.0-M2 in
https://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
[ERROR]


How did you do it?

Regards,
Robert


On Tue, Jun 21, 2016 at 5:06 PM, Vijay Srinivasaraghavan <
vijikar...@yahoo.com.invalid> wrote:

> Hi Rob,
> Yes I checked but the result jar does not contain the classes from
> hadoop-minikdc package.
> RegardsVijay
>
>     On Tuesday, June 21, 2016 7:59 AM, Robert Metzger <rmetz...@apache.org>
> wrote:
>
>
>  Hi Vijay,
> did you check if the artifact produced by the
> "flink-shaded-include-yarn-tests" module contains the required classes?
> Regards,Robert
>
> On Mon, Jun 20, 2016 at 6:18 PM, Vijay Srinivasaraghavan
> <vijikar...@yahoo.com.invalid> wrote:
>
> Hello,
> I was trying to include "hadoop-minikdc" component to Yarn test framework
> by adding the dependency in "flink-shaded-include-yarn-tests" pom.xml file.
>
> <dependency>    <groupId>org.apache.hadoop</groupId>    
> <artifactId>hadoop-minikdc</artifactId>    
> <version>${hadoop.version}</version></dependency>
> The dependency inclusion seems to be working from IDE. IntelliJ picked up
> the jar and did not report any compilation issue when I create a new test
> program in "flink-yarn-tests" module and try to use the minikdc class.
> However, when I try to run the test using maven command, I am getting
> compilation error for the MiniKdc package.
> Could someone please share some insights on how the dependency inclusion
> works with the shaded hadoop components?
> mvn verify -pl flink-yarn-tests -Pinclude-yarn-tests
> -Dtest=YARNSessionFIFOITCase
>
> [ERROR] COMPILATION ERROR : [INFO]
> -------------------------------------------------------------[ERROR]
> /workspace/git-projects/junk/flink/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionSecuredFIFOITCase.java:[24,33]
> package org.apache.hadoop.minikdc does not exist[ERROR]
> /workspace/git-projects/junk/flink/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionSecuredFIFOITCase.java:[46,24]
> cannot find symbol  symbol:   class MiniKdc  location: class
> org.apache.flink.yarn.YARNSessionSecuredFIFOITCase[ERROR]
> /workspace/git-projects/junk/flink/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionSecuredFIFOITCase.java:[58,38]
> cannot find symbol  symbol:   variable MiniKdc  location: class
> org.apache.flink.yarn.YARNSessionSecuredFIFOITCase[ERROR]
> /workspace/git-projects/junk/flink/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionSecuredFIFOITCase.java:[59,27]
> cannot find symbol  symbol:   class MiniKdc  location: class
> org.apache.flink.yarn.YARNSessionSecuredFIFOITCase
> RegardsVijay
>
>
>
>
>

Reply via email to