Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-684

LP Bug: 1378552 - On workstation, install_local_hadoop errs trying to do a make in $MY_SQROOT/src/seatrans/hbase-trx.

    XMLWordPrintableJSON

Details

    Description

      Using daily build 20141004 on workstation, install_local_hadoop reports being unable to do a make in $MY_SQROOT/src/seatrans/hbase-trx.

      From install log:
      Using port range from MY_START_PORT env var: 57700...
      Checking for existing Hadoop processes...

      Creating common directory /opt/home/thaiju/datalake_64_1/sql/local_hadoop...

      Checking Java version...
      Picked up JAVA_HOME=/opt/home/tools/jdk1.7.0_67 from the environment...
      java version "1.7.0_67"
      Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
      Java version 1.7 is ok

      Creating some convenience shell scripts in /opt/home/thaiju/datalake_64_1/sql/scripts...

      Checking permissions on home directory...
      drwxr-sr-x 74 thaiju sq_linux_users 8192 Oct 7 20:40 /h/thaiju

      Check ssh localhost access without a password...
      testing ssh localhost
      Check ssh localhost access without a password succeeded.

      Setting up Hadoop...
      Unpacking Hadoop tar file...
      Updating files hadoop/etc/hadoop/core-site.xml, hadoop/etc/hadoop/hdfs-site.xml and hadoop/etc/hadoop/mapred-site.xml ...
      Appending local configuration to hadoop/etc/hadoop/hadoop-env.sh...
      Appending local configuration to hadoop/etc/hadoop/yarn-env.sh...
      Initializing and starting Hadoop...
      Creating HDFS directories
      drwxrwxr-x - thaiju supergroup 0 2014-10-07 20:43 /bulkload
      drwxr-xr-x - thaiju supergroup 0 2014-10-07 20:43 /hive
      drwxr-xr-x - thaiju supergroup 0 2014-10-07 20:43 /hive/tpcds
      drwxrwxr-x - thaiju supergroup 0 2014-10-07 20:43 /tmp
      drwxr-xr-x - thaiju supergroup 0 2014-10-07 20:43 /user
      drwxr-xr-x - thaiju supergroup 0 2014-10-07 20:43 /user/hive
      drwxrwxr-x - thaiju supergroup 0 2014-10-07 20:43 /user/hive/warehouse
      drwxr-xr-x - thaiju supergroup 0 2014-10-07 20:43 /user/thaiju
      drwxr-xr-x - thaiju supergroup 0 2014-10-07 20:43 /user/trafodion
      drwxrwxr-x - thaiju supergroup 0 2014-10-07 20:43 /user/trafodion/bulkload
      Done: Creating HDFS directories
      Downloading MySQL...
      Unpacking MySQL tar file mysql-5.6.10-linux-glibc2.5-x86_64.tar.gz ...
      Creating symbolic link to latest MySQL distribution...
      Setting up MySQL configuration file /opt/home/thaiju/datalake_64_1/sql/local_hadoop/mysql/my.cnf ...
      Running MySQL installation script...
      Starting mysqld...
      Downloading MySQL JDBC driver...
      Unpacking MySQL JDBC tar file mysql-connector-java-5.1.23.tar.gz ...
      Downloading Hive...
      Unpacking Hive tar file apache-hive-0.13.1-bin.tar.gz ...
      Creating symbolic link to latest Hive distribution...
      Updating file hive/conf/hive-site.xml ...
      Copying MySQL JDBC driver to /opt/home/thaiju/datalake_64_1/sql/local_hadoop/hive/lib
      Sleeping 10 sec to wait for MySQL to start...
      Warning: Using a password on the command line interface can be insecure.
      Creating Hive database and metastore in MySQL...
      Warning: Using a password on the command line interface can be insecure.
      Downloading HBase...
      Unpacking HBase tar file hbase-0.98.1-cdh5.1.0.tar.gz ...
      Creating symbolic link to latest HBase distribution...
      Building HBase TRX
      make: *** No rule to make target `genverhdr'. Stop.
      rm -f /opt/home/thaiju/datalake_64_1/export/lib/hbase-trx-0.9.0.jar
      rm -f /opt/home/thaiju/datalake_64_1/export/lib/hbase-trx-0.9.0-java6.jar
      rm -f /opt/home/thaiju/datalake_64_1/export/lib/hbase-trx-hdp2_1-0.9.0.jar
      /opt/home/tools/apache-maven-3.0.5/bin/mvn clean | grep ERROR
      make: [clean] Error 1 (ignored)
      rm -f build_trx.log
      rm -f hbase-trx.jar.versions
      make build_chk_1_6
      make[1]: Entering directory `/opt/home/thaiju/datalake_64_1/src/seatrans/hbase-trx'
      ./genvers > hbase-trx.jar.versions
      ./genvers: line 3: /opt/home/thaiju/datalake_64_1/export/include/SCMBuildJava.sh: No such file or directory
      make[1]: *** [build_chk_1_6] Error 127
      make[1]: Leaving directory `/opt/home/thaiju/datalake_64_1/src/seatrans/hbase-trx'
      make: *** [jdk_1_6] Error 2
      Updating file hbase/conf/hbase-site.xml ...
      Starting HBase...
      Downloading TPC-DS setup tools...
      Unzipping TPC-DS kit tpcds_kit.zip and making the tools...
      Making objects for TPC-DS database generator...
      Generating the data...
      Copying generated data to HDFS...
      Creating tables in Hive...

      Installed directory size and name = 3.5G /opt/home/thaiju/datalake_64_1/sql/local_hadoop

      Setup is complete. You can use the convenience scripts starting with sw... located in /opt/home/thaiju/datalake_64_1/sql/scripts.

      Attachments

        Activity

          People

            narendra Narendra Goyal
            thaiju Julie Thai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: