You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Prashant Sharma (Created) (JIRA)" <ji...@apache.org> on 2011/10/11 07:42:29 UTC

[jira] [Created] (OOZIE-577) Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.

Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: OOZIE-577
                 URL: https://issues.apache.org/jira/browse/OOZIE-577
             Project: Oozie
          Issue Type: Bug
         Environment: Unix
            Reporter: Prashant Sharma
            Priority: Minor


...skipping a few lines..........

        ... 16 more
Exception in thread "pool-2-thread-25" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
        at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:129)
        at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:127)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
        at org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:127)
        at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:789)
        at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:534)
        at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:746)
        at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:193)
        at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:53)
        at org.apache.oozie.command.XCommand.call(XCommand.java:257)
        at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:163)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
        ... 16 more
Oct 8, 2011 3:33:20 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-11000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-577) Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.

Posted by "Alejandro Abdelnur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125186#comment-13125186 ] 

Alejandro Abdelnur commented on OOZIE-577:
------------------------------------------

With the version of hadoop that Oozie is built installation and examples run out of the box. What documentation is lacking?
                
> Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-577
>                 URL: https://issues.apache.org/jira/browse/OOZIE-577
>             Project: Oozie
>          Issue Type: Bug
>         Environment: Unix
>            Reporter: Prashant Sharma
>            Priority: Minor
>              Labels: OOZIE-3.1.1
>         Attachments: OOZIE-577.patch, OOZIE-577.patch
>
>   Original Estimate: 0.1h
>  Remaining Estimate: 0.1h
>
> ...skipping a few lines..........
>         ... 16 more
> Exception in thread "pool-2-thread-25" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:129)
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:127)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
>         at org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:127)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:789)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:534)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:746)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:193)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:53)
>         at org.apache.oozie.command.XCommand.call(XCommand.java:257)
>         at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:163)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>         ... 16 more
> Oct 8, 2011 3:33:20 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-11000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OOZIE-577) Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.

Posted by "Prashant Sharma (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prashant Sharma updated OOZIE-577:
----------------------------------

    Attachment: OOZIE-577.patch

Added a few lines in setup for copying jars to Catalina lib.
                
> Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-577
>                 URL: https://issues.apache.org/jira/browse/OOZIE-577
>             Project: Oozie
>          Issue Type: Bug
>         Environment: Unix
>            Reporter: Prashant Sharma
>            Priority: Minor
>              Labels: OOZIE-3.1.1
>         Attachments: OOZIE-577.patch
>
>   Original Estimate: 0.1h
>  Remaining Estimate: 0.1h
>
> ...skipping a few lines..........
>         ... 16 more
> Exception in thread "pool-2-thread-25" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:129)
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:127)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
>         at org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:127)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:789)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:534)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:746)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:193)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:53)
>         at org.apache.oozie.command.XCommand.call(XCommand.java:257)
>         at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:163)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>         ... 16 more
> Oct 8, 2011 3:33:20 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-11000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OOZIE-577) Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.

Posted by "Prashant Sharma (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prashant Sharma updated OOZIE-577:
----------------------------------

    Attachment: OOZIE-577.patch
    
> Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-577
>                 URL: https://issues.apache.org/jira/browse/OOZIE-577
>             Project: Oozie
>          Issue Type: Bug
>         Environment: Unix
>            Reporter: Prashant Sharma
>            Priority: Minor
>              Labels: OOZIE-3.1.1
>         Attachments: OOZIE-577.patch, OOZIE-577.patch
>
>   Original Estimate: 0.1h
>  Remaining Estimate: 0.1h
>
> ...skipping a few lines..........
>         ... 16 more
> Exception in thread "pool-2-thread-25" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:129)
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:127)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
>         at org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:127)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:789)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:534)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:746)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:193)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:53)
>         at org.apache.oozie.command.XCommand.call(XCommand.java:257)
>         at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:163)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>         ... 16 more
> Oct 8, 2011 3:33:20 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-11000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-577) Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.

Posted by "Alejandro Abdelnur (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125154#comment-13125154 ] 

Alejandro Abdelnur commented on OOZIE-577:
------------------------------------------

Prashant,

This seems the wrong approach to add JARs into Oozie webapp. 

The correct way is to make sure the webapp module include/exclude the right JARs.

                
> Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-577
>                 URL: https://issues.apache.org/jira/browse/OOZIE-577
>             Project: Oozie
>          Issue Type: Bug
>         Environment: Unix
>            Reporter: Prashant Sharma
>            Priority: Minor
>              Labels: OOZIE-3.1.1
>         Attachments: OOZIE-577.patch, OOZIE-577.patch
>
>   Original Estimate: 0.1h
>  Remaining Estimate: 0.1h
>
> ...skipping a few lines..........
>         ... 16 more
> Exception in thread "pool-2-thread-25" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:129)
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:127)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
>         at org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:127)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:789)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:534)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:746)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:193)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:53)
>         at org.apache.oozie.command.XCommand.call(XCommand.java:257)
>         at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:163)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>         ... 16 more
> Oct 8, 2011 3:33:20 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-11000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-577) Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.

Posted by "Prashant Sharma (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125181#comment-13125181 ] 

Prashant Sharma commented on OOZIE-577:
---------------------------------------

Hi Alejandro,
 Thanks for your time, I am sure you must be right about that. I had trouble starting the examples given in examples. I supposed the default setup should be capable of running atleast the examples and perhaps demonstrate the workflow. For same reason oozie is lacking updated documentation for getting started. 

And also documentation that briefs on how to run mapreduce apps from 20.2 api is missing. I dont mind submitting a patch for those examples I have written figuring       out myself. 
                
> Fix for setup. Some jars were missing on the catalina classpath. Which were causing Class not found exception for variety of classes.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-577
>                 URL: https://issues.apache.org/jira/browse/OOZIE-577
>             Project: Oozie
>          Issue Type: Bug
>         Environment: Unix
>            Reporter: Prashant Sharma
>            Priority: Minor
>              Labels: OOZIE-3.1.1
>         Attachments: OOZIE-577.patch, OOZIE-577.patch
>
>   Original Estimate: 0.1h
>  Remaining Estimate: 0.1h
>
> ...skipping a few lines..........
>         ... 16 more
> Exception in thread "pool-2-thread-25" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:129)
>         at org.apache.oozie.service.KerberosHadoopAccessorService$1.run(KerberosHadoopAccessorService.java:127)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
>         at org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:127)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:789)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:534)
>         at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:746)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:193)
>         at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:53)
>         at org.apache.oozie.command.XCommand.call(XCommand.java:257)
>         at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:163)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.JsonMappingException
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>         ... 16 more
> Oct 8, 2011 3:33:20 AM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-11000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira