Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # dev >> How to compile sqoop


Copy link to this message
-
Re: How to compile sqoop
Thanks, Arvind. I'll include this in the wiki today.

Best,
 Alex
On Dec 23, 2012, at 7:55 PM, vasanth kumar <r
[EMAIL PROTECTED]> wrote:

> Hi,
> I am using Sqoop2. I got sources from GIT and maven build working fine. But
> for setting up the development environment for eclipse. I tried "mvn
> eclipse:eclipse" classpath is not resolving. .classpath file is created in
> each module. How to combine all module .classpath? Kindly help for setting
> dev environment.
>
>
> On Fri, Dec 21, 2012 at 12:01 PM, Alexander Alten-Lorenz <
> [EMAIL PROTECTED]> wrote:
>
>>
>> Hi Hong,
>>
>> got it.
>> Before you start a new build you should clean out the older one with: "ant
>> clean all". This will erase all artifacts and builded jars in your project.
>>
>> Hope it helps,
>> Alex
>>
>>
>> On Dec 21, 2012, at 4:28 AM, Zhao Hong <[EMAIL PROTECTED]> wrote:
>>
>>> Hi Alexander,
>>>
>>> My hadoop cluster version is  hadoop-0.20.2-cdh3u2.
>>> I compile the hadoop by myself cause that I want to study on it .
>>>
>>> Regards,
>>> Hong
>>>
>>>
>>> On Thu, Dec 20, 2012 at 10:44 PM, Alexander Alten-Lorenz <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> Why you don't use the Apache sqoop versions:
>>>> http://apache.imsam.info/sqoop/1.4.2/
>>>>
>>>> Or, when you want to build Sqoop by yourself edit the buid.xml as
>>>> described in https://issues.apache.org/jira/browse/SQOOP-384
>>>>
>>>> Best,
>>>> Alex
>>>>
>>>> On Dec 20, 2012, at 1:38 PM, Zhao Hong <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> Sorry for the wrong word.   I can get the right result when run the
>> same
>>>>> command using the sqoop from the org.
>>>>>
>>>>>
>>>>> On Thu, Dec 20, 2012 at 8:36 PM, Zhao Hong <[EMAIL PROTECTED]>
>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> I  compiled branch-1.4.2 of  sqoop  with the  command below.
>>>>>>         ant jar-all -Dhadoopverion=20
>>>>>> and the result is totally successful.
>>>>>>
>>>>>> When I  try to import some data from oracle database using the sqoop
>>>> that
>>>>>> I built ,  I got the exception : "Exception in thread "main"
>>>>>> java.lang.IncompatibleClassChangeError: Found class
>>>>>> org.apache.hadoop.mapreduce.JobContext, but interface was expected."
>>>>>>
>>>>>> I cant get the right result when run the same command using the sqoop
>>>> from
>>>>>> the org and my hadoop version is  hadoop-0.20.2-cdh3u2.
>>>>>>
>>>>>> So, my question is how should I compile the sqoop to work with my
>>>> hadoop.
>>>>>>
>>>>>> Thanks & Regards.
>>>>>>
>>>>>> Hong
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
>
>
> --
> Regards
> Vasanth kumar RJ
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB