[
https://issues.apache.org/jira/browse/SQOOP-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703582#comment-14703582
]
Sqoop QA bot commented on SQOOP-2507:
-------------------------------------
Testing file
[SQOOP-2507.patch|https://issues.apache.org/jira/secure/attachment/12751179/SQOOP-2507.patch]
against branch sqoop2 took 0:04:04.718406.
{color:red}Overall:{color} -1 due to an error(s), see details below:
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:red}ERROR:{color} Some of unit tests failed
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1593/artifact/patch-process/test_unit.txt],
executed 381 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1593/artifact/patch-process/cobertura_report.txt])
{color:green}SUCCESS:{color} No new findbugs warnings
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1593/artifact/patch-process/findbugs_report.txt])
{color:red}ERROR:{color} Some of integration tests failed
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1593/artifact/patch-process/test_integration.txt],
executed 164 tests)
* Test {{org.apache.sqoop.integration.server.VersionTest}}
* Test {{org.apache.sqoop.integration.connector.kafka.FromRDBMSToKafkaTest}}
* Test {{org.apache.sqoop.integration.connector.hive.FromRDBMSToKiteHiveTest}}
* Test {{org.apache.sqoop.integration.connector.kafka.FromHDFSToKafkaTest}}
* Test {{org.apache.sqoop.integration.connector.hdfs.AppendModeTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.IncrementalReadTest}}
* Test {{org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.FromRDBMSToHDFSTest}}
* Test {{integration-tests}}
* Test {{org.apache.sqoop.integration.connector.hdfs.OutputDirectoryTest}}
* Test {{org.apache.sqoop.integration.connector.jdbc.generic.AllTypesTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.FromHDFSToRDBMSTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.TableStagedRDBMSTest}}
* Test {{org.apache.sqoop.integration.server.ShowJobInOrderTest}}
* Test
{{org.apache.sqoop.integration.server.SubmissionWithDisabledModelObjectsTest}}
* Test {{org.apache.sqoop.integration.connector.kite.FromRDBMSToKiteTest}}
* Test {{org.apache.sqoop.integration.server.InvalidRESTCallsTest}}
Console output is available
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1593/console].
This message is automatically generated.
> Sqoop2: Do not use default Tomcat handlers for unsupported HTTP methods
> -----------------------------------------------------------------------
>
> Key: SQOOP-2507
> URL: https://issues.apache.org/jira/browse/SQOOP-2507
> Project: Sqoop
> Issue Type: Sub-task
> Affects Versions: 1.99.6
> Reporter: Jarek Jarcec Cecho
> Assignee: Jarek Jarcec Cecho
> Fix For: 1.99.7
>
> Attachments: SQOOP-2507.patch
>
>
> I've noticed that in certain cases we'll revert to returning standard Tomcat
> HTML pages when calling some unsupported methods, for example:
> {code}
> <html><head><title>Apache Tomcat/6.0.37 - Error report</title><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
> </head><body><h1>HTTP Status 405 - HTTP method POST is not supported by this
> URL</h1><HR size="1" noshade="noshade"><p><b>type</b> Status
> report</p><p><b>message</b> <u>HTTP method POST is not supported by this
> URL</u></p><p><b>description</b> <u>The specified HTTP method is not allowed
> for the requested resource.</u></p><HR size="1" noshade="noshade"><h3>Apache
> Tomcat/6.0.37</h3></body></html>
> {code}
> I would like for us to not use those as the HTTP interface is public and part
> of our protocol and hence we should return Sqoop specific error messages for
> that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)