Hi Hitesh, My environment: Hadoop 2.7.0 As suggested by you I'm trying with apache-tez-0.7.0-src
I've to use the following command to avoid npm and Dfrontend missing error: *sudo mvn clean package -Dfrontend-maven-plugin.version=0.0.22* I keep getting timeout error while building Tez as shown in the error log below: *-------------------------------------------------------------------------------* *Test set: org.apache.tez.client.TestTezClient* *-------------------------------------------------------------------------------* *Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.013 sec <<< FAILURE!* *testTezclientSession(org.apache.tez.client.TestTezClient) Time elapsed: 5.062 sec <<< ERROR!* *java.lang.Exception: test timed out after 5000 milliseconds* (Earlier I was able to build apache-tez-0.5.0-src in the same environment however had to upgrade to 0.7.0 in order to avoid some bugs fixed in 0.7.0 version). Please help. Thanks, Joel On Wed, Apr 6, 2016 at 3:01 PM Hitesh Shah <[email protected]> wrote: > Hello Sam, > > Couple of things to confirm: > - I assume you are building branch-0.7 of Tez for 0.7.1-SNAPSHOT as > there has not yet been a release of 0.7.1? > - For hadoop, are you using hadoop-2.7.0 or hadoop-2.7.1 ( though this > really should not be too relevant here )? > > I took branch-0.7 of the current code base and compiled it against > hadoop-2.7.1. I also ran the test that was failing and it did not fail. > > Picked up _JAVA_OPTIONS: -Djava.awt.headless=true > Running org.apache.tez.dag.app.TestMockDAGAppMaster > 2016-04-06 11:31:18.076 java[20695:1903] Unable to load realm info from > SCDynamicStore > Tests run: 17, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.788 sec > > I think this might be a flaky test that we need to fix. I would suggest > filing a bug for this with the surefire logs for the test in question so > that it will help us debug the flaky failure. Please update the jira with > hadoop version too. If this test is consistently failing for you, let us > know ( if not, a quick fix would be to just patch the code with an @Ignore > to skip the test ) > > thanks > — Hitesh > > > On Apr 6, 2016, at 10:57 AM, Sam Joe <[email protected]> wrote: > > > I am using the following command for building Tez. > > > > sudo mvn clean package -Dfrontend-maven-plugin.version=0.0.22 > > > > Thanks, > > Joel > > > > On Wed, Apr 6, 2016 at 1:51 PM, Sam Joe <[email protected]> wrote: > > Hi, > > > > Could any help me in resolving the following error which I am getting > while building Apache Tez 0.7.1 on Hadoop 2.7: > > > > > testCommitOutputOnDAGSuccess(org.apache.tez.dag.app.TestMockDAGAppMaster) > Time elapsed: 0.453 sec <<< ERROR! > > org.apache.tez.dag.api.TezException: App master already running a DAG > > at > org.apache.tez.dag.app.DAGAppMaster.submitDAGToAppMaster(DAGAppMaster.java:1256) > > > > I can see that there is a Jira found in the following link but not sure > how to use the fix. > > > > https://issues.apache.org/jira/browse/TEZ-2307 > > > > Please help. > > > > Thanks, > > Sam > > > >
