[
https://issues.apache.org/jira/browse/OOZIE-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052993#comment-16052993
]
Hadoop QA commented on OOZIE-2955:
----------------------------------
Testing JIRA OOZIE-2955
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:green}+1{color} the patch does not introduce any line longer than
132
. {color:red}-1{color} the patch does not add/modify any testcase
{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:red}WARNING{color}: the current HEAD has 6 Javadoc warning(s)
{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:green}+1{color} There are no new bugs found in total.
{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:red}-1 TESTS{color}
. Tests run: 1967
. Tests failed: 6
. Tests errors: 2
. The patch failed the following testcases:
. testMain(org.apache.oozie.action.hadoop.TestHiveMain)
. testPigScript(org.apache.oozie.action.hadoop.TestPigMainWithOldAPI)
. testPig_withNullExternalID(org.apache.oozie.action.hadoop.TestPigMain)
. testEmbeddedPigWithinPython(org.apache.oozie.action.hadoop.TestPigMain)
. testPigScript(org.apache.oozie.action.hadoop.TestPigMain)
. testLoadDump(org.apache.oozie.tools.TestDBLoadDump)
. Tests failing with errors:
. testAddXIncludeFromReader(org.apache.oozie.util.TestXConfiguration)
. testAddXIncludeFromStream(org.apache.oozie.util.TestXConfiguration)
{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}
{color:red}. There is at least one warning, please check{color}
The full output of the test-patch run is available at
. https://builds.apache.org/job/oozie-trunk-precommit-build/3905/
> Fix Findbugs warnings related to reliance on default encoding in oozie-client
> -----------------------------------------------------------------------------
>
> Key: OOZIE-2955
> URL: https://issues.apache.org/jira/browse/OOZIE-2955
> Project: Oozie
> Issue Type: Sub-task
> Components: build, client
> Reporter: Jan Hentschel
> Assignee: Jan Hentschel
> Attachments: OOZIE-2955-1.patch
>
>
> Currently Findbugs complains about the following warnings related to the
> reliance on the default encoding in the *oozie-client* module:
> {code}
> [INFO] Found reliance on default encoding in
> org.apache.oozie.cli.CLIParser.showHelp(CommandLine): new
> java.io.PrintWriter(OutputStream) [org.apache.oozie.cli.CLIParser] At
> CLIParser.java:[line 169]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.cli.OozieCLI.getConfiguration(OozieClient, CommandLine): new
> java.io.FileReader(File) [org.apache.oozie.cli.OozieCLI] At
> OozieCLI.java:[line 845]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.cli.OozieCLI.validateCommandV41(CommandLine): new
> java.io.FileReader(File) [org.apache.oozie.cli.OozieCLI] At
> OozieCLI.java:[line 2171]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.AuthOozieClient.readAuthToken(): new
> java.io.FileReader(File) [org.apache.oozie.client.AuthOozieClient] At
> AuthOozieClient.java:[line 218]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.AuthOozieClient.writeAuthToken(AuthenticatedURL$Token):
> new java.io.FileWriter(File) [org.apache.oozie.client.AuthOozieClient] At
> AuthOozieClient.java:[line 248]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient.getSupportedProtocolVersions(): new
> java.io.InputStreamReader(InputStream) [org.apache.oozie.client.OozieClient]
> At OozieClient.java:[line 412]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$BulkResponseStatus.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$BulkResponseStatus] At
> OozieClient.java:[line 1693]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$BundleJobInfo.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$BundleJobInfo] At OozieClient.java:[line
> 1502]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$BundleJobsStatus.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$BundleJobsStatus] At
> OozieClient.java:[line 1667]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$CoordActionInfo.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$CoordActionInfo] At
> OozieClient.java:[line 1522]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$CoordActionsKill.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$CoordActionsKill] At
> OozieClient.java:[line 1720]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$CoordIgnore.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$CoordIgnore] At OozieClient.java:[line
> 1743]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$CoordJobInfo.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$CoordJobInfo] At OozieClient.java:[line
> 1455]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$CoordJobsStatus.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$CoordJobsStatus] At
> OozieClient.java:[line 1640]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$CoordRerun.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$CoordRerun] At OozieClient.java:[line
> 1773]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$GetBuildVersion.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$GetBuildVersion] At
> OozieClient.java:[line 2168]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$GetInstrumentation.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$GetInstrumentation] At
> OozieClient.java:[line 2907]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$GetMetrics.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$GetMetrics] At OozieClient.java:[line
> 2674]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$GetQueueDump.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$GetQueueDump] At OozieClient.java:[line
> 2532]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$GetSystemMode.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$GetSystemMode] At OozieClient.java:[line
> 2126]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JMSInfo.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JMSInfo] At OozieClient.java:[line 1005]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JMSTopic.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JMSTopic] At OozieClient.java:[line 1218]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JobIdAction.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JobIdAction] At OozieClient.java:[line
> 2066]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JobInfo.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JobInfo] At OozieClient.java:[line 986]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JobMetadata.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JobMetadata] At OozieClient.java:[line
> 1367]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JobSubmit.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JobSubmit] At OozieClient.java:[line 717]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JobsAction.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JobsAction] At OozieClient.java:[line
> 772]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$JobsStatus.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$JobsStatus] At OozieClient.java:[line
> 1613]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$ListShareLib.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$ListShareLib] At OozieClient.java:[line
> 2269]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$MapClientCallable.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$MapClientCallable] At
> OozieClient.java:[line 610]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$SlaInfo.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$SlaInfo] At OozieClient.java:[line 2043]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$Status.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$Status] At OozieClient.java:[line 2509]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$UpdateCoord.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$UpdateCoord] At OozieClient.java:[line
> 833]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$UpdateSharelib.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$UpdateSharelib] At
> OozieClient.java:[line 2227]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$ValidateXML.call(HttpURLConnection): new
> java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$ValidateXML] At OozieClient.java:[line
> 2201]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$WfsForCoordAction.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$WfsForCoordAction] At
> OozieClient.java:[line 1476]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$WorkflowActionInfo.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$WorkflowActionInfo] At
> OozieClient.java:[line 1025]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.OozieClient$WorkflowActionRetriesInfo.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.OozieClient$WorkflowActionRetriesInfo] At
> OozieClient.java:[line 1046]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.XOozieClient.readScript(String): new
> java.io.FileReader(String) [org.apache.oozie.client.XOozieClient] At
> XOozieClient.java:[line 81]
> [INFO] Found reliance on default encoding in
> org.apache.oozie.client.XOozieClient$HttpJobSubmit.call(HttpURLConnection):
> new java.io.InputStreamReader(InputStream)
> [org.apache.oozie.client.XOozieClient$HttpJobSubmit] At
> XOozieClient.java:[line 275]
> {code}
> They should be fixed to get the code more reliable.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)