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:[email protected]



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

Reply via email to