Yarn Integration Test

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Yarn Integration Test

Vijay Srinivasaraghavan
Hello,
I am trying to run "Yarn integration test" but could not find right way to execute.
I ran "mvn -pl flink-yarn-tests integration-test" and got an error message "Could not find the selected project in the reactor: flink-yarn-tests".
Running "mvn -pl flink-yarn integration-test" did not fail but no test case is associated with the module.
Could someone please let me know how to run "yarn" integration test.

Regards
Vijay


mxm
Reply | Threaded
Open this post in threaded view
|

Re: Yarn Integration Test

mxm
Hi Vijay,

Please try `mvn verify -pl flink-yarn-tests -Pinclude-yarn-tests`. The
additional profix switch will include the "flink-yarn-tests" module. By
default, we exclude the module "flink-yarn-tests" because we have a Yarn
free Hadoop 1 module. The Yarn tests need to reside in an extra module
because they use the Flink fat jar which is build after "flink-yarn" in
"flink-dist".

Cheers,
Max

On Tue, Jun 14, 2016 at 2:34 PM, Vijay Srinivasaraghavan <
[hidden email]> wrote:

> Hello,
> I am trying to run "Yarn integration test" but could not find right way to
> execute.
> I ran "mvn -pl flink-yarn-tests integration-test" and got an error message
> "Could not find the selected project in the reactor: flink-yarn-tests".
> Running "mvn -pl flink-yarn integration-test" did not fail but no test
> case is associated with the module.
> Could someone please let me know how to run "yarn" integration test.
>
> Regards
> Vijay
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Yarn Integration Test

Vijay Srinivasaraghavan
Thanks Max. I am able to run the test now.

Regards,
Vijay

Sent from my iPhone

> On Jun 14, 2016, at 6:31 AM, Maximilian Michels <[hidden email]> wrote:
>
> Hi Vijay,
>
> Please try `mvn verify -pl flink-yarn-tests -Pinclude-yarn-tests`. The
> additional profix switch will include the "flink-yarn-tests" module. By
> default, we exclude the module "flink-yarn-tests" because we have a Yarn
> free Hadoop 1 module. The Yarn tests need to reside in an extra module
> because they use the Flink fat jar which is build after "flink-yarn" in
> "flink-dist".
>
> Cheers,
> Max
>
> On Tue, Jun 14, 2016 at 2:34 PM, Vijay Srinivasaraghavan <
> [hidden email]> wrote:
>
>> Hello,
>> I am trying to run "Yarn integration test" but could not find right way to
>> execute.
>> I ran "mvn -pl flink-yarn-tests integration-test" and got an error message
>> "Could not find the selected project in the reactor: flink-yarn-tests".
>> Running "mvn -pl flink-yarn integration-test" did not fail but no test
>> case is associated with the module.
>> Could someone please let me know how to run "yarn" integration test.
>>
>> Regards
>> Vijay
>>
>>
>>