You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "eiko (JIRA)" <ji...@apache.org> on 2015/05/18 13:18:02 UTC
[jira] [Created] (HADOOP-11992) ORA-00933: SQL command not properly
ended
eiko created HADOOP-11992:
-----------------------------
Summary: ORA-00933: SQL command not properly ended
Key: HADOOP-11992
URL: https://issues.apache.org/jira/browse/HADOOP-11992
Project: Hadoop Common
Issue Type: Bug
Reporter: eiko
Assignee: eiko
hello
when I insert data into oracle database from hdfs with mapreduce.error occur like this.
ORA-00933: SQL command not properly ended
-----------------------------------------
this is my solution
hadoop version:hadoop-2.6.0
file:DBOutputFormat.class
method:constructQuery
line:163 query.append(");");
-------------------------------------
modify like this
query.append(")"+"\n");
contact me
email:minicoolva@gmail.com
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)