You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/24 00:44:28 UTC
[jira] [Commented] (TRAFODION-1560) Improve script that setups
tools needed for Trafodion build
[ https://issues.apache.org/jira/browse/TRAFODION-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972021#comment-14972021 ]
ASF GitHub Bot commented on TRAFODION-1560:
-------------------------------------------
GitHub user robertamarton opened a pull request:
https://github.com/apache/incubator-trafodion/pull/145
[TRAFODION-1560] Improve script that sets up tools needed for Trafodion build
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/robertamarton/incubator-trafodion testb
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/145.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #145
----
commit 05005f9b82785261a10c960796ebff50424e04f9
Author: Roberta Marton <ro...@esgyn.com>
Date: 2015-10-23T16:11:00Z
Merge branch 'master' into testb
commit 476b2189152502967eee686fdc1dd57cdd5fe2d6
Author: Roberta Marton <ro...@esgyn.com>
Date: 2015-10-23T22:40:21Z
Trafodion-1560 -- Improve script that sets up tools needed for Trafodion build
Fixed traf_tools_setup.sh to be more robust.
All stdout and stderr messages are logged and the requester only sees the
progress of the operation. If a tool fails to install, the script terminates
and details of the failure can be found in the log. Once the problem is fixed,
the script can be re-run. Upon rerun, tools already installed are skipped.
Failures may occur after the tools is partially installed, for example, failure
occurred during the make step after the tar file was downloaded. Upon rerun,
the tool will pickup where it left off and continue. In this case, the file
will not be downloaded again because it already exists.
Here is an example of the output: some tools have already been installed, some
have not been installed, and some are in various states of installation:
INFO: Starting tools build on Fri Oct 23 20:51:53 UTC 2015
INFO: Tar download location: /home/centos
INFO: Tool install directory location: /home/centos/tools
INFO: LogFile location: /home/centos/traf_tools_setup.log
***********************************************************
INFO: Installing MPI on Fri Oct 23 20:51:53 UTC 2015
INFO: downloaded tar file: mpich-3.0.4.tar.gz
INFO: configure complete
INFO: make completed
INFO: make install complete, files placed in /home/centos/tools
INFO: MPI installation complete
***********************************************************
INFO: Installing Bison on Fri Oct 23 20:53:46 UTC 2015
INFO: downloaded tar file: bison-3.0.tar.gz
INFO: configure complete
INFO: make completed
INFO: make install complete, files placed in /home/centos/tools
INFO: Bison installation complete
***********************************************************
INFO: Installing UDIS on Fri Oct 23 20:54:32 UTC 2015
INFO: UDIS is already installed, skipping to next tool
INFO: UDIS installation complete
***********************************************************
INFO: Installing LLVM on Fri Oct 23 20:54:32 UTC 2015
INFO: LLVM is already installed, skipping to next step
INFO: LLVM installation complete
***********************************************************
INFO: Installing ICU on Fri Oct 23 20:54:32 UTC 2015
INFO: ICU is already installed, skipping to next tool
INFO: ICU installation complete
***********************************************************
INFO: Installing ZooKeeper on Fri Oct 23 20:54:32 UTC 2015
INFO: tar file already downloaded, step skipped
INFO: source tree already exists
INFO: configure complete
INFO: make completed
INFO: make install complete, files placed in /home/centos/tools
INFO: ZooKeeper installation complete
***********************************************************
INFO: Installing Thrift on Fri Oct 23 20:54:41 UTC 2015
INFO: Thrift is already installed, skipping to next tool
INFO: Thrift installation complete
***********************************************************
INFO: Installing Maven on Fri Oct 23 20:54:41 UTC 2015
INFO: downloaded tar file: apache-maven-3.3.3-bin.tar.gz
INFO: Maven installation complete
***********************************************************
INFO: Completed tools build on Fri Oct 23 20:54:49 UTC 2015
INFO: List of tools directory:
apache-maven-3.3.3
bison_3_linux
dest-llvm-3.2
dest-mpich-3.0.4
icu4.4
thrift-0.9.0
udis86-1.7.2
zookeeper-3.4.5
----
> Improve script that setups tools needed for Trafodion build
> -----------------------------------------------------------
>
> Key: TRAFODION-1560
> URL: https://issues.apache.org/jira/browse/TRAFODION-1560
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: Build Infrastructure
> Reporter: Roberta Marton
> Assignee: Roberta Marton
>
> In order to build Apache Trafodion, several additional tools are needed. Trafodion provides a convenience script that downloads compatible versions, builds the tool, and copies the tools artifacts to a tools directory.
> This convenience script called traf_tools_setup.sh consists of a set of statements that download each tool, builds it, and copies the resultant artifacts to a tools directory. This script produces a lot of documentation that makes it hard to debug problems.
> This JIRA is requesting updates to this tool that:
> make it easier to view progress
> make it easier to see where failures occur
> allow the tools to be run multiple times, skipping tools that have already been installed, or installed at various stages
> Fixed traf_tools_setup.sh to be more robust. It also logs all the build
> details to a log file and just reports to progress to the screen.
> Here is an example of the output: some tools have already been installed, some
> have not been installed, and some are in various states of installation:
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)