sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: Sqoop Free Form Import Query Breaks off
Date Thu, 25 Dec 2014 19:23:06 GMT
Seems like exec parses the command with StringTokenizer [1]. This may have
some difficulty parsing with quotes. Try using the array form of this
command to explicitly define your String tokens [2].

Ref:
1.
http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String,%20java.lang.String[],%20java.io.File)
2.
http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File)

-Abe

On Thu, Dec 25, 2014 at 5:24 AM, Vineet Mishra <clearmidoubt@gmail.com>
wrote:

> exec

Mime
View raw message