Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # user >> OraOop


+
Kathleen Ting 2012-07-04, 19:13
+
Cheolsoo Park 2012-07-04, 20:05
+
Cheolsoo Park 2012-07-04, 20:21
+
David Robson 2012-07-05, 00:19
+
Cheolsoo Park 2012-07-05, 05:43
+
Cheolsoo Park 2012-07-05, 05:46
Hi Venky,

OK, can you try the following then?

1) Since you can't checkout source code, please download the source tarball
from one of sqoop mirror sites (http://www.apache.org/dyn/closer.cgi/sqoop/
).

For example:
http://www.reverse.net/pub/apache/sqoop/1.4.1-incubating/sqoop-1.4.1-incubating-src.tar.gz

2) tar -xf sqoop-1.4.1-incubating-src.tar.gz

3) cd sqoop-1.4.1-incubating-src

4) wget
https://issues.apache.org/jira/secure/attachment/12531120/SQOOP-480-2.patch

5) patch -p0 -i SQOOP-480.patch

6) ant jar-all

7) You will find "sqoop-test-1.4.2-incubating-SNAPSHOT.jar" in the "build"
sub-directory.

8) Replace /usr/lib/sqoop/sqoop-1.4.1-cdh4.0.0.jar with
sqoop-test-1.4.2-incubating-SNAPSHOT.jar.

Thanks!
Cheolsoo
On Wed, Jul 4, 2012 at 11:02 PM, venkatesh warulu <[EMAIL PROTECTED]> wrote:

> Hi Cheolsoo,
>
> Just I have installed Svn and tried to execute the steps mentioned in the
> note , getting follwoing error
>
>  svn co https://svn.apache.org/repos/asf/sqoop/trunk/ sqoop
> svn: OPTIONS of 'https://svn.apache.org/repos/asf/sqoop/trunk':
> could not connect to server (https://svn.apache.org/)
> Also need to understand after the build , which file need to be replaced
>
>  /usr/lib/sqoop/sqoop-*
> -rw-r--r-- 1 root root 596185 Jun  4 17:45
> /usr/lib/sqoop/sqoop-1.4.1-cdh4.0.0.jar
> -rw-r--r-- 1 root root 291898 Jun  4 17:45
> /usr/lib/sqoop/sqoop-test-1.4.1-cdh4.0.0.jar
>
> Regards
> Venky
>   *From:* Cheolsoo Park <[EMAIL PROTECTED]>
> *To:* venkatesh warulu <[EMAIL PROTECTED]>
> *Cc:* "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> *Sent:* Thursday, July 5, 2012 1:46 PM
> *Subject:* Re: OraOop
>
> Typo correction:
>
> Would you mind if I ask why you can't build Sqoop?
>
>
> On Wed, Jul 4, 2012 at 10:43 PM, Cheolsoo Park <[EMAIL PROTECTED]>wrote:
>
> Hi Venky,
>
> Unfortunately, there is no compiled code that includes this fix at the
> moment. We're going to release a new version of Sqoop soon, but you will
> have to wait until then though.
>
> Would you mind asking why you can't build Sqoop?
>
> Thanks,
> Cheolsoo
>
> On Wed, Jul 4, 2012 at 10:21 PM, venkatesh warulu <[EMAIL PROTECTED]>wrote:
>
>
>   Hi Cheolsoo
>
> Thank for all your valuable suppot ...
> Ubfortunately I could not able to build , Is it any way possible to get
> the compiled code , so that I can just deploy
>
>
> Regards
> Venky
>
>   *From:* Cheolsoo Park <[EMAIL PROTECTED]>
> *To:* venkatesh warulu <[EMAIL PROTECTED]>
> *Cc:* "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> *Sent:* Thursday, July 5, 2012 1:09 PM
> *Subject:* Re: OraOop
>
> Hi Venky,
>
> Sure. No problem.
>
> 1) Checkout the latest Sqoop source code that already includes SQOOP-480
> from the project repository and build. For details, please refer to the
> following link:
>
>
> https://cwiki.apache.org/confluence/display/SQOOP/Setting+up+Development+Environment
>
> 2) Replace the installed Sqoop jar with the one that you've just built. If
> you installed Sqoop from rpm or deb, you can find the installed jar at
> /usr/lib/sqoop/lib.
>
> Please let me know if you have any further questions.
>
> Thanks,
> Cheolsoo
>
>  On Wed, Jul 4, 2012 at 7:42 PM, venkatesh warulu <[EMAIL PROTECTED]>wrote:
>
>  Hi ,
>
> This is new area for me to explore ... Will you please provide me the
> steps to apply the patch *SQOOP-480*.
>
>
>
> Regards
> Venky
>   *From:* Cheolsoo Park <[EMAIL PROTECTED]>
> *To:* [EMAIL PROTECTED]
> *Cc:* [EMAIL PROTECTED]
> *Sent:* Thursday, July 5, 2012 4:05 AM
> *Subject:* Re: OraOop
>
> Hi Venky,
>
> Exception in thread "main"
> java.lang.NoSuchMethodError: com.cloudera.sqoop.manager.ImportJobContext.setConnManager(Lcom/cloudera/sqoop/manager/ConnManager;)V
>
>
> This is fixed in the upstream trunk. Please see SQOOP-480:
> https://issues.apache.org/jira/browse/SQOOP-480. Unfortunately, there is
> no official Sqoop release that include this fix, so you will have to apply
> the patch and rebuild Sqoop.
>
>  Thanks,
> Cheolsoo
+
Cheolsoo Park 2012-07-05, 06:26
+
Cheolsoo Park 2012-07-05, 07:43
+
Cheolsoo Park 2012-07-05, 08:16
+
Cheolsoo Park 2012-07-05, 05:09