`pdsh` should also probably be added to the list of required packages in
  package_list="java-1.7.0-openjdk-devel qpid-cpp-client perl sqlite "
since it's used by the installer.

Cloudera's installer also seems to install Java 6, which was used in preference 
over Java 7 by the servers, causing exceptions when loading the Java-7-compiled 
TransactionalRegionServer on HBase restart:
  Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/hadoop/hbase/regionserver/transactional/TransactionalRegionServer : 
Unsupported major.minor version 51.0

Removing it seems to make Cloudera use Java 7 instead.
  yum remove jdk-1.6.0_31-fcs.x86_64 

Thanks,
Jin

Tung Jin Chew  |  Software Developer, Autonomy  |  HP Software  |  
[email protected]

________________________________________
From: Trafodion-general 
[trafodion-general-bounces+tung-jin.chew=hp....@lists.launchpad.net] on behalf 
of Chew, Tung Jin
Sent: 11 July 2014 10:34
To: [email protected]
Subject: [Trafodion-general] Trafodion 'traf_cloudera_mods' installer issues

Hi,

I'm testing the Trafodion 0.8.2 installer using the instructions at 
https://wiki.trafodion.org/wiki/index.php/Trafodion_Installation#STEP_START_INSTALL
 on CentOS 6.5 with CDH 4.5.0.

When I run the traf_cloudera_mods script:
  [root@hadoop-trafodion installer]# ./traf_cloudera_mods --trafodion_build 
/root/trafodion-0.8.2/trafodion_server-0.8.0.tgz
it succeeds; but I think it's failing on some of the curl commands. The script 
assumes that the HDFS service is called 'hdfs1', e.g.
  
http://$CLOUDERA_MANAGER_URL/api/v1/clusters/$CLUSTER_NAME/services/hdfs1/config<https://webmail.hp.com/owa/UrlBlockedError.aspx>

but the current Cloudera installer seems to have renamed it to just 'hdfs', 
e.g. this fails:
  root@hadoop-trafodion ~]# curl -u admin:admin 
localhost:7180/api/v1/clusters/hadoop-trafodion.autonomy.com/services/hdfs1/config
{
  "message" : "Service 'hdfs1' not found in cluster 
'hadoop-trafodion.autonomy.com'."
}
while the service name 'hdfs' works
  [root@hadoop-trafodion ~]# curl -s -u admin:admin 
localhost:7180/api/v1/clusters/hadoop-trafodion.autonomy.com/services/hdfs/config
 | head
{
  "roleTypeConfigs" : [ {
    "roleType" : "DATANODE",
    "items" : [ {
      "name" : "datanode_java_heapsize",
      "value" : "57671680"
    }, {
      "name" : "dfs_data_dir_list",
      "value" : "/dfs/dn"
    }, {
    ...

The name change also applies to other services; e.g. the UI calls it 'hbase' 
now as in the attached screenshot, as opposed to 'hbase1' in 
https://wiki.trafodion.org/wiki/index.php/File:RemoveRegionServer2.png.

I think that means that some of the config changes it's trying to apply won't 
be applied?

As an aside, should the  '--trafodion_build' option default to 
trafodion_server-0.8.*.tgz instead of the current trafodion_build.tgz? It 
wasn't clear which of the 3 .tgz files it wanted.

Also, it might be worth mentioning in the wiki that the EPEL repository needs 
to be added to CentOS for the 'protobuf' dependency to be available.

Thanks,
Jin

Tung Jin Chew  |  Software Developer, Autonomy  |  HP Software  |  
[email protected]<mailto:[email protected]><mailto:[email protected]>

-- 
Mailing list: https://launchpad.net/~trafodion-general
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~trafodion-general
More help   : https://help.launchpad.net/ListHelp

Reply via email to