[ 
https://issues.apache.org/jira/browse/OOZIE-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301626#comment-16301626
 ] 

Attila Sasvari commented on OOZIE-2968:
---------------------------------------

I ran into the same issue when running bin/mkdistro.sh Precommit builds also 
have the same problem: e.g. 
https://builds.apache.org/job/PreCommit-OOZIE-Build/288/consoleFull

{code}
estJavaActionExecutor. testCredentialsSkip.

[INFO] Running org.apache.oozie.action.hadoop.TestJavaActionExecutor
[ERROR] Tests run: 55, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 126.213 s <<< FAILURE! - in
org.apache.oozie.action.hadoop.TestJavaActionExecutor
[ERROR] 
testCredentialsSkip(org.apache.oozie.action.hadoop.TestJavaActionExecutor)
 Time elapsed: 0.532 s  <<< ERROR!
org.apache.oozie.action.ActionExecutorException: JA020: Could not load
credentials of type [abc] with name [abcname]]; perhaps it was not
defined in oozie-site.xml?
        at 
org.apache.oozie.action.hadoop.TestJavaActionExecutor._testCredentialsSkip(TestJavaActionExecutor.java:1106)
        at 
org.apache.oozie.action.hadoop.TestJavaActionExecutor.testCredentialsSkip(TestJavaActionExecutor.java:1006)
{code}

> TestJavaActionExecutor.testCredentialsSkip fails intermittently in Apache 
> Oozie Core 5.0.0-SNAPSHOT
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-2968
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2968
>             Project: Oozie
>          Issue Type: Test
>          Components: tests
>    Affects Versions: 5.0.0
>         Environment: $ uname -a
> Linux pts00450-vm24 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
>            Reporter: Parita Johari
>            Priority: Minor
>
> {code:java}
> Stacktrace
> org.apache.oozie.action.ActionExecutorException: JA020: Could not load 
> credentials of type [abc] with name [abcname]]; perhaps it was not defined in 
> oozie-site.xml?
>       at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialTokens(JavaActionExecutor.java:1202)
>       at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor._testCredentialsSkip(TestJavaActionExecutor.java:1096)
>       at 
> org.apache.oozie.action.hadoop.TestJavaActionExecutor.testCredentialsSkip(TestJavaActionExecutor.java:995)
>       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:176)
>       at junit.framework.TestCase.runBare(TestCase.java:141)
>       at junit.framework.TestResult$1.protect(TestResult.java:122)
>       at junit.framework.TestResult.runProtected(TestResult.java:142)
>       at junit.framework.TestResult.run(TestResult.java:125)
>       at junit.framework.TestCase.run(TestCase.java:129)
>       at junit.framework.TestSuite.runTest(TestSuite.java:255)
>       at junit.framework.TestSuite.run(TestSuite.java:250)
>       at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>       at org.junit.runners.Suite.runChild(Suite.java:127)
>       at org.junit.runners.Suite.runChild(Suite.java:26)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to