You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by ma...@apache.org on 2018/04/06 15:23:21 UTC

[1/4] oodt git commit: update filemgr, wmgr & resmgr scripts

Repository: oodt
Updated Branches:
  refs/heads/development 9feacbb01 -> 84af13a93


update filemgr, wmgr & resmgr scripts


Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/d95ea438
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/d95ea438
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/d95ea438

Branch: refs/heads/development
Commit: d95ea43871955b6daa71b535f33b9a6fdcc30feb
Parents: 9feacbb
Author: ThejanW <th...@cse.mrt.ac.lk>
Authored: Wed Apr 4 15:55:58 2018 +0530
Committer: ThejanW <th...@cse.mrt.ac.lk>
Committed: Wed Apr 4 15:55:58 2018 +0530

----------------------------------------------------------------------
 .../archetype-resources/filemgr/src/main/resources/bin/filemgr   | 4 ++--
 .../archetype-resources/resmgr/src/main/resources/bin/resmgr     | 3 ++-
 .../archetype-resources/workflow/src/main/resources/bin/wmgr     | 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oodt/blob/d95ea438/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/bin/filemgr
----------------------------------------------------------------------
diff --git a/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/bin/filemgr b/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/bin/filemgr
index 1ef51fd..76c24fb 100644
--- a/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/bin/filemgr
+++ b/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/bin/filemgr
@@ -119,8 +119,8 @@ elif [ "$1" = "stop" ]; then
     if [ -f "$FILEMGR_PID" ]; then
       kill `cat $FILEMGR_PID` >/dev/null 2>&1
       if [ $? -eq 1 ]; then
-        echo "ID file ($FILEMGR_PID) found with PID `cat $FILEMGR_PID` but no matching process was found. Removed $FILEMGR_PID, now FileManager can be started."
-        `rm $FILEMGR_PID`
+        echo "PID file ${FILEMGR_PID} found with PID `cat $FILEMGR_PID` but no matching process was found. Removed ${FILEMGR_PID}, now File Manager can be started."
+        rm ${FILEMGR_PID}
         exit 1
       fi
     else

http://git-wip-us.apache.org/repos/asf/oodt/blob/d95ea438/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/src/main/resources/bin/resmgr
----------------------------------------------------------------------
diff --git a/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/src/main/resources/bin/resmgr b/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/src/main/resources/bin/resmgr
index 7bd9db7..a3ccf5f 100755
--- a/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/src/main/resources/bin/resmgr
+++ b/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/src/main/resources/bin/resmgr
@@ -125,7 +125,8 @@ elif [ "$1" = "stop" ]; then
     if [ -f "$RESMGR_PID" ]; then
       kill `cat $RESMGR_PID` >/dev/null 2>&1
       if [ $? -eq 1 ]; then
-        echo "PID file ($RESMGR_PID) found but no matching process was found. Stop aborted."
+        echo "PID file ${RESMGR_PID} found with PID `cat $RESMGR_PID` but no matching process was found. Removed ${RESMGR_PID}, now Resource Manager can be started."
+        rm ${RESMGR_PID}
         exit 1
       fi
     else

http://git-wip-us.apache.org/repos/asf/oodt/blob/d95ea438/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/bin/wmgr
----------------------------------------------------------------------
diff --git a/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/bin/wmgr b/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/bin/wmgr
index 766b5e2..6275bd5 100644
--- a/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/bin/wmgr
+++ b/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/src/main/resources/bin/wmgr
@@ -120,7 +120,8 @@ elif [ "$1" = "stop" ]; then
     if [ -f "$WORKFLOW_PID" ]; then
       kill `cat $WORKFLOW_PID` >/dev/null 2>&1
       if [ $? -eq 1 ]; then
-        echo "PID file ($WORKFLOW_PID) found but no matching process was found. Stop aborted."
+        echo "PID file ${WORKFLOW_PID} found with PID `cat $WORKFLOW_PID` but no matching process was found. Removed ${WORKFLOW_PID}, now Workflow Manager can be started."
+        rm ${WORKFLOW_PID}
         exit 1
       fi
     else


