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

Switch to Threaded View
Sqoop, mail # user - Fsqoop install issues


Copy link to this message
-
Re: Fsqoop install issues
Jarek Jarcec Cecho 2012-12-03, 16:05
It seems that the issue was resolved in cdh-user mailing list [1].

Jarcec

Links:
1: https://groups.google.com/a/cloudera.org/d/topic/cdh-user/X6_Bn4SiE_o/discussion

On Mon, Dec 03, 2012 at 01:34:00AM -0800, sumit ghosh wrote:
> Hi,
>
>
> I am getting the following error when I try to run sqoop from a CDH3u5 Install on RHEL 5: (I have already posted this on CDH-user incase any one has a clue it will help)
> # sqoop version
> Warning: /usr/lib/hbase does not exist! HBase imports will fail.
> Please set $HBASE_HOME to the root of your HBase installation.
> /usr/lib/sqoop/bin/sqoop: line 101: /usr/lib/hadoop/bin/hadoop: No such file or directory
> /usr/lib/sqoop/bin/sqoop: line 101: exec: /usr/lib/hadoop/bin/hadoop: cannot execute: No such file or directory
> #
>
> However my HADOOP_HOME points to a different location:
> # export | grep -i hadoop
> declare -x HADOOP_HOME="/usr/lib/hadoop- 0.20"
> #
>  
> sqoop user sees the corect directory-
> $ id
> uid=411(sqoop) gid=412(sqoop) groups=412(sqoop)
> $ echo $HADOOP_HOME
> /usr/lib/hadoop-0.20
> $
>
>  
> What do I need to do to fix this issue?