You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2017/05/12 13:36:04 UTC

[jira] [Reopened] (OOZIE-2780) Upgrade minimum Hadoop version to 2.6.0

     [ https://issues.apache.org/jira/browse/OOZIE-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko reopened OOZIE-2780:
---------------------------------

I'm reopening this JIRA because one test fails because of the Hadoop 2.6.0 update:

{noformat}
junit.framework.ComparisonFailure: expected:<[tru]e> but was:<[fals]e>
	at junit.framework.Assert.assertEquals(Assert.java:85)
	at junit.framework.Assert.assertEquals(Assert.java:91)
	at org.apache.oozie.action.hadoop.TestJavaActionExecutor.testUpdateConfForTimeLineServiceEnabled(TestJavaActionExecutor.java:2488)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
{noformat}

If I rebuild my workspace without this patch and rerun the test, it passes.

> Upgrade minimum Hadoop version to 2.6.0
> ---------------------------------------
>
>                 Key: OOZIE-2780
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2780
>             Project: Oozie
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 4.3.0
>            Reporter: Artem Ervits
>            Assignee: Artem Ervits
>            Priority: Minor
>              Labels: newbie
>             Fix For: 5.0.0
>
>         Attachments: OOZIE-2780-0.patch, OOZIE-2780-1.patch, OOZIE-2780-2.patch
>
>
> I'd like to contribute an fs action enhancement to modify extended attributes to core but methods to change extended attributes is not available in hadoop-common < 2.6.0. Currently hadoop-common is at 2.4. I am contributing a patch to bump to 2.6 but so far I haven't been able to generate a clean test as tests in core module fail randomly. On the first run, I had a failure on 
> {code} Failed tests:   testCheckAfterActionDelete(org.apache.oozie.service.TestHAPartitionDependencyManagerService): Expected: <null> but was: [0000000-170123095541655-oozie-aerv-C@1]{code}
> and on second run
> {code}Failed tests:   testWaitFor(org.apache.oozie.test.TestXTestCase): expected:<1000.0> but was:<2036.0>{code}
> I can't tell whether it is due to my patch?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)