[3/4] oodt git commit: Merge branch 'pid-bug' of https://github.com/ThejanW/oodt into OODT-973

Posted by ma...@apache.org.
Merge branch 'pid-bug' of https://github.com/ThejanW/oodt into OODT-973


Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/5aaadfc5
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/5aaadfc5
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/5aaadfc5

Branch: refs/heads/development
Commit: 5aaadfc5aba4639e8433dbdc4d0dd2d9f94db855
Parents: 8b4a3d4 d95ea43
Author: Chris Mattmann <ch...@jpl.nasa.gov>
Authored: Thu Apr 5 22:12:00 2018 -0700
Committer: Chris Mattmann <ch...@jpl.nasa.gov>
Committed: Thu Apr 5 22:12:00 2018 -0700

----------------------------------------------------------------------
 .../archetype-resources/filemgr/src/main/resources/bin/filemgr   | 4 ++--
 .../archetype-resources/resmgr/src/main/resources/bin/resmgr     | 3 ++-
 .../archetype-resources/workflow/src/main/resources/bin/wmgr     | 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------



[2/4] oodt git commit: Updated readme with more useful information

Posted by ma...@apache.org.
Updated readme with more useful information

Added more links and useful resources to the readme.md. This will make the new comers easy to get started with OODT.

Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/8b4a3d4f
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/8b4a3d4f
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/8b4a3d4f

Branch: refs/heads/development
Commit: 8b4a3d4fee38bd36b1dad6cf45dec0235d416100
Parents: 9feacbb
Author: Imesha Sudasingha <im...@gmail.com>
Authored: Fri Apr 6 10:19:59 2018 +0530
Committer: GitHub <no...@github.com>
Committed: Fri Apr 6 10:19:59 2018 +0530

----------------------------------------------------------------------
 README.md | 149 ++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 100 insertions(+), 49 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oodt/blob/8b4a3d4f/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 635bdff..acca5cf 100644
--- a/README.md
+++ b/README.md
@@ -1,36 +1,85 @@
 # Welcome to Apache OODT  <http://oodt.apache.org/>
 
-OODT is a grid middleware framework used on a number of successful projects at
-NASA's Jet Propulsion Laboratory/California Institute of Technology, and many
-other research institutions and universities, specifically those part of the:
+Apache Object Oriented Data Technology (OODT) is the smart way to integrate and archive your processes, your data, and its metadata. OODT allows you to:
 
-* National Cancer Institute's (NCI's) Early Detection Research Network (EDRN)
-  project - over 40+ institutions all performing research into discovering
+- Generate Data
+- Process Data
+- Manage Your Data
+- Distribute Your Data
+- Analyze Your Data
+Allowing for the integration of data, computation, visualization and other components.
+
+OODT also allows for remote execution of jobs on scalable computational infrastructures so that computational and data-
+intensive processing can be integrated into OODT’s data processing pipelines using cloud computing and high-performance 
+computing environments.
+
+![Overview of OODT Main Components](http://oodt.apache.org/img/oodt-diag.png "OODT Component Overview")
+
+
+## Why OODT?
+Traditional processing pipelines are commonly made up of custom UNIX shell scripts and fragile custom written glue code.
+Apache OODT uses structured XML-based capturing of the processing pipeline that can be understood and modified by 
+non-programmers to create, edit, manage and provision workflow and task execution.
+
+It is being used on a number of successful projects at NASA's Jet Propulsion Laboratory/California 
+Institute of Technology, and many other research institutions and universities, 
+specifically those part of the:
+
+- **National Cancer Institute's (NCI's) Early Detection Research Network (EDRN)
+  project** - over 40+ institutions all performing research into discovering
   biomarkers which are early indicators of disease.
-* NASA's Planetary Data System (PDS) - NASA's planetary data archive, a
+- **NASA's Planetary Data System (PDS)** - NASA's planetary data archive, a
   repository and registry for all planetary data collected over the past 30+
   years.
