Description
The changes done to the sharelib actions in OOZIE-1311 have caused their tests to throw ClassNotFoundException on the Main class (e.g. TestSqoopActionExecutor throws ClassNotFoundException on SqoopMain) when run against Hadoop 2. This issue only affects the tests, not an actual deployment.
Before OOZIE-1311, the Main classes were in the launcher jar. Now that they are not, in Hadoop 1, they get picked up by simply being in the classpath. In Hadoop 2, this doesn't work because its classpath by default only contains JARs. We need to modify the classpath to have the Main class to fix this.
Note that even with a fix, many of the actions will still fail for other reasons because they were not compiled against Hadoop 2. (Though it should work if you have the proper JARs).
Attachments
Attachments
Issue Links
- is related to
-
OOZIE-1311 Refactor action Main classes into sharelibs
- Closed