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-1815) Date and DateTime is not encoded in Single Quotes ( + unit tests)
Date Wed, 03 Dec 2014 18:33:14 GMT

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

Veena Basavaraj commented on SQOOP-1815:
----------------------------------------

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, the files were 

{code}
vbasavaraj:org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest vbasavaraj$
pwd
/var/folders/l8/hyl1hnqj3vq57gdf8f9nb0740000gp/T/sqoop-cargo-tests/org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest
vbasavaraj:org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest vbasavaraj$

vbasavaraj:org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest vbasavaraj$

vbasavaraj:org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest vbasavaraj$

vbasavaraj:org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest vbasavaraj$
ls -l
total 0
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:20 testSplitter[code_name-13-10]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:21 testSplitter[code_name-13-13]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:16 testSplitter[code_name-13-3]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:18 testSplitter[code_name-13-5]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:13 testSplitter[id-13-10]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:13 testSplitter[id-13-13]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:12 testSplitter[id-13-3]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:12 testSplitter[id-13-5]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 00:25 testSplitter[id-5-3]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 00:20 testSplitter[id-5-5]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:25 testSplitter[lts-2-10]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:26 testSplitter[lts-2-13]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:25 testSplitter[lts-2-3]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:25 testSplitter[lts-2-5]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:24 testSplitter[release_date-13-10]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:25 testSplitter[release_date-13-13]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:24 testSplitter[release_date-13-3]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:24 testSplitter[release_date-13-5]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:23 testSplitter[version-13-10]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:24 testSplitter[version-13-13]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:23 testSplitter[version-13-3]
drwxr-xr-x  4 vbasavaraj  staff  136 Dec  3 08:23 testSplitter[version-13-5]
vbasavaraj:org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest vbasavaraj
{code}

> Date and DateTime is not encoded in Single Quotes  ( + unit tests)
> ------------------------------------------------------------------
>
>                 Key: SQOOP-1815
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1815
>             Project: Sqoop
>          Issue Type: Sub-task
>          Components: sqoop2-framework
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1815-v2.patch, SQOOP-1815-v5.patch, SQOOP-1815.patch
>
>
> I deem this is a BUG in the current code where the date and date time encoded in single
quotes. 
> Correction: as the bug says, it is not encoded.!



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

Mime
View raw message