← Back to team overview

trafodion-general team mailing list archive

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  |  tung-jin.chew@xxxxxx<mailto:tung-jin.chew@xxxxxx><mailto:daniel.lau@xxxxxx>

Attachment: service-hbase.png
Description: service-hbase.png


Follow ups