sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1830) GenericJdBcExtractor does not create java date objects when extracting
Date Wed, 03 Dec 2014 16:36:12 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233169#comment-14233169
] 

Veena Basavaraj commented on SQOOP-1830:
----------------------------------------

I get this when I run PartitionerTest locally. But the FromRDBMStoHDFSTest passed

{code}

Failed tests:   testSplitter[id-13-3](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Output do not match expectations.
  testSplitter[id-13-5](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Output do not match expectations.
  testSplitter[id-13-10](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Output do not match expectations.
  testSplitter[id-13-13](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Output do not match expectations.

Tests in error: 
  testSplitter[id-13-13](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Failed to stop the Tomcat 6.x container. Check the [/var/folders/l8/hyl1hnqj3vq57gdf8f9nb0740000gp/T//sqoop-cargo-tests/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[id-13-13]//log/tomcat.log]
file containing the container logs for more details.
  testSplitter[code_name-13-3](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
CLIENT_0004:Unable to find valid Kerberos ticket cache (kinit)
  testSplitter[code_name-13-3](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Failed to stop the Tomcat 6.x container. Check the [/var/folders/l8/hyl1hnqj3vq57gdf8f9nb0740000gp/T//sqoop-cargo-tests/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[code_name-13-3]//log/tomcat.log]
file containing the container logs for more details.
  testSplitter[code_name-13-5](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Failed to start the Tomcat 6.x container. Check the [/var/folders/l8/hyl1hnqj3vq57gdf8f9nb0740000gp/T//sqoop-cargo-tests/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[code_name-13-5]//log/tomcat.log]
file containing the container logs for more details.
  testSplitter[code_name-13-10](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[code_name-13-10]
does not exist.
  testSplitter[code_name-13-13](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[code_name-13-13]
does not exist.
  testSplitter[code_name-13-13](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
Failed to stop the Tomcat 6.x container. Check the [/var/folders/l8/hyl1hnqj3vq57gdf8f9nb0740000gp/T//sqoop-cargo-tests/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[code_name-13-13]//log/tomcat.log]
file containing the container logs for more details.
  testSplitter[version-13-3](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
CLIENT_0004:Unable to find valid Kerberos ticket cache (kinit)
  testSplitter[version-13-5](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[version-13-5]
does not exist.
  testSplitter[version-13-10](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[version-13-10]
does not exist.
  testSplitter[version-13-13](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[version-13-13]
does not exist.
  testSplitter[release_date-13-3](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[release_date-13-3]
does not exist.
  testSplitter[release_date-13-5](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[release_date-13-5]
does not exist.
  testSplitter[release_date-13-10](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[release_date-13-10]
does not exist.
  testSplitter[release_date-13-13](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[release_date-13-13]
does not exist.
  testSplitter[lts-2-3](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[lts-2-3]
does not exist.
  testSplitter[lts-2-5](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[lts-2-5]
does not exist.
  testSplitter[lts-2-10](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[lts-2-10]
does not exist.
  testSplitter[lts-2-13](org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest):
File /mapreduce-job-io/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest/testSplitter[lts-2-13]
does not exist.

Tests run: 23, Failures: 4, Errors: 19, Skipped: 0

{code}

There is something with {code} kinit error {code}  that another person had reported when starting
sqoop server.

All of this could be a manisfestation of something underneath that is broken

my logdir : /var/folders/l8/hyl1hnqj3vq57gdf8f9nb0740000gp/T//sqoop-cargo-tests/log/ did not
have much info either

> GenericJdBcExtractor does not create java date objects when extracting
> ----------------------------------------------------------------------
>
>                 Key: SQOOP-1830
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1830
>             Project: Sqoop
>          Issue Type: Bug
>          Components: sqoop2-framework
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1830.patch
>
>
> {code} 
> for (int i = 0; i< column; i++) {
>           array[i] = resultSet.getObject(i + 1) == null ? GenericJdbcConnectorConstants.SQL_NULL_VALUE
>               : resultSet.getObject(i + 1);
>         }
>         
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message