Azkaban 3.0.0 release: https://github.com/azkaban/azkaban/releases/tag/3.0.0
Azkaban plugin 3.0.0 release: https://github.com/azkaban/azkaban-plugins/releases/tag/3.0.0
We have also created Azkaban 3.0.0 documentation (under review): https://github.com/azkaban/azkaban/pull/574
Awesome! Great to hear. Looking forward to the 3.0 release!On Fri, Nov 13, 2015 at 9:19 AM, Hien Luu <hl...@linkedin.com> wrote:Nice. Thanks.HienOn Fri, Nov 13, 2015 at 9:11 AM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Update:-I have resolved conflicts and merged multiexecutor_canary on my local git repo. I have also deployed Azkaban 3.0 package to our test instance for further testing. I will keep a close watch for sometime before pushing it to Azkaban master.FYI, changes made in https://github.com/azkaban/azkaban/pull/558 are breaking changes for LinkedIn's Azkaban ldap-manager-plugin. I have made changed to propagate fixes for ldap-manager-plugin.--On Wed, Nov 11, 2015 at 3:22 PM, Hien Luu <hl...@linkedin.com> wrote:Glad to hear issue is resolved. Here comes Azkaban 3.0 :)HienOn Wed, Nov 11, 2015 at 3:13 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:I and David synced up today to debug build issues. We tried a few things by catching exceptions but couldn't make it work. Then I tried few things independently and found that error was not in stderror but stdout of test process.Issue was that my Azkaban build was running on java 1.8.0.40, but tests were running on older version of java as I had changed java version by setting environment variable. Setting java at system level (using update-alternative) solved the issue. Thanks David !!Catch process exception Exception in thread "main" java.lang.UnsupportedClassVersionError: azkaban/jobExecutor/WordCountLocal : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:791) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482), 1On Thu, Oct 22, 2015 at 4:16 PM, David Chen <d...@google.com> wrote:Around noon tomorrow works for me.In the meantime, can you take a look at my PR for running our CI against several JDK versions (https://github.com/azkaban/azkaban/pull/548)?Talk with you tomorrow!Thanks,David
On Thu, Oct 22, 2015 at 4:04 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Apologies, I was not able to ping today. I will ping you around noon ?All these test failures are for maser branch.--On Thu, Oct 22, 2015 at 2:12 AM, David Chen <d...@google.com> wrote:I took a look at the logs. While I am seeing the stack trace in the logs and that a ProcessFailureException was thrown when the test calls ProcessJob.run(), I am not seeing the actual contents of the ProcessFailureException (.getLogSnippet() and .getExitCode()), which I need to find the root cause of this test failure. Is this test failing on the master branch or multipleexecutors_canary? I have not been able to reproduce on either branch.I am also available tomorrow before 3 PM if you would like to chat over Hangouts. You can reach me at dzc...@gmail.comThanks,DavidOn Thu, Oct 22, 2015 at 1:46 AM, David Chen <d...@google.com> wrote:Hi Gaurav,Sorry for the delay. Your email somehow got filtered to a different mailbox, and I didn't see it until today.Many of the other failures are due to the other tests that are currently broken. As you can see from the issue I opened (https://github.com/azkaban/azkaban/issues/504), there are quite a number of them.Thanks for sending me the logs. I will take a look. How about let's have a meeting on Hangouts either Friday or early next week?Thanks,DavidOn Fri, Oct 16, 2015 at 6:09 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Hi David,Somehow I see that stacktrace is truncated. I found that there are other failures as well (PFA details).How about we have a hangout to resolve this issue ?--On Thu, Oct 15, 2015 at 3:13 PM, David Chen <d...@google.com> wrote:Hi Gaurav,Thanks for sending me the test reports. However, I am still not seeing the error codes or log snippets in the test output that the debug prints in my patch should have dumped.Can you try to get the error code and log snippet in the ProcessFailureExceptions to print and then send me the output? Without that output, it would not be possible for me to debug this test failure because it has not reproduced on any of the 4 machines I have ran the tests on.Thanks,DavidOn Thu, Oct 15, 2015 at 1:36 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Hi David,I tried your patch, but I am still getting test failures. PFA test reports.--On Wed, Oct 14, 2015 at 5:33 PM, David Chen <d...@google.com> wrote:Hi Gaurav,I ran the tests on several machines but have not been able to reproduce the failures.I am sending you a patch that adds some additional debug prints to print the error codes and log snippets to stderr. Since you are able to reproduce the failures, can you apply the patch, run the tests again, and send me the stderr logs?
Thanks,DavidOn Tue, Oct 13, 2015 at 3:45 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:PFA html files.--On Tue, Oct 13, 2015 at 3:43 PM, David Chen <d...@google.com> wrote:Hi Gaurav,This file only contains Gradle's stack trace caused by the fact that there was a test failure. Can you send the HTML Gradle test report? It's this HTML file mentioned in the log you sent: /home/gaggarwa/bug/azkaban/azkaban-common/build/reports/tests/index.htmlThanks,DavidOn Tue, Oct 13, 2015 at 3:40 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Hi David,PFA test failure details from Java 1.8.0.40.--On Tue, Oct 13, 2015 at 3:34 PM, David Chen <d...@google.com> wrote:Thanks, Hien. That sounds good.It would be great to run our CI against the different JDK versions that we support. It seems that Travis CI supports testing against multiple JDK versions. I'll go ahead and send a PR for running our CI against both Java 7 and 8.Once I have repros for the test failures Gaurav mentioned, I'll open bugs and add them to the rollup ticket: http://blog.travis-ci.com/support_for_multiple_jdks/Thanks,DavidOn Tue, Oct 13, 2015 at 3:16 PM, Hien Luu <hl...@linkedin.com> wrote:HienThanks,I think it is fine to drop support for 1.6.It is reasonable to hold off the Java 8 requirement until after 3.0 release, this will give folks running on Java 1.7 to leverage the multi-executor feature.On Tue, Oct 13, 2015 at 3:06 PM, David Chen <d...@google.com> wrote:Hi Gaurav,Thanks! Sounds good.For the Java version support, I agree that at it would be good to hold off actually using the Java 8 features until after the 3.0 release. I don't think is necessary for us to bump the sourceCompatibility requirement to 1.8 right now, but I am thinking perhaps we should drop support for 1.6 and require at least 1.7. My motivations for this are two-fold:
- 1.6 has been deprecated for a long time and even 1.7 is now deprecated.
- error-prone requires at least 1.7
Hien - what do you advise?Thanks for catching the test failures. However, I am unable to reproduce those test failures on 1.8.0_20. Can you attach the test report generated by Gradle so I can take a look at the stack traces?
Thanks,DavidOn Tue, Oct 13, 2015 at 1:37 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Hi David,Thanks for the inputs. I agree with working on master branch and short-lived feature branches. Going forward we will work of the master branch. I think we will need some time to test and validate Azkaban java 1.8 build, so we can avoid any surprises, and this will further push Azkaban 3.0 release. I think it will be great if we can have Azkaban 3.0 on java 1.6 and upgrade in next releases.Moreover, I see some unit test failures with JDK-1_7_0_51 and JDK-1_8_0_40 in master branch. Can you please have a look ?Failed tests:-azkaban.jobExecutor.JavaProcessJobTest > testJavaJobHashmap FAILEDjava.lang.RuntimeException at JavaProcessJobTest.java:147Caused by: azkaban.jobExecutor.utils.process.ProcessFailureException at JavaProcessJobTest.java:147azkaban.jobExecutor.JavaProcessJobTest > testJavaJob FAILEDjava.lang.RuntimeException at JavaProcessJobTest.java:135Caused by: azkaban.jobExecutor.utils.process.ProcessFailureException at JavaProcessJobTest.java:135azkaban.jobExecutor.AllJobExecutorTests > azkaban.jobExecutor.JavaProcessJobTest.testJavaJobHashmap FAILEDjava.lang.RuntimeException at JavaProcessJobTest.java:147Caused by: azkaban.jobExecutor.utils.process.ProcessFailureException at JavaProcessJobTest.java:147azkaban.jobExecutor.AllJobExecutorTests > azkaban.jobExecutor.JavaProcessJobTest.testJavaJob FAILEDjava.lang.RuntimeException at JavaProcessJobTest.java:135Caused by: azkaban.jobExecutor.utils.process.ProcessFailureException at JavaProcessJobTest.java:135--On Mon, Oct 12, 2015 at 3:27 PM, David Chen <d...@google.com> wrote:+HienHi Gaurav,Doing a command line merge from multipleexecutors_canary to master sounds good to me given that all the changes have been reviewed.For the future, I am wondering whether it would be better to commit these changes to master rather than keeping long-running feature branches. I think it is fine for master to be unstable (this is the case for many other projects generally) and have release branches if people want to build a stable release from source. As discussed in #517, feature branches should be short-lived and frequently rebased on master. This would prevent branches from diverging far from master and would make resolving merge conflicts much more manageable. We can have a separate discussion on this offline.For the Java 6 build failure, I discussed this with Hien in a separate thread, and we think that given that both Java 6 and 7 are now deprecated and that LinkedIn has migrated to Java 8, Azkaban 3 should no longer support Java 6 and should move to Java 8. There are already some Apache projects, such as Apache Tajo, that are requiring Java 8 to build. This way, people would be encouraged to move to an officially supported version of Java, and we would be able to use the new features in Java 8.Thanks,DavidOn Mon, Oct 12, 2015 at 2:44 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Hi David,We are planning to release Azkaban 3.0 sometime around late next week for which we waiting on following two things:-
- Execute-as-user feature: https://github.com/azkaban/azkaban/pull/532
- Fixing build failures for master.
We have been pulling code in multipleexecutors_canary as release candidate branch for Azkaban 3.0. We are thinking of a command line merge to master as we have already reviewed all the changes and it will be hard to re-review a ~65 files change. What's your thought on that ?Will you be able to fix master branch build failures as per Azkaban 3.0 timeline ?--On Wed, Oct 7, 2015 at 2:30 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:javac 1.6.0_27--On Wed, Oct 7, 2015 at 2:29 PM, David Chen <d...@google.com> wrote:Hi Gaurav,Can you send me your full Java version (output of javac -version)?Thanks,DavidOn Tue, Oct 6, 2015 at 2:47 PM, David Chen <d...@google.com> wrote:+correct email address for azkaban-dev mailing list.On Tue, Oct 6, 2015 at 2:43 PM, David Chen <d...@google.com> wrote:Thanks for catching this! I'll see if I can modify the build script to use the correct version of error-prone when building with Java 1.6.I have opened the following GitHub issue to track: https://github.com/azkaban/azkaban/issues/515On Tue, Oct 6, 2015 at 2:23 PM, Gaurav Aggarwal <gagg...@linkedin.com> wrote:Hi David,There seems to be some build failures due to error prone plugin in Azkaban master branch when we use Java 1.6.[gaggarwa@gaggarwa-ld1 azkaban]$ ./gradlew distTarFAILURE: Build failed with an exception.* Where:Build file '/home/gaggarwa/bug/azkaban/build.gradle' line: 39* What went wrong:A problem occurred evaluating root project 'azkaban'.> java.lang.UnsupportedClassVersionError: net/ltgt/gradle/errorprone/ErrorPronePlugin : Unsupported major.minor version 51.0* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILEDTotal time: 1.771 secsCan you please have a look ?--Thanks,GauravThanks,GauravThanks,GauravThanks,GauravThanks,GauravThanks,GauravThanks,GauravThanks,GauravThanks,Gaurav--Thanks,GauravThanks,Gaurav
I have set up the Azkaban Multiple Executor set by following Azkaban 3.0 Documentation. I have configured the Websers and Executor servers. Still I'm getting the following errors while running an uploaded flow:
Can anyone suggest how to overcome this? |