Jira: https://issues.apache.org/jira/browse/OOZIE-3324 Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/740/
################################################################################### ########################## LAST 100 LINES OF THE CONSOLE ########################### [...truncated 1.10 MB...] In BundleJobBean.java: org.apache.oozie.BundleJobBean.pcIsDetached() has Boolean return type and returns explicit null -1 There are [74] new bugs found below threshold in [tools] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): tools/findbugs-new.html The top [5] most important FindBugs errors are: At OozieDBCLI.java:[line 562]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.convertClobToBlobInMysql(String, Connection): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 591]: 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 1034]: 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 810]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.ddlTweaks(String, boolean): new java.io.FileWriter(String, boolean) At OozieDBCLI.java:[line 770]: Found reliance on default encoding in org.apache.oozie.tools.OozieDBCLI.ddlTweaksFor50(String, boolean): new java.io.FileWriter(String, boolean) 0 There are [2] new bugs found in [fluent-job/fluent-job-api] that would be nice to have fixed. You can find the FindBugs diff here: fluent-job/fluent-job-api/findbugs-new.html -1 There are [1] new bugs found below threshold in [server] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): server/findbugs-new.html The most important FindBugs errors are: At JspHandlerProvider.java:[line 43]: java/io/File.<init>(Ljava/lang/String;Ljava/lang/String;)V reads a file whose location might be specified by user input At JspHandlerProvider.java:[line 43] +1 There are no new bugs found in [docs]. -1 There are [4] new bugs found below threshold in [sharelib/hive2] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/hive2/findbugs-new.html The most important FindBugs errors are: At Hive2Main.java:[line 271]: org.apache.oozie.action.hadoop.Hive2Main.runBeeline(String[], String) invokes System.exit(...), which shuts down the entire virtual machine At Hive2Main.java:[line 279]: java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input At Hive2Main.java:[line 165]: At Hive2Main.java:[line 146] At Hive2Main.java:[line 149]: java/io/File.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input java/io/FileOutputStream.<init>(Ljava/lang/String;)V writes to a file whose location might be specified by user input: At Hive2Main.java:[line 146] -1 There are [3] 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 PigMain.java:[line 258]: java/io/File.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input At PigMain.java:[line 141]: At PigMain.java:[line 131] At PigMain.java:[line 245]: At PigMain.java:[line 199] At PigMain.java:[line 137]: java/io/File.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input java/io/File.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input: At PigMain.java:[line 131] +1 There are no new bugs found in [sharelib/streaming]. -1 There are [2] 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 HiveMain.java:[line 317]: java/io/FileInputStream.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input At HiveMain.java:[line 226]: At HiveMain.java:[line 207] At HiveMain.java:[line 210]: java/io/File.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input At HiveMain.java:[line 207] +1 There are no new bugs found in [sharelib/hcatalog]. +1 There are no new bugs found in [sharelib/sqoop]. -1 There are [26] new bugs found below threshold in [sharelib/oozie] 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/oozie/findbugs-new.html The top [5] most important FindBugs errors are: At ActionStats.java:[line 37]: Unwritten public or protected field: org.apache.oozie.action.hadoop.ActionStats.currentActionType At LauncherAMUtils.java:[line 64]: Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherAMUtils.getLocalFileContentStr(File, String, int): new java.io.FileReader(File) Obligation to clean up resource created at LauncherAMUtils.java:[line 64] is not discharged: org.apache.oozie.action.hadoop.LauncherAMUtils.getLocalFileContentStr(File, String, int) may fail to clean up java.io.Reader on checked exception Path continues at LauncherAMUtils.java:[line 67]: Path continues at LauncherAMUtils.java:[line 65] Found reliance on default encoding in org.apache.oozie.action.hadoop.LauncherMain.getHadoopJobIds(String, Pattern[]): new java.io.FileReader(String): Path continues at LauncherAMUtils.java:[line 68] +1 There are no new bugs found in [sharelib/distcp]. -1 There are [5] new bugs found below threshold in [sharelib/spark] that must be fixed. You can find the FindBugs diff here (look for the red and orange ones): sharelib/spark/findbugs-new.html The most important FindBugs errors are: At SparkMain.java:[line 133]: java/io/File.<init>(Ljava/io/File;Ljava/lang/String;)V reads a file whose location might be specified by user input java/io/File.<init>(Ljava/lang/String;)V reads a file whose location might be specified by user input: At SparkMain.java:[line 133] At SparkMain.java:[line 166]: At SparkMain.java:[line 173] The regular expression "^spark-assembly((?:(-|_|(\\d+\\.))\\d+(?:\\.\\d+)*))*\\.jar$" is vulnerable to a denial of service attack (ReDOS): At SparkMain.java:[line 172] The regular expression "^spark-yarn((?:(-|_|(\\d+\\.))\\d+(?:\\.\\d+)*))*\\.jar$" is vulnerable to a denial of service attack (ReDOS): At SparkMain.java:[line 48] -1 There are [60] new bugs found below threshold in [client] that must be fixed, listing only the first [5] ones. You can find the FindBugs diff here (look for the red and orange ones): client/findbugs-new.html The top [5] most important FindBugs errors are: At CLIParser.java:[line 60]: 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 83-107]: Should org.apache.oozie.cli.CLIParser$Command be a _static_ inner class? Obligation to clean up resource created at OozieCLI.java:[line 862] is not discharged: org.apache.oozie.cli.OozieCLI.getConfiguration(OozieClient, CommandLine) may fail to clean up java.io.InputStream Path continues at OozieCLI.java:[line 872]: Path continues at OozieCLI.java:[line 868] At OozieCLI.java:[line 859]: org.apache.oozie.cli.OozieCLI.getConfiguration(OozieClient, CommandLine) may fail to close stream +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 Tests run: 2914 +1 DISTRO +1 distro tarball builds with the patch ---------------------------- -1 Overall result, please check the reported -1(s) There is at least one warning, please check The full output of the test-patch run is available at https://builds.apache.org/job/PreCommit-OOZIE-Build/740/ Adding comment to JIRA % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 11740 0 201 100 11539 340 19530 --:--:-- --:--:-- --:--:-- 19557 {"errorMessages":["Unexpected character ('^' (code 94)): was expecting comma to separate OBJECT entries\n at [Source: org.apache.catalina.connector.CoyoteInputStream@42e25c04; line: 1, column: 9562]"]} test-patch exit code: 1 Build step 'Execute shell' marked build as failure [description-setter] Description set: OOZIE-3324 Archiving artifacts [Fast Archiver] Compressed 2.20 MB of artifacts by 63.9% relative to #738 Recording test results Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ################################################################################### ############################## FAILED TESTS (if any) ############################## All tests passed