[
https://issues.apache.org/jira/browse/SQOOP-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233629#comment-14233629
]
Veena Basavaraj commented on SQOOP-1815:
----------------------------------------
Adding failure info to the trace
{code}
java.lang.AssertionError: Submission has failed with MSubmission [jobId=1,
status=FAILED, externalId=job_1417647106005_0001, progress=-1.0,
counters=org.apache.sqoop.submission.counter.Counters@2d5d1ec6,
externalLink=http://vbasavaraj.local:63881/cluster/app/application_1417647106005_0001,
failureInfo=Application application_1417647106005_0001 failed 2 times due to
AM Container for appattempt_1417647106005_0001_000002 exited with exitCode:
127 due to: Exception from container-launch: ExitCodeException exitCode=127:
ExitCodeException exitCode=127:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
at
org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:300)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Container exited with a non-zero exit code 127
.Failing this attempt.. Failing the application., exceptionInfo=Application
application_1417647106005_0001 failed 2 times due to AM Container for
appattempt_1417647106005_0001_000002 exited with exitCode: 127 due to:
Exception from container-launch: ExitCodeException exitCode=127:
ExitCodeException exitCode=127:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
at
org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:300)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Container exited with a non-zero exit code 127
.Failing this attempt.. Failing the application., exceptionStackTrace=null,
fromSchema=null, toSchema=null]:Application application_1417647106005_0001
failed 2 times due to AM Container for appattempt_1417647106005_0001_000002
exited with exitCode: 127 due to: Exception from container-launch:
ExitCodeException exitCode=127:
ExitCodeException exitCode=127:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
at org.apache.hadoop.util.Shell.run(Shell.java:455)
at
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
at
org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:300)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Container exited with a non-zero exit code 127
.Failing this attempt.. Failing the application. expected:<SUCCEEDED> but
was:<FAILED>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at
org.apache.sqoop.test.testcases.ConnectorTestCase.executeJob(ConnectorTestCase.java:254)
at
org.apache.sqoop.test.testcases.ConnectorTestCase.executeJob(ConnectorTestCase.java:265)
at
org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest.testSplitter(PartitionerTest.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at o
{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)