the Hadoop sanity check did not pass.

4 posts / 0 new
Last post
madenghao
madenghao's picture
Offline
Last seen: 2 months 2 weeks ago
Joined: Apr 8 2014
Junior Boarder

Posts: 6

madenghao madenghao
the Hadoop sanity check did not pass.

when i am runing the step of  /usr/local/Calpont/bin/post-install

there is some following problem :

 

 

# /usr/local/Calpont/bin/post-install
/root/setenv-hdfs-20: line 22: /usr/lib/hadoop/libexec/hadoop-config.sh: No such file or directory
/root/setenv-hdfs-12: line 25: /usr/lib/hadoop/libexec/hadoop-config.sh: No such file or directory
If you are intending to install InfiniDB over Hadoop, the Hadoop sanity check did not pass.
Most likely there is an environment setup conflict.
Please Contact InfiniDB Customer Support.

 

but i find that there is not /usr/lib/hadoop/libexec/hadoop-config.sh

and i do not which environment conficts
 

davidhill
davidhill's picture
Offline
Last seen: 1 day 20 hours ago
Joined: Oct 27 2009
Administrator

Posts: 561

david hill
The conflict is the hadoop

The conflict is the hadoop config files aren't in the location we expected... Can you provide the following information by running these commands:

 

# hadoop version
# find // -name hadoop-config.sh
# echo $HADOOP_PREFIX
# echo $HADOOP_CONF_DIR
 
Thanks, David Hill  (InfiniDB)
madenghao
madenghao's picture
Offline
Last seen: 2 months 2 weeks ago
Joined: Apr 8 2014
Junior Boarder

Posts: 6

madenghao madenghao
he Hadoop sanity check did not pass.

Hello  David Hill  (InfiniDB) 

thank you  for your help .

 

 

# hadoop version

Hadoop 1.2.0.1.3.0.0-107
Subversion git://ip-10-191-187-97/ on branch condor-branch-1 -r d4625cb994e0143f5f4b538f0f2f4a41ad6464a2
Compiled by jenkins on Mon May 20 02:20:01 EDT 2013
From source with checksum 295dfaf445332ed0c577a94795a1eaa9
This command was run using /usr/hadoop/hadoop-1.2.0.1.3.0.0-107/hadoop-core-1.2.0.1.3.0.0-107.jar
 
# find // -name hadoop-config.sh
//usr/hadoop/hadoop-1.2.0.1.3.0.0-107/bin/hadoop-config.sh
//usr/hadoop/hadoop-1.2.0.1.3.0.0-107/libexec/hadoop-config.sh
 
# echo $HADOOP_PREFIX
/usr/hadoop/hadoop-1.2.0.1.3.0.0-107
 
# echo $HADOOP_CONF_DIR
 /usr/hadoop/hadoop-1.2.0.1.3.0.0-107: is a directory
 
 
 
 

 

davidhill
davidhill's picture
Offline
Last seen: 1 day 20 hours ago
Joined: Oct 27 2009
Administrator

Posts: 561

david hill
The hadoop install path is

The hadoop install path is different than what we are setup for.

 

Try editing /usr/local/Calpont/bin/setenv-hds-20

 

Change this line:

 

  HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec

 

to:

 

  HADOOP_LIBEXEC_DIR=/usr/hadoop/hadoop-1.2.0.1.3.0.0-107/libexec

 

Then re-run this and see it to works by telling you to run postConfigure.. 

 

/usr/local/Calpont/bin/post-install

 

 

I will also be opening up a BUG on my end for this issue. But try this and see if it works

 

David