-* Various Earth Science data processing missions, including
-  Seawinds/QuickSCAT, the Orbiting Carbon Observatory, the NPP Sounder PEATE
-  project, and the Soil Moisture Active Passive (SMAP) mission.
+- Various Earth Science data processing missions, including
+  **Seawinds/QuickSCAT**, the **Orbiting Carbon Observatory**, the **NPP Sounder PEATE
+  project**, and the **Soil Moisture Active Passive (SMAP) mission**.
+- [**Apache DRAT**](https://github.com/apache/drat) - A distributed release audit tool written on top of OODT's 
+capabilities.
 
 OODT is a Top Level project of the Apache Software Foundation
 <http://www.apache.org/>.
 
-Getting Started
-===============
+***
+
+# Getting Started
+
+## Useful Resources
+- [*OODT Wiki*](https://cwiki.apache.org/confluence/display/OODT/Home)
+- [*Apache OODT platform: Use metadata as a first class citizen* by Tom Barber](https://jaxenter.com/tom-barber-nasa-interview-apache-oodt-127821.html)
+- [RADiX Powered By OODT](https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OODT)
+- [*A Look into the Apache OODT Ecosystem* by Chris Mattmann](https://www.slideshare.net/chrismattmann/a-look-into-the-apache-oodt-ecosystem)
+
+## Build from scratch
 
 OODT is primarily written in Java, with some components available in Python.
-It requires Java 5 and uses the Maven 2 <http://maven.apache.org/> build
+It requires Java 8 and uses the Maven 3 <http://maven.apache.org/> build
 system.  To build the Java components of OODT, use the following command in
 this directory:
 
     mvn clean install
 
-For the Python components, see the "agility" subdirectory.
+For the Python components, see the **agility** subdirectory.
+
+## RADiX Powered By OODT
+
+OODT isn’t an out of the box solution, but we do try to make it as easy as possible. For that, OODT provides the RADIX build system which will compile a fully operational OODT platform ready for development and deployment. Building the RADIX distribution is as simple as running the following commands:
+
+```bash
+export JAVA_HOME=/usr/lib/jvm… (adjust for your own JAVA_HOME)
+curl -s "https://git-wip-us.apache.org/repos/asf?p=oodt.git;a=blob_plain;f=mvn/archetypes/radix/src/main/resources/bin/radix;hb=HEAD" | bash
+ 
+mv oodt oodt-src; cd oodt-src; mvn install
+mkdir ../oodt; tar -xvf distribution/target/oodt-distribution-0.1-bin.tar.gz -C ../oodt
+cd ../oodt; ./bin/oodt start
+./resmgr/bin/batch_stub 2001
+```
+Navigate to http://localhost:8080/opsui, you should see the default OPSUI system which provides system oversight and interrogation
+
+***
+
+# Contributing
 
-Contributing
-============
 To contribute a patch, follow these instructions (note that installing
 [Hub](http://hub.github.com) is not strictly required, but is recommended).
 
@@ -49,10 +98,39 @@ To contribute a patch, follow these instructions (note that installing
 10. git push -u <your git username> OODT-xxx
 11. git pull-request
 ```
+## Issue Tracker
 
+If you encounter errors in OODT or want to suggest an improvement or a new
+feature, please visit the OODT issue tracker 
+https://issues.apache.org/jira/browse/OODT.  There you can also find the
+latest information on known issues and recent bug fixes and enhancements.
+
+## Documentation
+
+You can find an enormous amount of useful documentation/resources related to OODT in 
+[**OODT Confluence Wiki**](https://cwiki.apache.org/confluence/display/OODT/Home).
+
+You can build a local copy of the OODT documentation including JavaDocs using
+the following Maven 2 command in the OODT source directory:
+
+    mvn site
+
+You can then open the OODT Documentation in a web browser:
+
+    ./target/site/index.html
 
-License (see also LICENSE.txt)
-==============================
+Note: all OODT source files are encoded with UTF-8.  You must set your
+MAVEN_OPTS environment variable to include "-Dfile.encoding=UTF-8" in order to
+properly generate the web site and other artifacts from source.
+
+Note: generating the documentation requires enormous amounts of memory.  More
+than likely you'll need to add to the MAVEN_OPTS environment variable in order
+to set the Java heap maximum size with "-Xmx512m" or larger before attempting
+to run "mvn site".
+
+***
+
+# License (see also LICENSE.txt)
 
 Collective work: Copyright 2010-2012 The Apache Software Foundation.
 
@@ -75,8 +153,9 @@ Apache OODT includes a number of subcomponents with separate copyright
 notices and license terms. Your use of these subcomponents is subject to
 the terms and conditions of the licenses listed in the LICENSE.txt file.
 
-Export control
-==============
+***
+
+# Export control
 
 This distribution includes cryptographic software.  The country in which you
 currently reside may have restrictions on the import, possession, use, and/or
@@ -102,29 +181,9 @@ The following provides more details on the included cryptographic software:
     encrypted PDF files.  See http://www.bouncycastle.org/ for more details on
     Bouncy Castle.
 
-Documentation
-=============
-
-You can build a local copy of the OODT documentation including JavaDocs using
-the following Maven 2 command in the OODT source directory:
-
-    mvn site
-
-You can then open the OODT Documentation in a web browser:
-
-    ./target/site/index.html
-
-Note: all OODT source files are encoded with UTF-8.  You must set your
-MAVEN_OPTS environment variable to include "-Dfile.encoding=UTF-8" in order to
-properly generate the web site and other artifacts from source.
-
-Note: generating the documentation requires enormous amounts of memory.  More
-than likely you'll need to add to the MAVEN_OPTS environment variable in order
-to set the Java heap maximum size with "-Xmx512m" or larger before attempting
-to run "mvn site".
+***
 
-Mailing Lists
-=============
+# Mailing Lists
 
 Discussion about OODT takes place on the following mailing lists:
 
@@ -141,11 +200,3 @@ You can subscribe the mailing lists by sending a message to
 dev-subscribe@oodt...).  To unsubscribe, send a message to
 <LIST>-unsubscribe@oodt.apache.org.  For more instructions, send a
 message to <LIST>-help@oodt.apache.org.
-
-Issue Tracker
-=============
-
-If you encounter errors in OODT or want to suggest an improvement or a new
-feature, please visit the OODT issue tracker 
-https://issues.apache.org/jira/browse/OODT.  There you can also find the
-latest information on known issues and recent bug fixes and enhancements.


[4/4] oodt git commit: Record changes for OODT-973 Update mvn/archetypes/radix module script templates to remove ghost PID files contributed by ThejanW.

Posted by ma...@apache.org.
Record changes for OODT-973 Update mvn/archetypes/radix module script templates to remove ghost PID files contributed by ThejanW.


Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/84af13a9
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/84af13a9
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/84af13a9

Branch: refs/heads/development
Commit: 84af13a932992733850e3b99c91fcce77c06cbb4
Parents: 5aaadfc
Author: Chris Mattmann <ch...@jpl.nasa.gov>
Authored: Thu Apr 5 22:13:50 2018 -0700
Committer: Chris Mattmann <ch...@jpl.nasa.gov>
Committed: Thu Apr 5 22:13:50 2018 -0700

----------------------------------------------------------------------
 CHANGES.txt | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oodt/blob/84af13a9/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ed695fd..642c45d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,6 +4,8 @@ Apache OODT Change Log
 =======
 Release 1.9 - In Progress
 
+* OODT-973 Update mvn/archetypes/radix module script templates to remove ghost PID files (ThejanW via mattmann)
+
 * OODT-969 Tests for Avro File Manager client and server (imesha via mattmann)
 
 * OODT-970 Netty Transceiver throws an NPE (imesha via mattmann)