See <https://builds.apache.org/job/oozie-trunk-precommit-build/3812/display/redirect?page=changes>
Changes: [rkanter] OOZIE-2751 LocalOozieClient is missing methods from OozieClient [rkanter] Revert "OOZIE-2751 LocalOozieClient is missing methods from OozieClient [rkanter] OOZIE-2751 LocalOozieClient is missing methods from OozieClient ------------------------------------------ [...truncated 539.45 KB...] [ERROR] [ERROR] T extends Object declared in class QueryExecutor [ERROR] E extends Enum<E> declared in class QueryExecutor [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/executor/jpa/QueryExecutor.java>:[51,16] error: cannot find symbol [ERROR] [ERROR] T extends Object declared in class QueryExecutor [ERROR] E extends Enum<E> declared in class QueryExecutor [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/service/JPAService.java>:[249,54] error: cannot find symbol [ERROR] class JPAService [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/service/JPAService.java>:[250,16] error: cannot find symbol [ERROR] class JPAService [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/service/JPAService.java>:[251,52] error: cannot find symbol [ERROR] class JPAService [ERROR] <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/core/src/main/java/org/apache/oozie/service/JPAService.java>:[252,16] error: cannot find symbol [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :oozie-core Reports Running test-patch task CLEAN Running test-patch task RAW_PATCH_ANALYSIS Running test-patch task RAT Running test-patch task JAVADOC Running test-patch task COMPILE Running test-patch task FINDBUGS_DIFF [TRACE] Downloading FindBugs diff JAR from https://repo1.maven.org/maven2/me/andrz/findbugs/findbugs-diff/0.1.0/findbugs-diff-0.1.0-all.jar [TRACE] FindBugs diff JAR downloaded grep: <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/bin/findbugs-diff-0.1.0-all.jar.md5sum>: No such file or directory [TRACE] FindBugs diff JAR checked, is safe to use [TRACE] Performing FindBugs diffs bin/test-patch-11-findbugs-diff: line 253: : No such file or directory bin/test-patch-11-findbugs-diff: line 255: [: -le: unary operator expected Exception in thread "main" groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.String] [class java.net.URI] at groovy.lang.MetaClassImpl.chooseMostSpecificParams(MetaClassImpl.java:3202) at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:3154) at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:3097) at groovy.lang.MetaClassImpl.createConstructorSite(MetaClassImpl.java:3384) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallConstructorSite(CallSiteArray.java:88) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at me.andrz.findbugs.diff.FindBugsDiff.diffFromFilePaths(FindBugsDiff.groovy:33) at me.andrz.findbugs.diff.FindBugsDiff$diffFromFilePaths.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at me.andrz.findbugs.diff.FindBugsDiffIo.run(FindBugsDiffIo.groovy:21) at me.andrz.findbugs.diff.FindBugsDiffIo$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at me.andrz.findbugs.diff.FindBugsDiffCli.handleFileOpts(FindBugsDiffCli.groovy:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148) at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169) at me.andrz.findbugs.diff.FindBugsDiffCli.main(FindBugsDiffCli.groovy:51) [TRACE] FindBugs diffs performed [TRACE] Checking FindBugs diffs and creating reports [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [98] new bugs found below threshold in [core]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): core/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [client]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [1] new bugs found below threshold in [docs]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): docs/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [2] new bugs found below threshold in [sharelib/streaming]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/streaming/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [3] new bugs found below threshold in [sharelib/hive]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/hive/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/hive2]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [19] new bugs found below threshold in [sharelib/sqoop]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/sqoop/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/oozie]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [8] new bugs found below threshold in [sharelib/hcatalog]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/hcatalog/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [2] new bugs found below threshold in [sharelib/pig]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/pig/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [sharelib/spark]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [6] new bugs found below threshold in [sharelib/distcp]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): sharelib/distcp/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [DEBUG] There are no new bugs found in [examples]. [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [ERROR] There are [42] new bugs found below threshold in [hadooplibs/hadoop-utils-2]. [DEBUG] You can find the FindBugs diff here (look for the red and orange ones): hadooplibs/hadoop-utils-2/findbugs-new.html [TRACE] New XMLLib present, calling 'xmllint --xpath' to get bug instance counts [WARN] There are [1] new bugs found in [tools]. [DEBUG] You can find the FindBugs diff here: tools/findbugs-new.html [ERROR] There are [181] new bugs found below threshold in total that must be fixed. [TRACE] FindBugs diffs checked and reports created [TRACE] Summary file size is 9621 bytes [TRACE] Full summary file size is 43751 bytes [TRACE] File [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar]> removed [TRACE] File [<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar.md5sum]> removed Running test-patch task BACKWARDS_COMPATIBILITY Running test-patch task TESTS grep: <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/TESTS.rerun.out>: No such file or directory grep: <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/TESTS.rerun.out>: No such file or directory cat: <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/TESTS.flakies.out>: No such file or directory grep: <https://builds.apache.org/job/oozie-trunk-precommit-build/ws/test-patch/tmp/TESTS.rerun.out>: No such file or directory Running test-patch task DISTRO Testing JIRA OOZIE-2854 Cleaning local git workspace ---------------------------- +1 PATCH_APPLIES +1 CLEAN -1 RAW_PATCH_ANALYSIS +1 the patch does not introduce any @author tags +1 the patch does not introduce any tabs +1 the patch does not introduce any trailing spaces +1 the patch does not introduce any line longer than 132 -1 the patch does not add/modify any testcase +1 RAT +1 the patch does not seem to introduce new RAT warnings +1 JAVADOC +1 the patch does not seem to introduce new Javadoc warnings -1 COMPILE +1 HEAD compiles -1 patch does not compile +1 the patch does not seem to introduce new javac warnings -1 There are [181] new bugs found below threshold in total that must be fixed. -1 There are [98] new bugs found below threshold in [core] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): core/findbugs-new.html The top [5] most important FindBugs errors are: At CLIParser.java:[line 169]: Found reliance on default encoding in org.apache.oozie.cli.CLIParser.showHelp(CommandLine): new java.io.PrintWriter(OutputStream) At CLIParser.java:[line 57]: new org.apache.oozie.cli.CLIParser(String, String[]) may expose internal representation by storing an externally mutable object into CLIParser.cliHelp At CLIParser.java:[lines 80-104]: Should org.apache.oozie.cli.CLIParser$Command be a _static_ inner class? At OozieCLI.java:[line 845]: Found reliance on default encoding in org.apache.oozie.cli.OozieCLI.getConfiguration(OozieClient, CommandLine): new java.io.FileReader(File) At OozieCLI.java:[line 2175]: Found reliance on default encoding in org.apache.oozie.cli.OozieCLI.validateCommandV41(CommandLine): new java.io.FileReader(File) +1 There are no new bugs found in [client]. -1 There are [1] new bugs found below threshold in [docs] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): docs/findbugs-new.html The most important FindBugs errors are: At StreamingMain.java:[line 70]: org.apache.oozie.action.hadoop.StreamingMain.addActionConf(JobConf, Configuration) concatenates strings using + in a loop -1 There are [2] new bugs found below threshold in [sharelib/streaming] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/streaming/findbugs-new.html The most important FindBugs errors are: At HiveMain.java:[line 340]: Found reliance on default encoding in org.apache.oozie.action.hadoop.HiveMain.readStringFromFile(String): new java.io.FileReader(String) Obligation to clean up resource created at HiveMain.java:[line 184] is not discharged: org.apache.oozie.action.hadoop.HiveMain.setUpHiveSite() may fail to clean up java.io.OutputStream on checked exception Path continues at HiveMain.java:[line 185] -1 There are [3] new bugs found below threshold in [sharelib/hive] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/hive/findbugs-new.html The most important FindBugs errors are: At Hive2Main.java:[line 281]: Found reliance on default encoding in org.apache.oozie.action.hadoop.Hive2Main.readStringFromFile(String): new java.io.FileReader(String) At Hive2Main.java:[line 270]: Found reliance on default encoding in org.apache.oozie.action.hadoop.Hive2Main.runBeeline(String[], String): new java.io.PrintStream(OutputStream) At Hive2Main.java:[line 273]: org.apache.oozie.action.hadoop.Hive2Main.runBeeline(String[], String) invokes System.exit(...), which shuts down the entire virtual machine +1 There are no new bugs found in [sharelib/hive2]. -1 There are [19] new bugs found below threshold in [sharelib/sqoop] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): sharelib/sqoop/findbugs-new.html The top [5] most important FindBugs errors are: At LauncherMain.java:[line 124]: Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherMain.getHadoopJobIds(String, Pattern[]): new java.io.FileReader(String) At LauncherMain.java:[line 160]: Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherMain.writeExternalChildIDs(String, Pattern[], String): String.getBytes() At LauncherMain.java:[line 61]: org.apache.oozie.action.hadoop.LauncherMain.HADOOP_SITE_FILES should be both final and package protected At LauncherMain.java:[line 327]: Exceptional return value of java.io.File.mkdirs() ignored in org.apache.oozie.action.hadoop.LauncherMain.writeHadoopConfig(String, File) At LauncherMapper.java:[line 407]: Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherMapper.getLocalFileContentStr(File, String, int): new java.io.FileReader(File) +1 There are no new bugs found in [sharelib/oozie]. -1 There are [8] new bugs found below threshold in [sharelib/hcatalog] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): sharelib/hcatalog/findbugs-new.html The top [5] most important FindBugs errors are: At OoziePigStats.java:[line 130]: org.apache.oozie.action.hadoop.OoziePigStats.toJSONFromMultiStoreCounters(Map) makes inefficient use of keySet iterator instead of entrySet iterator At PigMain.java:[line 334]: Dead store to klass in org.apache.oozie.action.hadoop.PigMain.runPigJob(String[], String, boolean, boolean) At PigMain.java:[line 306]: Found reliance on default encoding in org.apache.oozie.action.hadoop.PigMain.handleError(String): new java.io.FileReader(String) At PigMain.java:[line 407]: Found reliance on default encoding in org.apache.oozie.action.hadoop.PigMain.writeExternalData(String, File): new java.io.FileWriter(File) Obligation to clean up resource created at PigMain.java:[line 130] is not discharged: org.apache.oozie.action.hadoop.PigMain.run(String[]) may fail to clean up java.io.OutputStream on checked exception -1 There are [2] new bugs found below threshold in [sharelib/pig] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/pig/findbugs-new.html The most important FindBugs errors are: At SparkMain.java:[line 493]: org.apache.oozie.action.hadoop.SparkMain.getJarVersion(File) may fail to close stream At SparkMain.java:[line 326]: Exceptional return value of java.io.File.mkdirs() ignored in org.apache.oozie.action.hadoop.SparkMain.createPySparkLibFolder() +1 There are no new bugs found in [sharelib/spark]. -1 There are [6] new bugs found below threshold in [sharelib/distcp] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): sharelib/distcp/findbugs-new.html The top [5] most important FindBugs errors are: At DateList.java:[line 55]: Nullcheck of date at line 55 of value previously dereferenced in org.apache.oozie.example.DateList.main(String[]) Private method org.apache.oozie.example.DateList.formatDateUTC(Calendar) is never called: Redundant null check at DateList.java:[line 62] org.apache.oozie.example.LocalOozieExample.execute(String[]) may fail to clean up java.io.InputStream: At DateList.java:[line 97] Path continues at LocalOozieExample.java:[line 76]: Obligation to clean up resource created at LocalOozieExample.java:[line 72] is not discharged Path continues at LocalOozieExample.java:[line 78]: Path continues at LocalOozieExample.java:[line 77] +1 There are no new bugs found in [examples]. -1 There are [42] new bugs found below threshold in [hadooplibs/hadoop-utils-2] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): hadooplibs/hadoop-utils-2/findbugs-new.html The top [5] most important FindBugs errors are: At OozieDBCLI.java:[line 548]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInMysql(String, Connection): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 577]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInPostgres(String, Connection, String): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 983]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.createOozieSysTable(String, boolean, String): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 759]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.ddlTweaks(String, boolean): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 712]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.ddlTweaksFor50(String, boolean, String): new java.io.FileWriter(String, boolean) 0 There are [1] new bugs found in [tools] that would be nice to have fixed. You can find the FindBugs diff here: tools/findbugs-new.html +1 BACKWARDS_COMPATIBILITY +1 the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations +1 the patch does not modify JPA files -1 TESTS - patch does not compile, cannot run testcases -1 DISTRO -1 distro tarball fails with the patch ---------------------------- -1 Overall result, please check the reported -1(s) The full output of the test-patch run is available at https://builds.apache.org/job/oozie-trunk-precommit-build/3812/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0100 3706k 100 3706k 0 0 599k 0 0:00:06 0:00:06 --:--:-- 9936k Adding comment to JIRA Comment added. test-patch exit code: 1 Build step 'Execute shell' marked build as failure Archiving artifacts Compressed 787.02 KB of artifacts by 20.3% relative to #3804 Recording test results
