[
https://issues.apache.org/jira/browse/OOZIE-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937447#comment-15937447
]
Hadoop QA commented on OOZIE-2812:
----------------------------------
Testing JIRA OOZIE-2812
Cleaning local git workspace
----------------------------
{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:red}-1 RAW_PATCH_ANALYSIS{color}
. {color:green}+1{color} the patch does not introduce any @author tags
. {color:green}+1{color} the patch does not introduce any tabs
. {color:green}+1{color} the patch does not introduce any trailing spaces
. {color:red}-1{color} the patch contains 1 line(s) longer than 132
characters
. {color:green}+1{color} the patch does adds/modifies 2 testcase(s)
{color:green}+1 RAT{color}
. {color:green}+1{color} the patch does not seem to introduce new RAT
warnings
{color:green}+1 JAVADOC{color}
. {color:green}+1{color} the patch does not seem to introduce new Javadoc
warnings
{color:green}+1 COMPILE{color}
. {color:green}+1{color} HEAD compiles
. {color:green}+1{color} patch compiles
. {color:green}+1{color} the patch does not seem to introduce new javac
warnings
{color:red}-1{color} There are [444] new bugs found below threshold in total
that must be fixed.
. {color:red}-1{color} There are [98] 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 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)
. Obligation to clean up resource created at OozieCLI.java:[line 848] 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 858]: Path continues at
OozieCLI.java:[line 854]
. Obligation to clean up resource created at OozieCLI.java:[line 845] is not
discharged: org.apache.oozie.cli.OozieCLI.getConfiguration(OozieClient,
CommandLine) may fail to clean up java.io.Reader
. Path continues at OozieCLI.java:[line 858]: Path continues at
OozieCLI.java:[line 854]
. At OozieCLI.java:[line 845]:
org.apache.oozie.cli.OozieCLI.getConfiguration(OozieClient, CommandLine) may
fail to close stream
. At OozieCLI.java:[line 2178]: Exception is caught when Exception is not
thrown in org.apache.oozie.cli.OozieCLI.validateCommandV41(CommandLine)
. At OozieCLI.java:[line 1407]: Format-string method String.format(String,
Object[]) called with format string "%-43s%-10s%-37s%-10s%-21s%-21s" wants 6
arguments but is given 7 in
org.apache.oozie.cli.OozieCLI.printCoordJob(CoordinatorJob, String, boolean)
. At AuthOozieClient.java:[line 218]: Found reliance on default encoding in
org.apache.oozie.client.AuthOozieClient.readAuthToken(): new
java.io.FileReader(File)
. At AuthOozieClient.java:[line 248]: Found reliance on default encoding in
org.apache.oozie.client.AuthOozieClient.writeAuthToken(AuthenticatedURL$Token):
new java.io.FileWriter(File)
. At AuthOozieClient.java:[line 285]: Load of known null value in
org.apache.oozie.client.AuthOozieClient.getAuthenticator()
. At AuthOozieClient.java:[line 326]: Load of known null value in
org.apache.oozie.client.AuthOozieClient.getAuthenticator()
. Obligation to clean up resource created at AuthOozieClient.java:[line 248]
is not discharged:
org.apache.oozie.client.AuthOozieClient.writeAuthToken(AuthenticatedURL$Token)
may fail to clean up java.io.Writer on checked exception
. Path continues at AuthOozieClient.java:[line 257]: Path continues at
AuthOozieClient.java:[line 249]
. Path continues at AuthOozieClient.java:[line 264]: Path continues at
AuthOozieClient.java:[line 261]
. At AuthOozieClient.java:[line 129]: Exceptional return value of
java.io.File.delete() ignored in
org.apache.oozie.client.AuthOozieClient.createConnection(URL, String)
. Another occurrence at AuthOozieClient.java:[line 159]: Another occurrence
at AuthOozieClient.java:[line 143]
. Exceptional return value of java.io.File.delete() ignored in
org.apache.oozie.client.AuthOozieClient.writeAuthToken(AuthenticatedURL$Token):
Another occurrence at AuthOozieClient.java:[line 174]
. Exceptional return value of java.io.File.setWritable(boolean, boolean)
ignored in
org.apache.oozie.client.AuthOozieClient.writeAuthToken(AuthenticatedURL$Token):
At AuthOozieClient.java:[line 261]
. Found reliance on default encoding in
org.apache.oozie.client.OozieClient.getSupportedProtocolVersions(): new
java.io.InputStreamReader(InputStream): At AuthOozieClient.java:[line 255]
. Result of integer multiplication cast to long in
org.apache.oozie.client.OozieClient.pollJob(String, int, int, boolean): At
OozieClient.java:[line 412]
. Inconsistent synchronization of
org.apache.oozie.client.OozieClient.protocolUrl; locked 50% of time: At
OozieClient.java:[line 2453]
. Unsynchronized access at OozieClient.java:[line 487]: Unsynchronized
access at OozieClient.java:[line 312]
. Synchronized access at OozieClient.java:[line 387]: Unsynchronized access
at OozieClient.java:[line 511]
. Synchronized access at OozieClient.java:[line 394]: Synchronized access at
OozieClient.java:[line 390]
. Unsynchronized access at OozieClient.java:[line 342]: Inconsistent
synchronization of org.apache.oozie.client.OozieClient.supportedVersions;
locked 60% of time
. Unsynchronized access at OozieClient.java:[line 343]: Unsynchronized
access at OozieClient.java:[line 345]
. Synchronized access at OozieClient.java:[line 369]: Unsynchronized access
at OozieClient.java:[line 348]
. Synchronized access at OozieClient.java:[line 373]: Synchronized access at
OozieClient.java:[line 370]
. Synchronized access at OozieClient.java:[line 373]: Synchronized access at
OozieClient.java:[line 386]
. Synchronized access at OozieClient.java:[line 373]: Synchronized access at
OozieClient.java:[line 389]
. Synchronized access at OozieClient.java:[line 380]: Synchronized access at
OozieClient.java:[line 393]
. At OozieClient.java:[line 1691]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$BulkResponseStatus.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1500]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$BundleJobInfo.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1665]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$BundleJobsStatus.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1520]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$CoordActionInfo.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1718]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$CoordActionsKill.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1741]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$CoordIgnore.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1453]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$CoordJobInfo.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1638]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$CoordJobsStatus.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1771]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$CoordRerun.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2166]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$GetBuildVersion.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2905]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$GetInstrumentation.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2672]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$GetMetrics.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2530]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$GetQueueDump.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2124]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$GetSystemMode.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[lines 2927-3065]: Should
org.apache.oozie.client.OozieClient$Instrumentation be a _static_ inner class?
. At OozieClient.java:[line 2990]: Boxing/unboxing to parse a primitive new
org.apache.oozie.client.OozieClient$Instrumentation$Timer(OozieClient$Instrumentation,
JSONObject)
. Another occurrence at OozieClient.java:[line 2992]: Another occurrence at
OozieClient.java:[line 2991]
. Another occurrence at OozieClient.java:[line 2995]: Another occurrence at
OozieClient.java:[line 2994]
. Another occurrence at OozieClient.java:[line 2997]: Another occurrence at
OozieClient.java:[line 2996]
. At OozieClient.java:[line 1003]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JMSInfo.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1216]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JMSTopic.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2064]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JobIdAction.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 984]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JobInfo.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1365]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JobMetadata.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 717]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JobSubmit.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 772]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JobsAction.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 1611]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$JobsStatus.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2267]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$ListShareLib.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 610]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$MapClientCallable.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 614]:
org.apache.oozie.client.OozieClient$MapClientCallable.call(HttpURLConnection)
makes inefficient use of keySet iterator instead of entrySet iterator
. At OozieClient.java:[lines 2695-2738]: Should
org.apache.oozie.client.OozieClient$Metrics be a _static_ inner class?
. At OozieClient.java:[line 2820]: Boxing/unboxing to parse a primitive new
org.apache.oozie.client.OozieClient$Metrics$Histogram(OozieClient$Metrics,
JSONObject)
. At OozieClient.java:[line 2041]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$SlaInfo.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2041]:
org.apache.oozie.client.OozieClient$SlaInfo.call(HttpURLConnection) may fail to
close stream
. At OozieClient.java:[line 2507]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$Status.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 833]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$UpdateCoord.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2225]: Found reliance on default encoding in
org.apache.oozie.client.OozieClient$UpdateSharelib.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream)
. At OozieClient.java:[line 2232]:
org.apache.oozie.client.OozieClient$UpdateSharelib.call(HttpURLConnection)
makes inefficient use of keySet iterator instead of entrySet iterator
. Found reliance on default encoding in
org.apache.oozie.client.OozieClient$ValidateXML.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream): Another occurrence at
OozieClient.java:[line 2241]
. org.apache.oozie.client.OozieClient$ValidateXML.call(HttpURLConnection)
may fail to clean up java.io.InputStream: At OozieClient.java:[line 2199]
. Path continues at OozieClient.java:[line 2192]: Obligation to clean up
resource created at OozieClient.java:[line 2191] is not discharged
. Path continues at OozieClient.java:[line 2194]: Path continues at
OozieClient.java:[line 2193]
. Path continues at OozieClient.java:[line 2203]: Path continues at
OozieClient.java:[line 2198]
. org.apache.oozie.client.OozieClient$ValidateXML.call(HttpURLConnection)
may fail to close stream: Path continues at OozieClient.java:[line 2204]
. Found reliance on default encoding in
org.apache.oozie.client.OozieClient$WfsForCoordAction.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream): At OozieClient.java:[line 2191]
. Found reliance on default encoding in
org.apache.oozie.client.OozieClient$WorkflowActionInfo.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream): At OozieClient.java:[line 1474]
. Found reliance on default encoding in
org.apache.oozie.client.OozieClient$WorkflowActionRetriesInfo.call(HttpURLConnection):
new java.io.InputStreamReader(InputStream): At OozieClient.java:[line 1023]
. Primitive boxed just to call toString in
org.apache.oozie.client.XOozieClient.setStrings(Properties, String, String[]):
At OozieClient.java:[line 1044]
. Found reliance on default encoding in
org.apache.oozie.client.XOozieClient.readScript(String): new
java.io.FileReader(String): At XOozieClient.java:[line 118]
. org.apache.oozie.client.XOozieClient.setStrings(Properties, String,
String[]) invokes inefficient new Integer(int) constructor; use
Integer.valueOf(int) instead: At XOozieClient.java:[line 90]
. Possible null pointer dereference of br in
org.apache.oozie.client.XOozieClient.readScript(String) on exception path: At
XOozieClient.java:[line 118]
. Null value at XOozieClient.java:[line 88]: Dereferenced at
XOozieClient.java:[line 100]
. Found reliance on default encoding in
org.apache.oozie.client.XOozieClient$HttpJobSubmit.call(HttpURLConnection): new
java.io.InputStreamReader(InputStream): Known null at XOozieClient.java:[line
90]
. org.apache.oozie.client.event.JobEvent.getEndTime() may expose internal
representation by returning JobEvent.endTime: At XOozieClient.java:[line 282]
. org.apache.oozie.client.event.JobEvent.getStartTime() may expose internal
representation by returning JobEvent.startTime: At JobEvent.java:[line 137]
. org.apache.oozie.client.event.JobEvent.setEndTime(Date) may expose
internal representation by storing an externally mutable object into
JobEvent.endTime: At JobEvent.java:[line 129]
. org.apache.oozie.client.event.JobEvent.setStartTime(Date) may expose
internal representation by storing an externally mutable object into
JobEvent.startTime: At JobEvent.java:[line 141]
.
org.apache.oozie.client.event.message.CoordinatorActionMessage.getNominalTime()
may expose internal representation by returning
CoordinatorActionMessage.nominalTime: At JobEvent.java:[line 133]
. new
org.apache.oozie.client.event.message.CoordinatorActionMessage(JobEvent$EventStatus,
String, String, Date, Date, Date, CoordinatorAction$Status, String, String,
String, String, String) may expose internal representation by storing an
externally mutable object into CoordinatorActionMessage.nominalTime: At
CoordinatorActionMessage.java:[line 111]
.
org.apache.oozie.client.event.message.CoordinatorActionMessage.setNominalTime(Date)
may expose internal representation by storing an externally mutable object
into CoordinatorActionMessage.nominalTime: At
CoordinatorActionMessage.java:[line 75]
. org.apache.oozie.client.event.message.JobMessage.getEndTime() may expose
internal representation by returning JobMessage.endTime: At
CoordinatorActionMessage.java:[line 103]
. org.apache.oozie.client.event.message.JobMessage.getStartTime() may expose
internal representation by returning JobMessage.startTime: At
JobMessage.java:[line 166]
. new org.apache.oozie.client.event.message.JobMessage(JobEvent$EventStatus,
AppType, String, String, Date, Date, String, String) may expose internal
representation by storing an externally mutable object into JobMessage.endTime:
At JobMessage.java:[line 148]
. new org.apache.oozie.client.event.message.JobMessage(JobEvent$EventStatus,
AppType, String, String, Date, Date, String, String) may expose internal
representation by storing an externally mutable object into
JobMessage.startTime: At JobMessage.java:[line 87]
. org.apache.oozie.client.event.message.JobMessage.setEndTime(Date) may
expose internal representation by storing an externally mutable object into
JobMessage.endTime: At JobMessage.java:[line 84]
. org.apache.oozie.client.event.message.JobMessage.setStartTime(Date) may
expose internal representation by storing an externally mutable object into
JobMessage.startTime: At JobMessage.java:[line 157]
. org.apache.oozie.client.event.message.SLAMessage.getActualEndTime() may
expose internal representation by returning SLAMessage.actualEndTime: At
JobMessage.java:[line 139]
. org.apache.oozie.client.event.message.SLAMessage.getActualStartTime() may
expose internal representation by returning SLAMessage.actualStartTime: At
SLAMessage.java:[line 207]
. org.apache.oozie.client.event.message.SLAMessage.getExpectedEndTime() may
expose internal representation by returning SLAMessage.expectedEndTime: At
SLAMessage.java:[line 171]
. org.apache.oozie.client.event.message.SLAMessage.getExpectedStartTime()
may expose internal representation by returning SLAMessage.expectedStartTime:
At SLAMessage.java:[line 189]
. org.apache.oozie.client.event.message.SLAMessage.getNominalTime() may
expose internal representation by returning SLAMessage.nominalTime: At
SLAMessage.java:[line 153]
. new org.apache.oozie.client.event.message.SLAMessage(SLAEvent$EventStatus,
SLAEvent$SLAStatus, AppType, String, String, String, String, Date, Date, Date,
Date, Date, long, long, String, String) may expose internal representation by
storing an externally mutable object into SLAMessage.actualEndTime: At
SLAMessage.java:[line 135]
. new org.apache.oozie.client.event.message.SLAMessage(SLAEvent$EventStatus,
SLAEvent$SLAStatus, AppType, String, String, String, String, Date, Date, Date,
Date, Date, long, long, String, String) may expose internal representation by
storing an externally mutable object into SLAMessage.actualStartTime: At
SLAMessage.java:[line 86]
. new org.apache.oozie.client.event.message.SLAMessage(SLAEvent$EventStatus,
SLAEvent$SLAStatus, AppType, String, String, String, String, Date, Date, Date,
Date, Date, long, long, String, String) may expose internal representation by
storing an externally mutable object into SLAMessage.expectedEndTime: At
SLAMessage.java:[line 84]
. new org.apache.oozie.client.event.message.SLAMessage(SLAEvent$EventStatus,
SLAEvent$SLAStatus, AppType, String, String, String, String, Date, Date, Date,
Date, Date, long, long, String, String) may expose internal representation by
storing an externally mutable object into SLAMessage.expectedStartTime: At
SLAMessage.java:[line 85]
. new org.apache.oozie.client.event.message.SLAMessage(SLAEvent$EventStatus,
SLAEvent$SLAStatus, AppType, String, String, String, String, Date, Date, Date,
Date, Date, long, long, String, String) may expose internal representation by
storing an externally mutable object into SLAMessage.nominalTime: At
SLAMessage.java:[line 83]
. org.apache.oozie.client.event.message.SLAMessage.setActualEndTime(Date)
may expose internal representation by storing an externally mutable object into
SLAMessage.actualEndTime: At SLAMessage.java:[line 82]
. org.apache.oozie.client.event.message.SLAMessage.setActualStartTime(Date)
may expose internal representation by storing an externally mutable object into
SLAMessage.actualStartTime: At SLAMessage.java:[line 216]
. org.apache.oozie.client.event.message.SLAMessage.setExpectedEndTime(Date)
may expose internal representation by storing an externally mutable object into
SLAMessage.expectedEndTime: At SLAMessage.java:[line 180]
.
org.apache.oozie.client.event.message.SLAMessage.setExpectedStartTime(Date) may
expose internal representation by storing an externally mutable object into
SLAMessage.expectedStartTime: At SLAMessage.java:[line 198]
. org.apache.oozie.client.event.message.SLAMessage.setNominalTime(Date) may
expose internal representation by storing an externally mutable object into
SLAMessage.nominalTime: At SLAMessage.java:[line 162]
.
org.apache.oozie.client.rest.JsonToBean$JsonInvocationHandler.parseType(Class,
Object) invokes inefficient new Integer(int) constructor; use
Integer.valueOf(int) instead: At SLAMessage.java:[line 144]
.
org.apache.oozie.client.rest.JsonToBean$JsonInvocationHandler.parseType(Class,
Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long)
instead: At JsonToBean.java:[line 258]
. At JsonToBean.java:[line 261]
. {color:red}-1{color} There are [327] new bugs found below threshold in
[client] that must be fixed.
. You can find the FindBugs diff here (look for the red and orange ones):
client/findbugs-new.html
. The most important FindBugs errors are:
. At BinaryBlob.java:[line 68]: org.apache.oozie.BinaryBlob.getBytes() may
expose internal representation by returning BinaryBlob.bytes
. org.apache.oozie.BinaryBlob.getRawBlob() may expose internal
representation by returning BinaryBlob.rawBlob: Another occurrence at
BinaryBlob.java:[line 88]
. Another occurrence at BinaryBlob.java:[line 116]: At BinaryBlob.java:[line
99]
. At BinaryBlob.java:[line 43]: new org.apache.oozie.BinaryBlob(byte[],
boolean) may expose internal representation by storing an externally mutable
object into BinaryBlob.bytes
. At BinaryBlob.java:[line 47]: new org.apache.oozie.BinaryBlob(byte[],
boolean) may expose internal representation by storing an externally mutable
object into BinaryBlob.rawBlob
. At BinaryBlob.java:[line 57]: org.apache.oozie.BinaryBlob.setBytes(byte[])
may expose internal representation by storing an externally mutable object into
BinaryBlob.bytes
. In BundleActionBean.java: org.apache.oozie.BundleActionBean.pcIsDetached()
has Boolean return type and returns explicit null
. In BundleJobBean.java: org.apache.oozie.BundleJobBean.pcIsDetached() has
Boolean return type and returns explicit null
. In CoordinatorActionBean.java:
org.apache.oozie.CoordinatorActionBean.pcIsDetached() has Boolean return type
and returns explicit null
. At CoordinatorActionBean.java:[lines 494-498]: Switch statement found in
org.apache.oozie.CoordinatorActionBean.isTerminalWithFailure() where default
case is missing
. At CoordinatorEngine.java:[line 106]:
org.apache.oozie.CoordinatorEngine.VALID_JOB_FILTERS should be package protected
. In CoordinatorJobBean.java:
org.apache.oozie.CoordinatorJobBean.pcIsDetached() has Boolean return type and
returns explicit null
. Dereferenced at DagEngine.java:[line 176]: Possible null pointer
dereference of submit in
org.apache.oozie.DagEngine.submitHttpJob(Configuration, String)
. Known null at DagEngine.java:[line 172]: Null value at
DagEngine.java:[line 162]
. At StringBlob.java:[line 119]: Found reliance on default encoding in
org.apache.oozie.StringBlob.getRawBlob(): String.getBytes()
. At StringBlob.java:[line 104]: org.apache.oozie.StringBlob.getRawBlob()
may expose internal representation by returning StringBlob.rawBlob
. new org.apache.oozie.StringBlob(byte[]) may expose internal representation
by storing an externally mutable object into StringBlob.rawBlob: Another
occurrence at StringBlob.java:[line 121]
. org.apache.oozie.WorkflowActionBean.pcIsDetached() has Boolean return type
and returns explicit null: At StringBlob.java:[line 43]
. Possible null pointer dereference of status in
org.apache.oozie.WorkflowActionBean.setEndData(WorkflowAction$Status, String):
In WorkflowActionBean.java
. Known null at WorkflowActionBean.java:[line 600]: Dereferenced at
WorkflowActionBean.java:[line 601]
. At WorkflowActionBean.java:[lines 412-416]: Switch statement found in
org.apache.oozie.WorkflowActionBean.isTerminalWithFailure() where default case
is missing
. In WorkflowJobBean.java: org.apache.oozie.WorkflowJobBean.pcIsDetached()
has Boolean return type and returns explicit null
. At WorkflowJobBean.java:[line 277]: Useless control flow in
org.apache.oozie.WorkflowJobBean.readFields(DataInput)
. At ActionExecutor.java:[line 354]: Found reliance on default encoding in
org.apache.oozie.action.ActionExecutor.registerError(String,
ActionExecutorException$ErrorType, String):
java.io.ByteArrayOutputStream.toString()
. At ActionExecutor.java:[line 353]: Found reliance on default encoding in
org.apache.oozie.action.ActionExecutor.registerError(String,
ActionExecutorException$ErrorType, String): new
java.io.PrintStream(OutputStream)
. At EmailActionExecutor.java:[line 123]: Dead store to ccs in
org.apache.oozie.action.email.EmailActionExecutor.validateAndMail(ActionExecutor$Context,
Element)
. At EmailActionExecutor.java:[line 122]: Dead store to tos in
org.apache.oozie.action.email.EmailActionExecutor.validateAndMail(ActionExecutor$Context,
Element)
. At EmailActionExecutor.java:[line 90]: Unread field:
org.apache.oozie.action.email.EmailActionExecutor.LOG
. At EmailActionExecutor.java:[lines 344-370]: Should
org.apache.oozie.action.email.EmailActionExecutor$URIDataSource be a _static_
inner class?
. At CredentialsProvider.java:[lines 97-102]: The method name
org.apache.oozie.action.hadoop.CredentialsProvider.Trim(String) doesn't start
with a lower case letter
. At DistcpActionExecutor.java:[line 81]:
org.apache.oozie.action.hadoop.DistcpActionExecutor.getClassNamebyType(String)
invokes inefficient new String(String) constructor
. At DistcpActionExecutor.java:[lines 95-100]: The method name
org.apache.oozie.action.hadoop.DistcpActionExecutor.Trim(String) doesn't start
with a lower case letter
. At FsActionExecutor.java:[line 233]: Exception is caught when Exception is
not thrown in
org.apache.oozie.action.hadoop.FsActionExecutor.doOperations(ActionExecutor$Context,
Element)
. At FsELFunctions.java:[line 46]: Dead store to group in
org.apache.oozie.action.hadoop.FsELFunctions.getFileSystem(URI)
. At JavaActionExecutor.java:[line 1408]: Dead store to group in
org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(ActionExecutor$Context,
JobConf)
. Dereferenced at JavaActionExecutor.java:[line 632]: Possible null pointer
dereference of uri in
org.apache.oozie.action.hadoop.JavaActionExecutor.addToCache(Configuration,
Path, String, boolean) on exception path
. Known null at JavaActionExecutor.java:[line 593]: Null value at
JavaActionExecutor.java:[line 591]
. Redundant null check at JavaActionExecutor.java:[line 1240]: Redundant
nullcheck of credPropertiesMap, which is known to be non-null in
org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialPropertyToActionConf(ActionExecutor$Context,
WorkflowAction, Configuration)
. At JavaActionExecutor.java:[line 631]: Exception is caught when Exception
is not thrown in
org.apache.oozie.action.hadoop.JavaActionExecutor.addToCache(Configuration,
Path, String, boolean)
. At JavaActionExecutor.java:[line 1032]: Exception is caught when Exception
is not thrown in
org.apache.oozie.action.hadoop.JavaActionExecutor.createLauncherConf(FileSystem,
ActionExecutor$Context, WorkflowAction, Element, Configuration)
. At JavaActionExecutor.java:[line 175]: Write to static field
org.apache.oozie.action.hadoop.JavaActionExecutor.maxActionOutputLen from
instance method
org.apache.oozie.action.hadoop.JavaActionExecutor.initActionType()
. At JavaActionExecutor.java:[line 177]: Write to static field
org.apache.oozie.action.hadoop.JavaActionExecutor.maxExternalStatsSize from
instance method
org.apache.oozie.action.hadoop.JavaActionExecutor.initActionType()
. Write to static field
org.apache.oozie.action.hadoop.JavaActionExecutor.maxFSGlobMax from instance
method org.apache.oozie.action.hadoop.JavaActionExecutor.initActionType():
Another occurrence at JavaActionExecutor.java:[line 178]
.
org.apache.oozie.action.hadoop.JavaActionExecutor.setCredentialPropertyToActionConf(ActionExecutor$Context,
WorkflowAction, Configuration) makes inefficient use of keySet iterator
instead of entrySet iterator: At JavaActionExecutor.java:[line 180]
.
org.apache.oozie.action.hadoop.JavaActionExecutor.updateConfForUberMode(Configuration)
makes inefficient use of keySet iterator instead of entrySet iterator: At
JavaActionExecutor.java:[line 1242]
. Another occurrence at JavaActionExecutor.java:[line 370]: At
JavaActionExecutor.java:[line 345]
. At LauncherMapperHelper.java:[line 69]: Found reliance on default encoding
in
org.apache.oozie.action.hadoop.LauncherMapperHelper.getRecoveryId(Configuration,
Path, String): new java.io.InputStreamReader(InputStream)
. At LauncherMapperHelper.java:[line 181]: Found reliance on default
encoding in org.apache.oozie.action.hadoop.LauncherMapperHelper.getTag(String):
String.getBytes()
. At LauncherMapperHelper.java:[line 292]: Found reliance on default
encoding in org.apache.oozie.action.hadoop.LauncherMapperHelper$1.run(): new
java.io.InputStreamReader(InputStream)
. Another occurrence at LauncherMapperHelper.java:[line 306]: Another
occurrence at LauncherMapperHelper.java:[line 298]
. Another occurrence at LauncherMapperHelper.java:[line 320]: Another
occurrence at LauncherMapperHelper.java:[line 314]
. At MapReduceActionExecutor.java:[line 214]: Found reliance on default
encoding in
org.apache.oozie.action.hadoop.MapReduceActionExecutor.end(ActionExecutor$Context,
WorkflowAction): String.getBytes()
. At SqoopActionExecutor.java:[line 184]: Found reliance on default encoding
in
org.apache.oozie.action.hadoop.SqoopActionExecutor.end(ActionExecutor$Context,
WorkflowAction): String.getBytes()
. At SqoopActionExecutor.java:[line 197]: Exception is caught when Exception
is not thrown in
org.apache.oozie.action.hadoop.SqoopActionExecutor.end(ActionExecutor$Context,
WorkflowAction)
. At SubWorkflowActionExecutor.java:[line 87]: Dead store to group in
org.apache.oozie.action.oozie.SubWorkflowActionExecutor.getWorkflowClient(ActionExecutor$Context,
String)
. At SubWorkflowActionExecutor.java:[line 245]: Exception is caught when
Exception is not thrown in
org.apache.oozie.action.oozie.SubWorkflowActionExecutor.start(ActionExecutor$Context,
WorkflowAction)
. At SshActionExecutor.java:[line 289]: Boxing/unboxing to parse a primitive
org.apache.oozie.action.ssh.SshActionExecutor.checkIfRunning(String,
ActionExecutor$Context, WorkflowAction)
. At SshActionExecutor.java:[line 684]: Found reliance on default encoding
in org.apache.oozie.action.ssh.SshActionExecutor.drainBuffers(Process,
StringBuffer, StringBuffer, int): new java.io.InputStreamReader(InputStream)
. Found reliance on default encoding in
org.apache.oozie.action.ssh.SshActionExecutor.initSshScripts(): new
java.io.FileWriter(String): Another occurrence at SshActionExecutor.java:[line
685]
. Another occurrence at SshActionExecutor.java:[line 504]: At
SshActionExecutor.java:[line 502]
. Dereferenced at SshActionExecutor.java:[line 486]: Possible null pointer
dereference of ps in
org.apache.oozie.action.ssh.SshActionExecutor.getReturnValue(String) on
exception path
. Known null at SshActionExecutor.java:[line 478]: Null value at
SshActionExecutor.java:[line 476]
. At SshActionExecutor.java:[line 296]: Exception is caught when Exception
is not thrown in
org.apache.oozie.action.ssh.SshActionExecutor.checkIfRunning(String,
ActionExecutor$Context, WorkflowAction)
. At SshActionExecutor.java:[line 497]: Exceptional return value of
java.io.File.mkdirs() ignored in
org.apache.oozie.action.ssh.SshActionExecutor.initSshScripts()
. At SshActionExecutor.java:[line 99]: Write to static field
org.apache.oozie.action.ssh.SshActionExecutor.maxLen from instance method
org.apache.oozie.action.ssh.SshActionExecutor.initActionType()
. At SshActionExecutor.java:[line 100]: Write to static field
org.apache.oozie.action.ssh.SshActionExecutor.allowSshUserAtHost from instance
method org.apache.oozie.action.ssh.SshActionExecutor.initActionType()
. At JsonSLAEvent.java:[line 203]:
org.apache.oozie.client.rest.JsonSLAEvent.getExpectedEnd() may expose internal
representation by returning JsonSLAEvent.expectedEnd
. At JsonSLAEvent.java:[line 195]:
org.apache.oozie.client.rest.JsonSLAEvent.getExpectedStart() may expose
internal representation by returning JsonSLAEvent.expectedStart
. At JsonSLAEvent.java:[line 211]:
org.apache.oozie.client.rest.JsonSLAEvent.getStatusTimestamp() may expose
internal representation by returning JsonSLAEvent.statusTimestamp
. At JsonSLAEvent.java:[line 207]:
org.apache.oozie.client.rest.JsonSLAEvent.setExpectedEnd(Date) may expose
internal representation by storing an externally mutable object into
JsonSLAEvent.expectedEnd
. At JsonSLAEvent.java:[line 199]:
org.apache.oozie.client.rest.JsonSLAEvent.setExpectedStart(Date) may expose
internal representation by storing an externally mutable object into
JsonSLAEvent.expectedStart
. At JsonSLAEvent.java:[line 215]:
org.apache.oozie.client.rest.JsonSLAEvent.setStatusTimestamp(Date) may expose
internal representation by storing an externally mutable object into
JsonSLAEvent.statusTimestamp
. In JsonSLAEvent.java:
org.apache.oozie.client.rest.JsonSLAEvent.pcIsDetached() has Boolean return
type and returns explicit null
. In StartTransitionXCommand.java: The method name
org.apache.oozie.command.StartTransitionXCommand.StartChildren() doesn't start
with a lower case letter
. In XCommand.java: org.apache.oozie.command.XCommand.eventService should be
package protected
. At XCommand.java:[line 98]: Write to static field
org.apache.oozie.command.XCommand.eventService from instance method new
org.apache.oozie.command.XCommand(String, String, int)
. At BundleStartXCommand.java:[lines 131-135]: The method name
org.apache.oozie.command.bundle.BundleStartXCommand.StartChildren() doesn't
start with a lower case letter
. At BundleStatusUpdateXCommand.java:[line 110]: Exception is caught when
Exception is not thrown in
org.apache.oozie.command.bundle.BundleStatusUpdateXCommand.execute()
. At BundleSubmitXCommand.java:[line 154]: Dead store to endTime in
org.apache.oozie.command.bundle.BundleSubmitXCommand.submit()
. At BundleSubmitXCommand.java:[line 322]: Found reliance on default
encoding in
org.apache.oozie.command.bundle.BundleSubmitXCommand.readDefinition(String):
new java.io.InputStreamReader(InputStream)
. At BundleSubmitXCommand.java:[line 177]: Exception is caught when
Exception is not thrown in
org.apache.oozie.command.bundle.BundleSubmitXCommand.submit()
. At BundleUnpauseXCommand.java:[line 35]: Unread field:
org.apache.oozie.command.bundle.BundleUnpauseXCommand.jpaService
. At CoordActionNotificationXCommand.java:[line 45]: Unread field:
org.apache.oozie.command.coord.CoordActionNotificationXCommand.retries
. At CoordMaterializeTransitionXCommand.java:[line 112]: new
org.apache.oozie.command.coord.CoordMaterializeTransitionXCommand(CoordinatorJobBean,
int, Date, Date) may expose internal representation by storing an externally
mutable object into CoordMaterializeTransitionXCommand.endMatdTime
. At CoordMaterializeTransitionXCommand.java:[line 111]: new
org.apache.oozie.command.coord.CoordMaterializeTransitionXCommand(CoordinatorJobBean,
int, Date, Date) may expose internal representation by storing an externally
mutable object into CoordMaterializeTransitionXCommand.startMatdTime
. At CoordSLAChangeXCommand.java:[line 64]:
org.apache.oozie.command.coord.CoordSLAChangeXCommand.executeSlaCommand() makes
inefficient use of keySet iterator instead of entrySet iterator
. At CoordSubmitXCommand.java:[line 314]: Dead store to jobConf in
org.apache.oozie.command.coord.CoordSubmitXCommand.getDryRun(CoordinatorJobBean)
. At CoordSubmitXCommand.java:[line 1193]: Found reliance on default
encoding in
org.apache.oozie.command.coord.CoordSubmitXCommand.readDefinition(String): new
java.io.InputStreamReader(InputStream)
. At CoordSubmitXCommand.java:[line 735]: Comparison of String objects using
== or != in
org.apache.oozie.command.coord.CoordSubmitXCommand.resolveInitial(Configuration,
String, CoordinatorJobBean)
. Field CoordSubmitXCommand.dryrun masks field in superclass
org.apache.oozie.command.XCommand: Another occurrence at
CoordSubmitXCommand.java:[line 788]
.
org.apache.oozie.command.coord.CoordSubmitXCommand.resolveTagContents(String,
Element, ELEvaluator) concatenates strings using + in a loop: In
CoordSubmitXCommand.java
. Unread field:
org.apache.oozie.command.coord.CoordSubmitXCommand.COORD_INPUT_EVENTS; should
this field be static?: At CoordSubmitXCommand.java:[line 1037]
. Unread field:
org.apache.oozie.command.coord.CoordSubmitXCommand.COORD_INPUT_EVENTS_DATA_IN;
should this field be static?: At CoordSubmitXCommand.java:[line 111]
. Unread field:
org.apache.oozie.command.coord.CoordSubmitXCommand.COORD_OUTPUT_EVENTS; should
this field be static?: At CoordSubmitXCommand.java:[line 113]
. Unread field:
org.apache.oozie.command.coord.CoordSubmitXCommand.COORD_OUTPUT_EVENTS_DATA_OUT;
should this field be static?: At CoordSubmitXCommand.java:[line 112]
. Found reliance on default encoding in
org.apache.oozie.command.coord.CoordUpdateXCommand.getDiffinGitFormat(String,
String): java.io.ByteArrayOutputStream.toString(): At
CoordSubmitXCommand.java:[line 114]
. Found reliance on default encoding in
org.apache.oozie.command.coord.CoordUpdateXCommand.getDiffinGitFormat(String,
String): String.getBytes(): At CoordUpdateXCommand.java:[line 203]
. Another occurrence at CoordUpdateXCommand.java:[line 199]: At
CoordUpdateXCommand.java:[line 198]
. At SLAJobEventXCommand.java:[line 41]: Unread field:
org.apache.oozie.command.sla.SLAJobEventXCommand.jpaService
. At SLAJobHistoryXCommand.java:[line 106]: Nullcheck of sla at line 106 of
value previously dereferenced in
org.apache.oozie.command.sla.SLAJobHistoryXCommand.updateSLASummary(String,
Date, Date, String)
. Switch statement found in
org.apache.oozie.command.wf.ActionCheckXCommand.execute() where default case is
missing: Redundant null check at SLAJobHistoryXCommand.java:[line 110]
. Load of known null value in
org.apache.oozie.command.wf.ActionXCommand$ForkedActionExecutorContext.setVar(String,
String): At ActionCheckXCommand.java:[lines 210-226]
. Dead store to oldVars in
org.apache.oozie.command.wf.ReRunXCommand.copyActionData(WorkflowInstance,
WorkflowInstance): At ActionXCommand.java:[line 566]
. org.apache.oozie.command.wf.ReRunXCommand.copyActionData(WorkflowInstance,
WorkflowInstance) makes inefficient use of keySet iterator instead of entrySet
iterator: At ReRunXCommand.java:[line 378]
. Exception is caught when Exception is not thrown in
org.apache.oozie.command.wf.SignalXCommand.startForkedActions(List): At
ReRunXCommand.java:[line 384]
. org.apache.oozie.command.wf.SignalXCommand.startForkedActions(List) makes
inefficient use of keySet iterator instead of entrySet iterator: At
SignalXCommand.java:[line 521]
. Public static org.apache.oozie.compression.CodecFactory.getHeaderBytes()
may expose internal representation by returning CodecFactory.headerBytes: At
SignalXCommand.java:[line 494]
.
org.apache.oozie.compression.CodecFactory.getDeCompressionCodec(DataInputStream)
ignores result of java.io.DataInputStream.read(byte[], int, int): At
CodecFactory.java:[line 170]
.
org.apache.oozie.coord.CoordELEvaluator.createELEvaluatorForDataEcho(Configuration,
String, HashMap) makes inefficient use of keySet iterator instead of entrySet
iterator: At CodecFactory.java:[line 135]
. Redundant nullcheck of replace, which is known to be non-null in
org.apache.oozie.coord.CoordELFunctions.checkIfResolved(String, String): At
CoordELEvaluator.java:[line 88]
. Private method org.apache.oozie.coord.CoordELFunctions.getDSEndOfFlag() is
never called: Redundant null check at CoordELFunctions.java:[line 1305]
. org.apache.oozie.coord.SyncCoordAction.getActualTime() may expose internal
representation by returning SyncCoordAction.actualTime: At
CoordELFunctions.java:[lines 1606-1607]
. org.apache.oozie.coord.SyncCoordAction.getNominalTime() may expose
internal representation by returning SyncCoordAction.nominalTime: At
SyncCoordAction.java:[line 100]
. org.apache.oozie.coord.SyncCoordAction.setActualTime(Date) may expose
internal representation by storing an externally mutable object into
SyncCoordAction.actualTime: At SyncCoordAction.java:[line 86]
. org.apache.oozie.coord.SyncCoordAction.setNominalTime(Date) may expose
internal representation by storing an externally mutable object into
SyncCoordAction.nominalTime: At SyncCoordAction.java:[line 107]
. org.apache.oozie.coord.SyncCoordDataset.getInitInstance() may expose
internal representation by returning SyncCoordDataset.initInstance: At
SyncCoordAction.java:[line 93]
. org.apache.oozie.coord.SyncCoordDataset.setInitInstance(Date) may expose
internal representation by storing an externally mutable object into
SyncCoordDataset.initInstance: At SyncCoordDataset.java:[line 117]
. Non serializable
org.apache.oozie.coord.input.dependency.CoordUnResolvedInputDependency written
to ObjectOutput in
org.apache.oozie.coord.input.dependency.CoordPullInputDependency.writeObject(ObjectOutputStream):
At SyncCoordDataset.java:[line 121]
. Unread field:
org.apache.oozie.coord.input.logic.CoordInputLogicBuilder.bf: At
CoordPullInputDependency.java:[line 101]
. Unread public/protected field:
org.apache.oozie.coord.input.logic.CoordInputLogicBuilder.dependencyBuilder: At
CoordInputLogicBuilder.java:[line 27]
. Exception is caught when Exception is not thrown in
org.apache.oozie.coord.input.logic.CoordInputLogicEvaluatorPhaseOne.combine(AbstractCoordInputDependency,
String[], int, int): At CoordInputLogicBuilder.java:[line 36]
. new
org.apache.oozie.coord.input.logic.CoordInputLogicEvaluatorPhaseTwo(CoordinatorActionBean,
Date) may expose internal representation by storing an externally mutable
object into CoordInputLogicEvaluatorPhaseTwo.actualTime: At
CoordInputLogicEvaluatorPhaseOne.java:[line 211]
. Unread public/protected field:
org.apache.oozie.coord.input.logic.CoordInputLogicEvaluatorPhaseValidate.coordJob:
At CoordInputLogicEvaluatorPhaseTwo.java:[line 47]
. Unused public or protected field:
org.apache.oozie.coord.input.logic.CoordInputLogicEvaluatorPhaseValidate.dependencyMap:
At CoordInputLogicEvaluatorPhaseValidate.java:[line 38]
. Should
org.apache.oozie.coord.input.logic.CoordInputLogicEvaluatorUtil$OozieJexlParser
be a _static_ inner class?: In CoordInputLogicEvaluatorPhaseValidate.java
. Should org.apache.oozie.dependency.HCatURIHandler$HCatClientWithToken be a
_static_ inner class?: At CoordInputLogicEvaluatorUtil.java:[lines 210-227]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.dependency.hcat.EhcacheHCatDependencyCache.addMissingDependency(HCatURI,
String): At HCatURIHandler.java:[lines 382-392]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.dependency.hcat.EhcacheHCatDependencyCache.decrementPartKeyPatternCount(String,
String, String): At EhcacheHCatDependencyCache.java:[line 159]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.dependency.hcat.EhcacheHCatDependencyCache.markDependencyAvailable(String,
String, String, Map): At EhcacheHCatDependencyCache.java:[line 413]
.
org.apache.oozie.dependency.hcat.EhcacheHCatDependencyCache.CONF_CACHE_NAME
isn't final but should be: At EhcacheHCatDependencyCache.java:[line 253]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.addMissingDependency(HCatURI,
String): At EhcacheHCatDependencyCache.java:[line 57]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.addMissingDependency(HCatURI,
String): At SimpleHCatDependencyCache.java:[line 114]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.removeMissingDependency(HCatURI,
String): At SimpleHCatDependencyCache.java:[line 106]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.removeNonWaitingCoordActions(Set):
At SimpleHCatDependencyCache.java:[line 145]
. Possible null pointer dereference of partKeys in
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.removeMissingDependency(HCatURI,
String): At SimpleHCatDependencyCache.java:[line 401]
. Known null at SimpleHCatDependencyCache.java:[line 147]: Dereferenced at
SimpleHCatDependencyCache.java:[line 150]
. Dereferenced at SimpleHCatDependencyCache.java:[line 385]: Possible null
pointer dereference of waitingActions in
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.removePartitions(String,
Collection, Map)
.
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.removeNonWaitingCoordActions(Set)
makes inefficient use of keySet iterator instead of entrySet iterator: Known
null at SimpleHCatDependencyCache.java:[line 367]
.
org.apache.oozie.dependency.hcat.SimpleHCatDependencyCache.removePartitions(String,
Collection, Map) makes inefficient use of keySet iterator instead of entrySet
iterator: At SimpleHCatDependencyCache.java:[line 411]
. Equals method for org.apache.oozie.dependency.hcat.WaitingAction assumes
the argument is of type WaitingAction: At SimpleHCatDependencyCache.java:[line
366]
. Switch statement found in
org.apache.oozie.event.BundleJobEvent.setStatus(Job$Status) where default case
is missing: At WaitingAction.java:[line 64]
. org.apache.oozie.event.CoordinatorActionEvent.getNominalTime() may expose
internal representation by returning CoordinatorActionEvent.nominalTime: At
BundleJobEvent.java:[lines 55-69]
. org.apache.oozie.event.CoordinatorActionEvent.setNominalTime(Date) may
expose internal representation by storing an externally mutable object into
CoordinatorActionEvent.nominalTime: At CoordinatorActionEvent.java:[line 89]
. Switch statement found in
org.apache.oozie.event.CoordinatorActionEvent.setStatus(CoordinatorAction$Status)
where default case is missing: At CoordinatorActionEvent.java:[line 93]
. Switch statement found in
org.apache.oozie.event.CoordinatorJobEvent.setStatus(Job$Status) where default
case is missing: At CoordinatorActionEvent.java:[lines 66-84]
. Write to static field org.apache.oozie.event.MemoryEventQueue.eventQueue
from instance method
org.apache.oozie.event.MemoryEventQueue.init(Configuration): At
CoordinatorJobEvent.java:[lines 55-70]
. Write to static field org.apache.oozie.event.MemoryEventQueue.LOG from
instance method org.apache.oozie.event.MemoryEventQueue.init(Configuration): At
MemoryEventQueue.java:[line 47]
. Write to static field org.apache.oozie.event.MemoryEventQueue.batchSize
from instance method
org.apache.oozie.event.MemoryEventQueue.init(Configuration): At
MemoryEventQueue.java:[line 51]
. Write to static field org.apache.oozie.event.MemoryEventQueue.currentSize
from instance method
org.apache.oozie.event.MemoryEventQueue.init(Configuration): At
MemoryEventQueue.java:[line 50]
. Write to static field org.apache.oozie.event.MemoryEventQueue.maxSize from
instance method org.apache.oozie.event.MemoryEventQueue.init(Configuration): At
MemoryEventQueue.java:[line 49]
. Switch statement found in
org.apache.oozie.event.WorkflowActionEvent.setStatus(WorkflowAction$Status)
where default case is missing: At MemoryEventQueue.java:[line 48]
. Switch statement found in
org.apache.oozie.event.WorkflowJobEvent.setStatus(WorkflowJob$Status) where
default case is missing: At WorkflowActionEvent.java:[lines 58-72]
.
org.apache.oozie.event.listener.ZKConnectionListener.stateChanged(CuratorFramework,
ConnectionState) invokes System.exit(...), which shuts down the entire virtual
machine: At WorkflowJobEvent.java:[lines 79-91]
. Write to static field
org.apache.oozie.event.listener.ZKConnectionListener.connectionState from
instance method
org.apache.oozie.event.listener.ZKConnectionListener.stateChanged(CuratorFramework,
ConnectionState): At ZKConnectionListener.java:[line 62]
. Possible null pointer dereference of whereClause in
org.apache.oozie.executor.jpa.BulkJPAExecutor.bundleQuery(EntityManager): At
ZKConnectionListener.java:[line 43]
. Null value at BulkJPAExecutor.java:[line 114]: Dereferenced at
BulkJPAExecutor.java:[line 126]
. new org.apache.oozie.executor.jpa.BundleJobsGetNeedStartJPAExecutor(Date)
may expose internal representation by storing an externally mutable object into
BundleJobsGetNeedStartJPAExecutor.date: Known null at
BulkJPAExecutor.java:[line 121]
.
org.apache.oozie.executor.jpa.CoordActionsCountForJobIdJPAExecutor.setQueryParameters(Query,
EntityManager) makes inefficient use of keySet iterator instead of entrySet
iterator: At BundleJobsGetNeedStartJPAExecutor.java:[line 39]
. new
org.apache.oozie.executor.jpa.CoordJobGetActionForNominalTimeJPAExecutor(String,
Date) may expose internal representation by storing an externally mutable
object into CoordJobGetActionForNominalTimeJPAExecutor.nominalTime: At
CoordActionsCountForJobIdJPAExecutor.java:[line 79]
.
org.apache.oozie.executor.jpa.CoordJobGetActionsSubsetJPAExecutor.setQueryParameters(Query,
EntityManager) makes inefficient use of keySet iterator instead of entrySet
iterator: At CoordJobGetActionForNominalTimeJPAExecutor.java:[line 44]
.
org.apache.oozie.executor.jpa.CoordJobsToBeMaterializedJPAExecutor.getDateInput()
may expose internal representation by returning
CoordJobsToBeMaterializedJPAExecutor.dateInput: At
CoordJobGetActionsSubsetJPAExecutor.java:[line 115]
. new
org.apache.oozie.executor.jpa.CoordJobsToBeMaterializedJPAExecutor(Date, int)
may expose internal representation by storing an externally mutable object into
CoordJobsToBeMaterializedJPAExecutor.dateInput: At
CoordJobsToBeMaterializedJPAExecutor.java:[line 82]
.
org.apache.oozie.executor.jpa.CoordJobsToBeMaterializedJPAExecutor.setDateInput(Date)
may expose internal representation by storing an externally mutable object
into CoordJobsToBeMaterializedJPAExecutor.dateInput: At
CoordJobsToBeMaterializedJPAExecutor.java:[line 47]
. Unwritten field: org.apache.oozie.executor.jpa.QueryExecutor.LOG: At
CoordJobsToBeMaterializedJPAExecutor.java:[line 89]
. new org.apache.oozie.executor.jpa.SLAEventsGetForFilterJPAExecutor(long,
int, Map, long[]) may expose internal representation by storing an externally
mutable object into SLAEventsGetForFilterJPAExecutor.lastSeqId: At
QueryExecutor.java:[line 58]
. Unused field:
org.apache.oozie.executor.jpa.SLAEventsGetForFilterJPAExecutor.sb: At
SLAEventsGetForFilterJPAExecutor.java:[line 48]
. new org.apache.oozie.executor.jpa.SLAEventsGetForSeqIdJPAExecutor(long,
int, long[]) may expose internal representation by storing an externally
mutable object into SLAEventsGetForSeqIdJPAExecutor.lastSeqId: In
SLAEventsGetForFilterJPAExecutor.java
. Switch statement found in
org.apache.oozie.executor.jpa.SLASummaryQueryExecutor.getSelectQuery(SLASummaryQueryExecutor$SLASummaryQuery,
EntityManager, Object[]) where default case is missing: At
SLAEventsGetForSeqIdJPAExecutor.java:[line 40]
. Dead store to actionList in
org.apache.oozie.executor.jpa.WorkflowActionSubsetGetJPAExecutor.execute(EntityManager):
At SLASummaryQueryExecutor.java:[lines 122-126]
.
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.getNominalEnd()
may expose internal representation by returning
SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.nominalEnd: At
WorkflowActionSubsetGetJPAExecutor.java:[line 64]
.
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.getNominalStart()
may expose internal representation by returning
SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.nominalStart: At
SLASummaryGetForFilterJPAExecutor.java:[line 310]
.
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.setNominalEnd(Date)
may expose internal representation by storing an externally mutable object
into SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.nominalEnd: At
SLASummaryGetForFilterJPAExecutor.java:[line 302]
.
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.setNominalStart(Date)
may expose internal representation by storing an externally mutable object
into SLASummaryGetForFilterJPAExecutor$SLASummaryFilter.nominalStart: At
SLASummaryGetForFilterJPAExecutor.java:[line 314]
. Result of integer multiplication cast to long in
org.apache.oozie.executor.jpa.sla.SLASummaryGetRecordsOnRestartJPAExecutor.execute(EntityManager):
At SLASummaryGetForFilterJPAExecutor.java:[line 306]
. Write to static field org.apache.oozie.jms.JMSJobEventListener.LOG from
instance method org.apache.oozie.jms.JMSJobEventListener.init(Configuration):
At SLASummaryGetRecordsOnRestartJPAExecutor.java:[line 53]
. Write to static field org.apache.oozie.jms.JMSSLAEventListener.LOG from
instance method org.apache.oozie.jms.JMSSLAEventListener.init(Configuration):
At JMSJobEventListener.java:[line 68]
. Synchronization performed on java.util.concurrent.ConcurrentMap in
org.apache.oozie.lock.MemoryLocks.getLock(String, MemoryLocksService$Type,
long): At JMSSLAEventListener.java:[line 54]
. Should org.apache.oozie.lock.MemoryLocks$MemoryLockToken be a _static_
inner class?: At MemoryLocks.java:[line 109]
. Write to static field
org.apache.oozie.service.AbandonedCoordCheckerService.serverURL from instance
method org.apache.oozie.service.AbandonedCoordCheckerService.init(Services): At
MemoryLocks.java:[lines 43-62]
. Write to static field
org.apache.oozie.service.AbandonedCoordCheckerService.to from instance method
org.apache.oozie.service.AbandonedCoordCheckerService.init(Services): At
AbandonedCoordCheckerService.java:[line 177]
. Result of integer multiplication cast to long in
org.apache.oozie.service.AbandonedCoordCheckerService$AbandonedCoordCheckerRunnable.checkCoordJobs():
At AbandonedCoordCheckerService.java:[line 174]
. Found reliance on default encoding in
org.apache.oozie.service.AuthorizationService.loadAdminUsers(): new
java.io.InputStreamReader(InputStream): At
AbandonedCoordCheckerService.java:[line 96]
. org.apache.oozie.service.AuthorizationService.loadAdminUsers() may fail to
close stream: At AuthorizationService.java:[line 172]
. org.apache.oozie.service.CallableQueueService$CompositeCallable.toString()
may return null: At AuthorizationService.java:[line 172]
. org.apache.oozie.service.ConfigurationService.loadConf() may fail to clean
up java.io.InputStream: At CallableQueueService.java:[line 355]
. Path continues at ConfigurationService.java:[line 240]: Obligation to
clean up resource created at ConfigurationService.java:[line 239] is not
discharged
. Path continues at ConfigurationService.java:[line 242]: Path continues at
ConfigurationService.java:[line 241]
. Path continues at ConfigurationService.java:[line 249]: Path continues at
ConfigurationService.java:[line 247]
. Path continues at ConfigurationService.java:[line 265]: Path continues at
ConfigurationService.java:[line 264]
. Path continues at ConfigurationService.java:[line 276]: Path continues at
ConfigurationService.java:[line 269]
. Path continues at ConfigurationService.java:[line 296]: Path continues at
ConfigurationService.java:[line 288]
. At ConfigurationService.java:[line 143]: Write to static field
org.apache.oozie.service.ConfigurationService.log from instance method new
org.apache.oozie.service.ConfigurationService()
. At ConfigurationService.java:[lines 315-420]: Should
org.apache.oozie.service.ConfigurationService$LogChangesConfiguration be a
_static_ inner class?
. At CoordMaterializeTriggerService.java:[line 104]: Field only ever set to
null:
org.apache.oozie.service.CoordMaterializeTriggerService$CoordMaterializeTriggerRunnable.delayedCallables
. At EventHandlerService.java:[line 172]: Write to static field
org.apache.oozie.service.EventHandlerService.eventsEnabled from instance method
org.apache.oozie.service.EventHandlerService.destroy()
. At EventHandlerService.java:[line 78]: Write to static field
org.apache.oozie.service.EventHandlerService.eventQueue from instance method
org.apache.oozie.service.EventHandlerService.init(Services)
. At EventHandlerService.java:[line 86]: Write to static field
org.apache.oozie.service.EventHandlerService.eventsEnabled from instance method
org.apache.oozie.service.EventHandlerService.init(Services)
. At HCatAccessorService.java:[line 74]: Write to static field
org.apache.oozie.service.HCatAccessorService.LOG from instance method
org.apache.oozie.service.HCatAccessorService.init(Services)
. Obligation to clean up resource created at
HadoopAccessorService.java:[line 426] is not discharged:
org.apache.oozie.service.HadoopAccessorService.readActionConfFile(File) may
fail to clean up java.io.InputStream
. Path continues at HadoopAccessorService.java:[line 428]: Path continues at
HadoopAccessorService.java:[line 427]
. Path continues at HadoopAccessorService.java:[line 433]: Path continues at
HadoopAccessorService.java:[line 432]
. Path continues at HadoopAccessorService.java:[line 440]: Path continues at
HadoopAccessorService.java:[line 434]
. At InstrumentationService.java:[line 42]:
org.apache.oozie.service.InstrumentationService.instrumentation should be
package protected
. At InstrumentationService.java:[line 122]: Write to static field
org.apache.oozie.service.InstrumentationService.instrumentation from instance
method org.apache.oozie.service.InstrumentationService.destroy()
. At InstrumentationService.java:[line 121]: Write to static field
org.apache.oozie.service.InstrumentationService.isEnabled from instance method
org.apache.oozie.service.InstrumentationService.destroy()
. At InstrumentationService.java:[line 74]: Write to static field
org.apache.oozie.service.InstrumentationService.instrumentation from instance
method org.apache.oozie.service.InstrumentationService.init(Services)
. At InstrumentationService.java:[line 75]: Write to static field
org.apache.oozie.service.InstrumentationService.isEnabled from instance method
org.apache.oozie.service.InstrumentationService.init(Services)
. Unsynchronized access at JMSAccessorService.java:[line 331]: Inconsistent
synchronization of
org.apache.oozie.service.JMSAccessorService.jmsProducerConnContext; locked 42%
of time
. Unsynchronized access at JMSAccessorService.java:[line 278]:
Unsynchronized access at JMSAccessorService.java:[line 332]
. Unsynchronized access at JMSAccessorService.java:[line 279]:
Unsynchronized access at JMSAccessorService.java:[line 278]
. Synchronized access at JMSAccessorService.java:[line 283]: Unsynchronized
access at JMSAccessorService.java:[line 298]
. Synchronized access at JMSAccessorService.java:[line 285]: Synchronized
access at JMSAccessorService.java:[line 283]
. Synchronized access at JMSAccessorService.java:[line 287]: Synchronized
access at JMSAccessorService.java:[line 286]
. Write to static field org.apache.oozie.service.JMSAccessorService.LOG from
instance method org.apache.oozie.service.JMSAccessorService.init(Services):
Synchronized access at JMSAccessorService.java:[line 287]
. Write to static field org.apache.oozie.service.JMSTopicService.LOG from
instance method org.apache.oozie.service.JMSTopicService.init(Services): At
JMSAccessorService.java:[line 85]
. Write to static field org.apache.oozie.service.JPAService.LOG from
instance method org.apache.oozie.service.JPAService.init(Services): At
JMSTopicService.java:[line 99]
. Write to static field org.apache.oozie.service.JobsConcurrencyService.urls
from instance method
org.apache.oozie.service.JobsConcurrencyService.init(Services): At
JPAService.java:[line 141]
. Write to static field
org.apache.oozie.service.MetricsInstrumentationService.isEnabled from instance
method org.apache.oozie.service.MetricsInstrumentationService.destroy(): At
JobsConcurrencyService.java:[line 47]
. Write to static field
org.apache.oozie.service.InstrumentationService.instrumentation from instance
method org.apache.oozie.service.MetricsInstrumentationService.init(Services):
At MetricsInstrumentationService.java:[line 54]
. Write to static field
org.apache.oozie.service.MetricsInstrumentationService.isEnabled from instance
method org.apache.oozie.service.MetricsInstrumentationService.init(Services):
At MetricsInstrumentationService.java:[line 45]
. Unread field:
org.apache.oozie.service.PartitionDependencyManagerService$CachePurgeWorker.cache:
At MetricsInstrumentationService.java:[line 46]
. Possible null pointer dereference of bundleJob in
org.apache.oozie.service.RecoveryService$RecoveryRunnable.runBundleRecovery():
At PartitionDependencyManagerService.java:[line 96]
. Null value at RecoveryService.java:[line 208]: Dereferenced at
RecoveryService.java:[line 213]
. Initialization of org.apache.oozie.service.Service accesses class
org.apache.oozie.service.ConfigurationService, which isn't initialized yet:
Known null at RecoveryService.java:[line 209]
. Incorrect lazy initialization of static field
org.apache.oozie.service.Services.SERVICES in new
org.apache.oozie.service.Services(): At Service.java:[line 56]
. Exceptional return value of java.io.File.delete() ignored in
org.apache.oozie.service.Services.createRuntimeDir(): At Services.java:[lines
105-109]
. Write to static field org.apache.oozie.service.Services.SERVICES from
instance method new org.apache.oozie.service.Services(): At Services.java:[line
132]
. Write to static field org.apache.oozie.service.Services.SERVICES from
instance method org.apache.oozie.service.Services.destroy(): At
Services.java:[line 109]
. Write to static field org.apache.oozie.service.Services.SERVICES from
instance method org.apache.oozie.service.Services.init(): At
Services.java:[line 349]
. Another occurrence at Services.java:[line 221]: At Services.java:[line 211]
. At Services.java:[line 155]:
org.apache.oozie.service.Services.getSystemMode() is unsynchronized,
org.apache.oozie.service.Services.setSystemMode(OozieClient$SYSTEM_MODE) is
synchronized
. At ShareLibService.java:[line 113]: Result of integer multiplication cast
to long in new org.apache.oozie.service.ShareLibService()
. At ShareLibService.java:[line 162]: Result of integer multiplication cast
to long in org.apache.oozie.service.ShareLibService.init(Services)
. At ShareLibService.java:[line 103]:
org.apache.oozie.service.ShareLibService.SHARE_LIB_CONF_PREFIX isn't final but
should be
. At ShareLibService.java:[line 692]: Call to method of static
java.text.DateFormat in
org.apache.oozie.service.ShareLibService.getLatestLibPath(Path, String)
. At ShareLibService.java:[line 662]: Call to method of static
java.text.DateFormat in
org.apache.oozie.service.ShareLibService.getLauncherlibPath()
. In ShareLibService.java:
org.apache.oozie.service.ShareLibService.dateFormat is a static field of type
java.text.DateFormat, which isn't thread safe
. At ShareLibService.java:[line 479]: Call to method of static
java.text.DateFormat in org.apache.oozie.service.ShareLibService$2.accept(Path)
. At StatusTransitService.java:[line 59]:
org.apache.oozie.service.StatusTransitService.lastInstanceStartTime should be
package protected
. At StatusTransitService.java:[line 58]:
org.apache.oozie.service.StatusTransitService.limit isn't final but should be
. At URIHandlerService.java:[line 210]:
org.apache.oozie.service.URIHandlerService.getAuthorityWithScheme(String)
invokes substring(0), which returns the original value
. At WorkflowAppService.java:[line 133]: Found reliance on default encoding
in org.apache.oozie.service.WorkflowAppService.readDefinition(String, String,
Configuration): new java.io.InputStreamReader(InputStream)
. At WorkflowAppService.java:[lines 320-323]: Should
org.apache.oozie.service.WorkflowAppService$NoPathFilter be a _static_ inner
class?
. Obligation to clean up resource created at XLogService.java:[line 202] is
not discharged: org.apache.oozie.service.XLogService.init(Services) may fail to
clean up java.io.InputStream
. Path continues at XLogService.java:[line 207]: Path continues at
XLogService.java:[line 203]
. org.apache.oozie.service.XLogUtil.log isn't final but should be: Path
continues at XLogService.java:[line 208]
. Write to static field
org.apache.oozie.service.ZKJobsConcurrencyService.leaderLatch from instance
method org.apache.oozie.service.ZKJobsConcurrencyService.init(Services): At
XLogUtil.java:[line 34]
. Should org.apache.oozie.service.ZKLocksService$ZKLockToken be a _static_
inner class?: At ZKJobsConcurrencyService.java:[line 73]
. Dead store to xLogService in
org.apache.oozie.service.ZKXLogStreamingService.collateLogs(XLogFilter, Date,
Date, Writer, Map, String, String, int, String): At ZKLocksService.java:[lines
174-201]
. org.apache.oozie.servlet.BaseAdminServlet.getShareLib(String) makes
inefficient use of keySet iterator instead of entrySet iterator: At
ZKXLogStreamingService.java:[line 208]
. Load of known null value in
org.apache.oozie.servlet.BaseJobServlet.checkAuthorizationForApp(Configuration):
At BaseAdminServlet.java:[line 247]
. Redundant nullcheck of actionId, which is known to be non-null in
org.apache.oozie.servlet.CallbackServlet.doGet(HttpServletRequest,
HttpServletResponse): At BaseJobServlet.java:[line 239]
. Redundant nullcheck of actionId, which is known to be non-null in
org.apache.oozie.servlet.CallbackServlet.doPost(HttpServletRequest,
HttpServletResponse): Redundant null check at CallbackServlet.java:[line 76]
. Class org.apache.oozie.servlet.CallbackServlet defines non-transient
non-serializable instance field log: Redundant null check at
CallbackServlet.java:[line 107]
. Write to static field org.apache.oozie.servlet.CallbackServlet.maxDataLen
from instance method org.apache.oozie.servlet.CallbackServlet.init(): In
CallbackServlet.java
. Class org.apache.oozie.servlet.JVMInfo defines non-transient
non-serializable instance field jThreadInfos: At CallbackServlet.java:[line 60]
. Class org.apache.oozie.servlet.JVMInfo defines non-transient
non-serializable instance field classLoadingMXBean: In JVMInfo.java
. Class org.apache.oozie.servlet.JVMInfo defines non-transient
non-serializable instance field memoryMXBean: In JVMInfo.java
. Class org.apache.oozie.servlet.JVMInfo defines non-transient
non-serializable instance field threadMXBean: In JVMInfo.java
. org.apache.oozie.servlet.JVMInfo$ThreadComparator implements Comparator
but not Serializable: In JVMInfo.java
. Dead store to eResponse in
org.apache.oozie.servlet.SLAServlet.doGet(HttpServletRequest,
HttpServletResponse): At JVMInfo.java:[lines 224-271]
.
org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServletContextEvent)
invokes System.exit(...), which shuts down the entire virtual machine: At
SLAServlet.java:[line 80]
. Write to static field org.apache.oozie.servlet.ServicesLoader.services
from instance method
org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServletContextEvent):
At ServicesLoader.java:[line 59]
. Write to static field org.apache.oozie.servlet.ServicesLoader.sslEnabled
from instance method
org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServletContextEvent):
At ServicesLoader.java:[line 45]
. The method name
org.apache.oozie.servlet.ServletUtilities.ValidateAppPath(String, String)
doesn't start with a lower case letter: At ServicesLoader.java:[line 42]
. The method name
org.apache.oozie.servlet.ServletUtilities.ValidateAppPath(String, String,
String) doesn't start with a lower case letter: At ServletUtilities.java:[lines
36-46]
. The method name
org.apache.oozie.servlet.ServletUtilities.ValidateLibPath(String) doesn't start
with a lower case letter: At ServletUtilities.java:[lines 59-80]
. Dead store to json in
org.apache.oozie.servlet.V1JobServlet.rerunBundleJob(HttpServletRequest,
HttpServletResponse, Configuration): At ServletUtilities.java:[lines 89-92]
. Found reliance on default encoding in
org.apache.oozie.servlet.V1JobServlet.getJob(HttpServletRequest,
HttpServletResponse): new String(byte[]): At V1JobServlet.java:[line 628]
. Possible null pointer dereference of jobs in
org.apache.oozie.servlet.V1JobsServlet.bulkModifyJobs(HttpServletRequest,
HttpServletResponse): At V1JobServlet.java:[line 223]
. Null value at V1JobsServlet.java:[line 578]: Dereferenced at
V1JobsServlet.java:[line 606]
. Write to static field
org.apache.oozie.servlet.V2AdminServlet.metricsInstrumentation from instance
method new org.apache.oozie.servlet.V2AdminServlet(): Known null at
V1JobsServlet.java:[line 597]
. Another occurrence at V2AdminServlet.java:[line 61]: At
V2AdminServlet.java:[line 59]
. At V2JobServlet.java:[line 222]: Dead store to coordActions in
org.apache.oozie.servlet.V2JobServlet.ignoreCoordinatorJob(HttpServletRequest,
HttpServletResponse)
. Redundant null check at V2SLAServlet.java:[line 98]: Redundant nullcheck
of json, which is known to be non-null in
org.apache.oozie.servlet.V2SLAServlet.doGet(HttpServletRequest,
HttpServletResponse)
. At V2ValidateServlet.java:[line 84]: Found reliance on default encoding in
org.apache.oozie.servlet.V2ValidateServlet.doPost(HttpServletRequest,
HttpServletResponse): new java.io.InputStreamReader(InputStream)
. Exception is caught when Exception is not thrown in
org.apache.oozie.servlet.V2ValidateServlet.doPost(HttpServletRequest,
HttpServletResponse): Another occurrence at V2ValidateServlet.java:[line 92]
. org.apache.oozie.sla.SLACalcStatus.getActualEnd() may expose internal
representation by returning SLACalcStatus.actualEnd: At
V2ValidateServlet.java:[line 86]
. org.apache.oozie.sla.SLACalcStatus.getActualStart() may expose internal
representation by returning SLACalcStatus.actualStart: At
SLACalcStatus.java:[line 139]
. org.apache.oozie.sla.SLACalcStatus.getLastModifiedTime() may expose
internal representation by returning SLACalcStatus.lastModifiedTime: At
SLACalcStatus.java:[line 130]
. org.apache.oozie.sla.SLACalcStatus.setActualEnd(Date) may expose internal
representation by storing an externally mutable object into
SLACalcStatus.actualEnd: At SLACalcStatus.java:[line 284]
. org.apache.oozie.sla.SLACalcStatus.setActualStart(Date) may expose
internal representation by storing an externally mutable object into
SLACalcStatus.actualStart: At SLACalcStatus.java:[line 143]
. org.apache.oozie.sla.SLACalcStatus.setLastModifiedTime(Date) may expose
internal representation by storing an externally mutable object into
SLACalcStatus.lastModifiedTime: At SLACalcStatus.java:[line 134]
. org.apache.oozie.sla.SLACalcStatus.SLA_ENTITYKEY_PREFIX isn't final but
should be: At SLACalcStatus.java:[line 183]
. Write to static field org.apache.oozie.sla.SLACalculatorMemory.capacity
from instance method
org.apache.oozie.sla.SLACalculatorMemory.init(Configuration): At
SLACalcStatus.java:[line 37]
. Write to static field
org.apache.oozie.sla.SLACalculatorMemory.jobEventLatency from instance method
org.apache.oozie.sla.SLACalculatorMemory.init(Configuration): At
SLACalculatorMemory.java:[line 85]
. Write to static field org.apache.oozie.sla.SLACalculatorMemory.jpaService
from instance method
org.apache.oozie.sla.SLACalculatorMemory.init(Configuration): At
SLACalculatorMemory.java:[line 86]
. Write to static field
org.apache.oozie.sla.SLACalculatorMemory.modifiedAfter from instance method
org.apache.oozie.sla.SLACalculatorMemory.init(Configuration): At
SLACalculatorMemory.java:[line 89]
. Invocation of toString on
org.apache.oozie.client.event.SLAEvent$EventStatus.values() in
org.apache.oozie.sla.SLAOperations.createSlaRegistrationEvent(Element, String,
String, AppType, String, String, XLog, boolean, boolean): At
SLACalculatorMemory.java:[line 92]
. org.apache.oozie.sla.SLAOperations.LOG isn't final but should be: At
SLAOperations.java:[line 89]
. org.apache.oozie.sla.SLARegistrationBean.pcIsDetached() has Boolean return
type and returns explicit null: At SLAOperations.java:[line 50]
. org.apache.oozie.sla.SLASummaryBean.getTimeOnTimeZone(Timestamp, String)
invokes inefficient new Long(String) constructor; use Long.valueOf(String)
instead: In SLARegistrationBean.java
. org.apache.oozie.sla.SLASummaryBean.pcIsDetached() has Boolean return type
and returns explicit null: At SLASummaryBean.java:[line 447]
. Boxing/unboxing to parse a primitive
org.apache.oozie.sla.listener.SLAEmailEventListener.init(Configuration): In
SLASummaryBean.java
. Another occurrence at SLAEmailEventListener.java:[line 116]: At
SLAEmailEventListener.java:[line 115]
. At SLAEmailEventListener.java:[line 80]:
org.apache.oozie.sla.listener.SLAEmailEventListener.EMAIL_BODY_FIELD_INDENT
isn't final but should be
. At SLAEmailEventListener.java:[line 79]:
org.apache.oozie.sla.listener.SLAEmailEventListener.EMAIL_BODY_FIELD_SEPARATER
isn't final but should be
. At SLAEmailEventListener.java:[line 81]:
org.apache.oozie.sla.listener.SLAEmailEventListener.EMAIL_BODY_HEADER_SEPARATER
isn't final but should be
. In SLAService.java: org.apache.oozie.sla.service.SLAService.LOG should be
package protected
. At SLAService.java:[line 96]: Write to static field
org.apache.oozie.sla.service.SLAService.slaEnabled from instance method
org.apache.oozie.sla.service.SLAService.destroy()
. At SLAService.java:[line 74]: Write to static field
org.apache.oozie.sla.service.SLAService.LOG from instance method
org.apache.oozie.sla.service.SLAService.init(Services)
. At SLAService.java:[line 67]: Write to static field
org.apache.oozie.sla.service.SLAService.calcImpl from instance method
org.apache.oozie.sla.service.SLAService.init(Services)
. At SLAService.java:[line 85]: Write to static field
org.apache.oozie.sla.service.SLAService.slaEnabled from instance method
org.apache.oozie.sla.service.SLAService.init(Services)
. At SLAService.java:[lines 121-136]: Should
org.apache.oozie.sla.service.SLAService$SLAWorker be a _static_ inner class?
. At WorkflowStore.java:[line 91]: Dead store to schema in new
org.apache.oozie.store.WorkflowStore(boolean)
. At WorkflowStore.java:[line 378]: Dead store to oq in
org.apache.oozie.store.WorkflowStore$11.call()
. At WorkflowStore.java:[line 434]: Dead store to actions in
org.apache.oozie.store.WorkflowStore$13.call()
. Dereferenced at WorkflowStore.java:[line 672]: Possible null pointer
dereference of q in org.apache.oozie.store.WorkflowStore$15.call()
. Known null at WorkflowStore.java:[line 651]: Null value at
WorkflowStore.java:[line 642]
. Dereferenced at WorkflowStore.java:[line 681]: Possible null pointer
dereference of qTotal in org.apache.oozie.store.WorkflowStore$15.call()
. Known null at WorkflowStore.java:[line 651]: Null value at
WorkflowStore.java:[line 643]
. At AuthUrlClient.java:[line 153]:
org.apache.oozie.util.AuthUrlClient.getQueryParamString(Map) makes inefficient
use of keySet iterator instead of entrySet iterator
. At AuthUrlClient.java:[line 135]: Found reliance on default encoding in
org.apache.oozie.util.AuthUrlClient$1.run(): new
java.io.InputStreamReader(InputStream)
. At ConfigUtils.java:[line 36]:
org.apache.oozie.util.ConfigUtils.BOOLEAN_DEFAULT isn't final but should be
. At ConfigUtils.java:[line 39]:
org.apache.oozie.util.ConfigUtils.FLOAT_DEFAULT isn't final but should be
. At ConfigUtils.java:[line 38]:
org.apache.oozie.util.ConfigUtils.INT_DEFAULT isn't final but should be
. At ConfigUtils.java:[line 40]:
org.apache.oozie.util.ConfigUtils.LONG_DEFAULT isn't final but should be
. At ConfigUtils.java:[line 37]:
org.apache.oozie.util.ConfigUtils.STRING_DEFAULT isn't final but should be
. At DateUtils.java:[line 140]: Load of known null value in
org.apache.oozie.util.DateUtils.getTimeZone(String)
. Redundant null check at DateUtils.java:[line 177]: Redundant nullcheck of
d, which is known to be non-null in
org.apache.oozie.util.DateUtils.parseDateOozieTZ(String)
. At GraphGenerator.java:[line 95]:
org.apache.oozie.util.GraphGenerator.finalize() is public; should be protected
. At GraphGenerator.java:[line 62]: Unread field:
org.apache.oozie.util.GraphGenerator.actionsLimit; should this field be static?
. At GraphGenerator.java:[lines 160-165]: Switch statement found in
org.apache.oozie.util.GraphGenerator$XMLParser.endDocument() where default case
is missing
. At IOUtils.java:[line 119]: Found reliance on default encoding in
org.apache.oozie.util.IOUtils.getResourceAsReader(String, int): new
java.io.InputStreamReader(InputStream)
. At IOUtils.java:[line 136]: Found reliance on default encoding in
org.apache.oozie.util.IOUtils.getResourceAsString(String, int): new
java.io.InputStreamReader(InputStream)
. Obligation to clean up resource created at IOUtils.java:[line 209] is not
discharged: org.apache.oozie.util.IOUtils.zipDir(File, String, ZipOutputStream,
boolean) may fail to clean up java.io.InputStream on checked exception
. Path continues at IOUtils.java:[line 211]: Path continues at
IOUtils.java:[line 210]
. At Instrumentation.java:[line 438]: Integral division result cast to
double or float in org.apache.oozie.util.Instrumentation$Timer.evalStdDev(long,
long, long)
. At MultiFileReader.java:[line 86]: Found reliance on default encoding in
org.apache.oozie.util.MultiFileReader.openNextReader(): new
java.io.FileReader(File)
. At MultiFileReader.java:[line 82]: Found reliance on default encoding in
org.apache.oozie.util.MultiFileReader.openNextReader(): new
java.io.InputStreamReader(InputStream)
. At OozieRollingPolicy.java:[line 162]: Exceptional return value of
java.io.File.delete() ignored in
org.apache.oozie.util.OozieRollingPolicy.deleteOldFiles()
. At OozieRollingPolicy.java:[lines 203-211]:
org.apache.oozie.util.OozieRollingPolicy$FileInfo defines
compareTo(OozieRollingPolicy$FileInfo) and uses Object.equals()
. At OozieRollingPolicy.java:[lines 184-211]: Should
org.apache.oozie.util.OozieRollingPolicy$FileInfo be a _static_ inner class?
. At PriorityDelayQueue.java:[line 63]:
org.apache.oozie.util.PriorityDelayQueue$QueueElement defines compareTo(Object)
and uses Object.equals()
. At StatusUtils.java:[line 134]: Dead store to conf in
org.apache.oozie.util.StatusUtils.isV1CoordjobKillable(CoordinatorJobBean)
. At StringSerializationUtil.java:[line 48]: Load of known null value in
org.apache.oozie.util.StringSerializationUtil.writeString(DataOutput, String)
. At XConfiguration.java:[line 368]: Found reliance on default encoding in
org.apache.oozie.util.XConfiguration.toXmlString(boolean): new String(byte[])
. At XLogFilter.java:[line 207]:
org.apache.oozie.util.XLogFilter.getEndDate() may expose internal
representation by returning XLogFilter.endDate
. At XLogFilter.java:[line 219]:
org.apache.oozie.util.XLogFilter.getStartDate() may expose internal
representation by returning XLogFilter.startDate
. At XLogFilter.java:[line 43]:
org.apache.oozie.util.XLogFilter.MAX_ACTIONLIST_SCAN_DURATION isn't final but
should be
. At XLogFilter.java:[line 44]:
org.apache.oozie.util.XLogFilter.MAX_SCAN_DURATION isn't final but should be
. At XLogStreamer.java:[lines 139-147]:
org.apache.oozie.util.XLogStreamer$FileInfo defines
compareTo(XLogStreamer$FileInfo) and uses Object.equals()
. At XLogStreamer.java:[lines 121-147]: Should
org.apache.oozie.util.XLogStreamer$FileInfo be a _static_ inner class?
. At XLogUserFilterParam.java:[line 183]:
org.apache.oozie.util.XLogUserFilterParam.getEndDate() may expose internal
representation by returning XLogUserFilterParam.endTime
. At XLogUserFilterParam.java:[line 251]:
org.apache.oozie.util.XLogUserFilterParam.getEndTime() may expose internal
representation by returning XLogUserFilterParam.endTime
. At XLogUserFilterParam.java:[line 174]:
org.apache.oozie.util.XLogUserFilterParam.getStartDate() may expose internal
representation by returning XLogUserFilterParam.startTime
. At XmlUtils.java:[line 284]: Found reliance on default encoding in
org.apache.oozie.util.XmlUtils.validateXml(Schema, String): String.getBytes()
. At ZKUtils.java:[line 389]: Should
org.apache.oozie.util.ZKUtils$ZKMetadataKeys be a _static_ inner class?
. At SLADbOperations.java:[line 131]: Result of integer multiplication cast
to long in
org.apache.oozie.util.db.SLADbOperations.createSlaRegistrationEvent(Element,
String, SLAEvent$SlaAppType, String, String, XLog)
. Result of integer multiplication cast to long in
org.apache.oozie.util.db.SLADbOperations.createSlaRegistrationEvent(Element,
Store, String, SLAEvent$SlaAppType, String, String): Another occurrence at
SLADbOperations.java:[line 148]
. Another occurrence at SLADbOperations.java:[line 80]: At
SLADbOperations.java:[line 63]
. At SLADbXOperations.java:[line 71]: Result of integer multiplication cast
to long in
org.apache.oozie.util.db.SLADbXOperations.createSlaRegistrationEvent(Element,
String, SLAEvent$SlaAppType, String, String)
. Dead store to stmt in
org.apache.oozie.util.db.SqlStatement.prepareForBatch(Connection, List,
PreparedStatement): Another occurrence at SLADbXOperations.java:[line 89]
. Possible null pointer dereference of retVal in
org.apache.oozie.util.db.SqlStatement.create(ArrayList): At
SqlStatement.java:[line 897]
. Null value at SqlStatement.java:[line 952]: Dereferenced at
SqlStatement.java:[line 971]
. org.apache.oozie.util.db.SqlStatement.prepareAndSetValues(Connection) may
fail to clean up java.sql.Statement on checked exception: Known null at
SqlStatement.java:[line 965]
. Path continues at SqlStatement.java:[line 843]: Obligation to clean up
resource created at SqlStatement.java:[line 842] is not discharged
. Path continues at SqlStatement.java:[line 845]: Path continues at
SqlStatement.java:[line 844]
. At SqlStatement.java:[line 116]:
org.apache.oozie.util.db.SqlStatement$ResultSetReader.getByteArray(Schema$Column)
may fail to close stream
. In ValidateConnectionBean.java: Unwritten field:
org.apache.oozie.util.db.ValidateConnectionBean.pcPCSuperclass
. At LiteWorkflowApp.java:[line 58]:
org.apache.oozie.workflow.lite.LiteWorkflowApp defines equals(LiteWorkflowApp)
method and uses Object.equals(Object)
. At LiteWorkflowAppParser.java:[lines 368-413]: Should
org.apache.oozie.workflow.lite.LiteWorkflowAppParser$GlobalSectionData be a
_static_ inner class?
. Unsynchronized access at LiteWorkflowInstance.java:[line 543]:
Inconsistent synchronization of
org.apache.oozie.workflow.lite.LiteWorkflowInstance.log; locked 86% of time
. Unsynchronized access at LiteWorkflowInstance.java:[line 329]:
Unsynchronized access at LiteWorkflowInstance.java:[line 324]
. Synchronized access at LiteWorkflowInstance.java:[line 173]: Synchronized
access at LiteWorkflowInstance.java:[line 472]
. Synchronized access at LiteWorkflowInstance.java:[line 190]: Synchronized
access at LiteWorkflowInstance.java:[line 381]
. Synchronized access at LiteWorkflowInstance.java:[line 202]: Synchronized
access at LiteWorkflowInstance.java:[line 194]
. Synchronized access at LiteWorkflowInstance.java:[line 306]: Synchronized
access at LiteWorkflowInstance.java:[line 299]
. Synchronized access at LiteWorkflowInstance.java:[line 252]: Synchronized
access at LiteWorkflowInstance.java:[line 221]
. Synchronized access at LiteWorkflowInstance.java:[line 258]: Synchronized
access at LiteWorkflowInstance.java:[line 255]
. Synchronized access at LiteWorkflowInstance.java:[line 449]: Synchronized
access at LiteWorkflowInstance.java:[line 265]
. Synchronized access at LiteWorkflowInstance.java:[line 357]: Synchronized
access at LiteWorkflowInstance.java:[line 493]
. Synchronized access at LiteWorkflowInstance.java:[line 341]: Synchronized
access at LiteWorkflowInstance.java:[line 360]
. Synchronized access at LiteWorkflowInstance.java:[line 369]: Synchronized
access at LiteWorkflowInstance.java:[line 348]
. Unsynchronized access at LiteWorkflowInstance.java:[line 568]:
Inconsistent synchronization of
org.apache.oozie.workflow.lite.LiteWorkflowInstance.status; locked 81% of time
. Unsynchronized access at LiteWorkflowInstance.java:[line 551]:
Unsynchronized access at LiteWorkflowInstance.java:[line 547]
. Unsynchronized access at LiteWorkflowInstance.java:[line 374]:
Unsynchronized access at LiteWorkflowInstance.java:[line 595]
. Synchronized access at LiteWorkflowInstance.java:[line 170]:
Unsynchronized access at LiteWorkflowInstance.java:[line 427]
. Synchronized access at LiteWorkflowInstance.java:[line 378]: Synchronized
access at LiteWorkflowInstance.java:[line 174]
. Synchronized access at LiteWorkflowInstance.java:[line 185]: Synchronized
access at LiteWorkflowInstance.java:[line 382]
. Synchronized access at LiteWorkflowInstance.java:[line 193]: Synchronized
access at LiteWorkflowInstance.java:[line 198]
. Synchronized access at LiteWorkflowInstance.java:[line 296]: Synchronized
access at LiteWorkflowInstance.java:[line 206]
. Synchronized access at LiteWorkflowInstance.java:[line 312]: Synchronized
access at LiteWorkflowInstance.java:[line 201]
. Synchronized access at LiteWorkflowInstance.java:[line 298]: Synchronized
access at LiteWorkflowInstance.java:[line 297]
. Synchronized access at LiteWorkflowInstance.java:[line 246]: Synchronized
access at LiteWorkflowInstance.java:[line 218]
. Synchronized access at LiteWorkflowInstance.java:[line 306]: Synchronized
access at LiteWorkflowInstance.java:[line 299]
. Synchronized access at LiteWorkflowInstance.java:[line 221]: Synchronized
access at LiteWorkflowInstance.java:[line 251]
. Synchronized access at LiteWorkflowInstance.java:[line 257]: Synchronized
access at LiteWorkflowInstance.java:[line 254]
. Synchronized access at LiteWorkflowInstance.java:[line 362]: Synchronized
access at LiteWorkflowInstance.java:[line 354]
. Synchronized access at LiteWorkflowInstance.java:[line 350]: Synchronized
access at LiteWorkflowInstance.java:[line 336]
. Synchronized access at LiteWorkflowInstance.java:[line 370]: Synchronized
access at LiteWorkflowInstance.java:[line 366]
. At LiteWorkflowValidator.java:[lines 347-349]: Should
org.apache.oozie.workflow.lite.LiteWorkflowValidator$ForkJoinCount be a
_static_ inner class?
. At NodeDef.java:[line 81]: org.apache.oozie.workflow.lite.NodeDef defines
equals(NodeDef) method and uses Object.equals(Object)
. {color:green}+1{color} There are no new bugs found in [core].
. {color:green}+1{color} There are no new bugs found in [docs].
. {color:red}-1{color} There are [19] new bugs found below threshold in
[hadooplibs/hadoop-utils-2] that must be fixed.
. You can find the FindBugs diff here (look for the red and orange ones):
hadooplibs/hadoop-utils-2/findbugs-new.html
. The most important FindBugs errors are:
. At LauncherMain.java:[line 73]: Found reliance on default encoding in
org.apache.oozie.action.hadoop.LauncherMain.getHadoopJobIds(String, Pattern[]):
new java.io.FileReader(String)
. At LauncherMain.java:[line 109]: Found reliance on default encoding in
org.apache.oozie.action.hadoop.LauncherMain.writeExternalChildIDs(String,
Pattern[], String): String.getBytes()
. At LauncherMain.java:[line 59]:
org.apache.oozie.action.hadoop.LauncherMain.HADOOP_SITE_FILES should be both
final and package protected
. At LauncherMain.java:[line 276]: 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)
. At LauncherMapper.java:[line 355]: Found reliance on default encoding in
org.apache.oozie.action.hadoop.LauncherMapper.propagateToHadoopConf(): new
java.io.FileWriter(String)
. At LauncherMapper.java:[line 356]: Found reliance on default encoding in
org.apache.oozie.action.hadoop.LauncherMapper.propagateToHadoopConf(): new
java.io.OutputStreamWriter(OutputStream)
. At LauncherMapper.java:[line 105]: Found reliance on default encoding in
org.apache.oozie.action.hadoop.LauncherMapper.setRecoveryId(Configuration,
Path, String): new java.io.InputStreamReader(InputStream)
. At LauncherMapper.java:[line 95]: Found reliance on default encoding in
org.apache.oozie.action.hadoop.LauncherMapper.setRecoveryId(Configuration,
Path, String): new java.io.OutputStreamWriter(OutputStream)
. Obligation to clean up resource created at LauncherMapper.java:[line 407]
is not discharged:
org.apache.oozie.action.hadoop.LauncherMapper.getLocalFileContentStr(File,
String, int) may fail to clean up java.io.Reader on checked exception
. Path continues at LauncherMapper.java:[line 410]: Path continues at
LauncherMapper.java:[line 408]
. org.apache.oozie.action.hadoop.LauncherMapper.propagateToHadoopConf() may
fail to clean up java.io.Writer on checked exception: Path continues at
LauncherMapper.java:[line 411]
. Write to static field
org.apache.oozie.action.hadoop.LauncherSecurityManager.exitCode from instance
method org.apache.oozie.action.hadoop.LauncherSecurityManager.checkExit(int):
Obligation to clean up resource created at LauncherMapper.java:[line 355] is
not discharged
. Write to static field
org.apache.oozie.action.hadoop.LauncherSecurityManager.exitInvoked from
instance method
org.apache.oozie.action.hadoop.LauncherSecurityManager.checkExit(int): At
LauncherMapper.java:[line 679]
. Found reliance on default encoding in
org.apache.oozie.action.hadoop.MapReduceMain.writeJobIdFile(File, String):
String.getBytes(): At LauncherMapper.java:[line 678]
. org.apache.oozie.action.hadoop.MapReduceMain.writeJobIdFile(File, String)
may fail to clean up java.io.OutputStream on checked exception: At
MapReduceMain.java:[line 85]
. Path continues at MapReduceMain.java:[line 85]: Obligation to clean up
resource created at MapReduceMain.java:[line 84] is not discharged
. At ShellMain.java:[line 228]: Found reliance on default encoding in
org.apache.oozie.action.hadoop.ShellMain.handleShellOutput(Process, boolean):
new java.io.InputStreamReader(InputStream)
. Found reliance on default encoding in
org.apache.oozie.action.hadoop.ShellMain.writeLoggerProperties(Configuration,
File): new java.io.PrintWriter(OutputStream): Another occurrence at
ShellMain.java:[line 229]
. Found reliance on default encoding in
org.apache.oozie.action.hadoop.ShellMain$OutputWriteThread.run(): new
java.io.FileWriter(File): At ShellMain.java:[line 172]
. Should org.apache.oozie.action.hadoop.ShellMain$OutputWriteThread be a
_static_ inner class?: At ShellMain.java:[line 265]
. At ShellMain.java:[lines 247-305]
. {color:green}+1{color} There are no new bugs found in [tools].
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
. {color:green}+1{color} the patch does not change any JPA
Entity/Colum/Basic/Lob/Transient annotations
. {color:green}+1{color} the patch does not modify JPA files
{color:green}+1 TESTS{color}
. Tests run: 1909
{color:green}+1 DISTRO{color}
. {color:green}+1{color} distro tarball builds with the patch
----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}
The full output of the test-patch run is available at
. https://builds.apache.org/job/oozie-trunk-precommit-build/3720/
> SparkConfigurationService should support loading configurations from multiple
> Spark versions
> --------------------------------------------------------------------------------------------
>
> Key: OOZIE-2812
> URL: https://issues.apache.org/jira/browse/OOZIE-2812
> Project: Oozie
> Issue Type: Improvement
> Reporter: Peter Cseh
> Assignee: Peter Cseh
> Attachments: OOZIE-2812.001.patch, OOZIE-2812.002.patch,
> OOZIE-2812.003.patch, OOZIE-2812.004.patch
>
>
> Right now SparkConfigruationService serves one Spark configuration set by
> {{oozie.service.SparkConfigurationService.spark.configurations}}
> We cloud improve this to support more versions depending on the name of the
> sharelib.
> E.g. the property could change to
> oozie.service.SparkConfigurationService.<sharelib_name>.configurations
> This would be backward compatible as the name for the default Spark sharelib
> is spark while it would be possible to add a sharelib named spark2 or
> spark2.1 and define itheir configuration via
> oozie.service.SparkConfigurationService.spark2.configurations and
> oozie.service.SparkConfigurationService.spark2.1.configurations.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)