Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to kill a sqoop import .. command through unix shell ?

avatar
Contributor

I run a sqoop import command 

 

sqoop import --connect jdbc:oracle:thin:.... --username ....  --password ...
--query "SELECT $CHOOSE_COLUMN_NAMES FROM $OTABLE where $OWHERE and \$CONDITIONS"  ...

 

through unix shell. If the command takes a long time  how can i kill through shell ?

 

Thanks in advance. 

1 ACCEPTED SOLUTION

avatar
Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Expert Contributor

Hello @eMazarakis,

 

Logically, you just search for the process and then use KILL command to kill that process.

 

Hope that helps.

avatar
Contributor

@Consult  i thought the same think, but I had an incident yesterday. I killed the process but the morning I saw the table to be imported under the sqoop schema. I was wondering if there is another way to kill the command.

 

 

avatar
Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login