Re: Sqoop Free Form Import Query Breaks off

2014-12-25 Thread Abraham Elmahrek
Glad it's working. I'm a bit concerned that it didn't work. So just for future reference, removing quotes might be necessary as well. -Abe On Thu, Dec 25, 2014 at 12:39 PM, Vineet Mishra wrote: > Hi Abe, > > Thanks for your quick suggestion, even I already tried this as well and > unfortunatel

Re: Sqoop Free Form Import Query Breaks off

2014-12-25 Thread Vineet Mishra
Hi Abe, Thanks for your quick suggestion, even I already tried this as well and unfortunately this too didn't worked for my case. At last I got a work around to the problem, I got a understanding that since its was working fine given the same command through command terminal and was breaking when

Re: Sqoop Free Form Import Query Breaks off

2014-12-25 Thread Abraham Elmahrek
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,%20jav

Re: Sqoop Free Form Import Query Breaks off

2014-12-25 Thread Vineet Mishra
Hey regret for the same, as you can see this is a urgent issue I am stuck at and in a hurry instead of including cloudera mailing list eventually I ended up in adding cassandra. Will take care of it in future and thanks for your mail. :) On Thu, Dec 25, 2014 at 9:01 PM, Jens Rantil wrote: > Hi

Re: Sqoop Free Form Import Query Breaks off

2014-12-25 Thread Jens Rantil
Hi, Does this have anything to do with Cassandra? Also, please try to avoid cross posting; It makes it hard for - future readers to read the full thread. - anyone to follow the full thread. - anyone to respond. I assume there are few who are enrolled to both mailing lists at the same time. Than

Sqoop Free Form Import Query Breaks off

2014-12-25 Thread Vineet Mishra
Hi All, I am facing a issue while Sqoop(Sqoop version: 1.4.3-cdh4.7.0) Import, I am having a Java threaded code to import data from multiple databases running at different servers. Currently I am doing a Java Process Execute something like to execute sqoop job, Runtime.getRuntime().exec("/usr/bi