You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by go...@apache.org on 2015/05/19 08:53:10 UTC

svn commit: r1680187 - in /incubator/slider/site/trunk: content/developing/ content/docs/ content/docs/slider_specs/ content/release_notes/ templates/

Author: gourksaha
Date: Tue May 19 06:53:09 2015
New Revision: 1680187

URL: http://svn.apache.org/r1680187
Log:
SLIDER-866 Release Slider 0.80 (site documentation updates)

Added:
    incubator/slider/site/trunk/content/release_notes/release-0.80.0.md
Modified:
    incubator/slider/site/trunk/content/developing/demo.md
    incubator/slider/site/trunk/content/docs/getting_started.md
    incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md
    incubator/slider/site/trunk/content/release_notes/release-0.70.1.md
    incubator/slider/site/trunk/templates/skeleton.html

Modified: incubator/slider/site/trunk/content/developing/demo.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/developing/demo.md?rev=1680187&r1=1680186&r2=1680187&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/developing/demo.md (original)
+++ incubator/slider/site/trunk/content/developing/demo.md Tue May 19 06:53:09 2015
@@ -70,7 +70,7 @@ The cluster must be set up with no check
  
      export SLIDER_CONF_DIR=~/clusters/demo/slider;
      
-     export PATH=~/slider/slider-assembly/target/slider-0.70.1-incubating-all/slider-0.70.1-incubating/bin
+     export PATH=~/slider/slider-assembly/target/slider-0.80.0-incubating-all/slider-0.80.0-incubating/bin
 
 #### Fish
 
@@ -79,7 +79,7 @@ The cluster must be set up with no check
  
      set -gx  SLIDER_CONF_DIR ~/clusters/demo/slider;
  
-     set -gx SLIDER_VERSION slider-0.70.1-incubating
+     set -gx SLIDER_VERSION slider-0.80.0-incubating
      set -gx PROJECTS /Users/stevel/Projects/Hortonworks/Projects
  
      set -gx  PATH $PATH $PROJECTS/slider/slider-assembly/target/$SLIDER_VERSION-all/$SLIDER_VERSION/bin

Modified: incubator/slider/site/trunk/content/docs/getting_started.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/docs/getting_started.md?rev=1680187&r1=1680186&r2=1680187&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/docs/getting_started.md (original)
+++ incubator/slider/site/trunk/content/docs/getting_started.md Tue May 19 06:53:09 2015
@@ -91,8 +91,8 @@ There are other options detailed in the
 ## <a name="build"></a>Build Slider
 
 * From the top level directory, execute `mvn clean site:site site:stage package -DskipTests`
-* Use the generated compressed tar file in slider-assembly/target directory (e.g. slider-0.70.1-incubating-all.tar.gz or slider-0.70.1-incubating-all.zip) for the subsequent steps
-* If you are cloning the Slider git repo, go to `releases/slider-0.70.1-incubating` branch for the latest released or `develop` for the latest under development
+* Use the generated compressed tar file in slider-assembly/target directory (e.g. slider-0.80.0-incubating-all.tar.gz or slider-0.80.0-incubating-all.zip) for the subsequent steps
+* If you are cloning the Slider git repo, go to `releases/slider-0.80.0-incubating` branch for the latest released or `develop` for the latest under development
 
 ## <a name="install"></a>Install Slider
 
@@ -107,11 +107,11 @@ You can run Slider app as any user. Only
 Login as the "yarn" user (assuming this is a host associated with the installed cluster).  E.g., `su yarn`
 *This assumes that all apps are being run as ‘yarn’ user*
 
-Expand the tar file:  `tar -xvf slider-0.70.1-incubating-all.tar.gz` or `unzip slider-0.70.1-incubating-all.zip`
+Expand the tar file:  `tar -xvf slider-0.80.0-incubating-all.tar.gz` or `unzip slider-0.80.0-incubating-all.zip`
 
 ## Configure Slider
 
-Browse to the Slider directory: `cd slider-0.70.1-incubating/conf`
+Browse to the Slider directory: `cd slider-0.80.0-incubating/conf`
 
 Edit `slider-env.sh` and specify correct values.
 
@@ -142,7 +142,7 @@ directory containing the `slider-client.
 
 If the hadoop configuration dir is configured this way, the 
 
-For example, if you are targeting a non-secure cluster with no HA for NameNode or ResourceManager, modify Slider configuration file `${slider-install-dir}/slider-0.70.1-incubating/conf/slider-client.xml` to add the following properties:
+For example, if you are targeting a non-secure cluster with no HA for NameNode or ResourceManager, modify Slider configuration file `${slider-install-dir}/slider-0.80.0-incubating/conf/slider-client.xml` to add the following properties:
 
       <property>
         <name>hadoop.registry.zk.quorum</name>
@@ -164,11 +164,11 @@ For example, if you are targeting a non-
 
 Execute:
  
-    ${slider-install-dir}/slider-0.70.1-incubating/bin/slider version
+    ${slider-install-dir}/slider-0.80.0-incubating/bin/slider version
     
 OR
 
-    python %slider-install-dir%/slider-0.70.1-incubating/bin/slider.py version
+    python %slider-install-dir%/slider-0.80.0-incubating/bin/slider.py version
 
 Ensure there are no errors and you can see "Compiled against Hadoop 2.6.0". **This ensures that Slider is installed correctly.**
 
@@ -262,7 +262,7 @@ Once the steps above are completed, the
 
 Change directory to the "bin" directory under the slider installation
 
-    cd ${slider-install-dir}/slider-0.70.1-incubating/bin
+    cd ${slider-install-dir}/slider-0.80.0-incubating/bin
 
 Execute the following command:
 
@@ -342,7 +342,7 @@ Once started, applications can be stoppe
 
 Create an agent config file (agent.ini) based on the sample available at:
 
-    ${slider-install-dir}/slider-0.70.1-incubating/agent/conf/agent.ini
+    ${slider-install-dir}/slider-0.80.0-incubating/agent/conf/agent.ini
 
 The sample agent.ini file can be used as is (see below). Some of the parameters of interest are:
 

Modified: incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md?rev=1680187&r1=1680186&r2=1680187&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md (original)
+++ incubator/slider/site/trunk/content/docs/slider_specs/application_pkg_upgrade.md Tue May 19 06:53:09 2015
@@ -15,7 +15,7 @@
    limitations under the License.
 -->
 
-# Apache Slider App Packages Rolling Upgrade
+# Apache Slider App Packages Rolling Upgrade/Reconfiguration
 
 ##Introduction
 

Modified: incubator/slider/site/trunk/content/release_notes/release-0.70.1.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/release_notes/release-0.70.1.md?rev=1680187&r1=1680186&r2=1680187&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/release_notes/release-0.70.1.md (original)
+++ incubator/slider/site/trunk/content/release_notes/release-0.70.1.md Tue May 19 06:53:09 2015
@@ -17,7 +17,7 @@
   
 # Apache Slider Release 0.70.1 (incubating)
 
-**March 2014**
+**March 2015**
 
 This release is built against Apache Hadoop 2.6.0, HBase 0.98.4 and Accumulo 1.6.1
 
@@ -62,5 +62,5 @@ mechanism between (any) client and a run
 
 ## Other changes
 
-The full list of completed issues is [visible in the Apache JIRA](https://issues.apache.org/jira/browse/SLIDER/)
+The full list of completed issues is [visible in the Apache JIRA](https://issues.apache.org/jira/browse/SLIDER/fixforversion/12327847)
 

Added: incubator/slider/site/trunk/content/release_notes/release-0.80.0.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/release_notes/release-0.80.0.md?rev=1680187&view=auto
==============================================================================
--- incubator/slider/site/trunk/content/release_notes/release-0.80.0.md (added)
+++ incubator/slider/site/trunk/content/release_notes/release-0.80.0.md Tue May 19 06:53:09 2015
@@ -0,0 +1,71 @@
+<!---
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+  
+# Apache Slider Release 0.80.0 (incubating)
+
+**May 2015**
+
+This release is built against Apache Hadoop 2.6.0.
+
+
+## Key changes
+
+* [SLIDER-787](https://issues.apache.org/jira/browse/SLIDER-787) - App Upgrade/Reconfig support in Slider
+* [SLIDER-780](https://issues.apache.org/jira/browse/SLIDER-780) - Support for Docker based application packaging in Slider
+* [SLIDER-773](https://issues.apache.org/jira/browse/SLIDER-773) - Add co-processor support for app packages
+* [SLIDER-663](https://issues.apache.org/jira/browse/SLIDER-663) - Make it easy to develop and deploy application packages that are essentially shell commands
+* [SLIDER-763](https://issues.apache.org/jira/browse/SLIDER-763) - Add "install client" command to slider
+
+
+## Incompatible Changes
+
+* None
+
+## Work in progress
+
+This release contains some interim work in progress, work that is not completely
+functional. 
+
+### [SLIDER-151 REST API](https://issues.apache.org/jira/browse/SLIDER-151)
+
+This is intended to be a full two-way REST API offered by the Slider Application
+Master to clients. The draft design is [available on the Slider web site](http://slider.incubator.apache.org/docs/api).
+
+The foundational read-only view of this API is available from release 0.70.1 onwards.
+Look at the code in `org.apache.slider.client.rest`, in particular
+the API client, `SliderApplicationApi`, and `RestClientFactory` —which
+builds an instance of `SliderApplicationApi` bonded to an application located
+in the Zookeeper-based YARN registry.
+
+It is impossible
+to offer a secure two-way REST API in Hadoop 2.6, due to how authentication and
+security is implemented in the YARN Resource Manager proxy. Therefore even
+though a two-way API is partially implemented in the slider code, it is explicitly
+read only. To enable it, set the property `slider.dev.ws.insecure` to true in
+the Slider Application Master. This can be done by setting it in the file 
+`$SLIDER_CONF_DIR/slider-server.xml`. 
+
+*warning* : once set, anyone on the cluster can issue side-effecting operations
+against the cluster, such as the `stop` operation. 
+
+We hope ultimately to switch to this REST API as the sole communication
+mechanism between (any) client and a running Slider Application Master.
+
+## Other changes
+
+The full list of completed issues is [visible in the Apache JIRA](https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315422&version=12329384)
+

Modified: incubator/slider/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/templates/skeleton.html?rev=1680187&r1=1680186&r2=1680187&view=diff
==============================================================================
--- incubator/slider/site/trunk/templates/skeleton.html (original)
+++ incubator/slider/site/trunk/templates/skeleton.html Tue May 19 06:53:09 2015
@@ -44,7 +44,7 @@
   <div style="text-align: center">
     <h1><a href="/index.html">Apache Slider (incubating)</a></h1>
     <hr>
-Latest release: <strong>0.70.1-incubating</strong><br>
+Latest release: <strong>0.80.0-incubating</strong><br>
     <br>
     <a id="download-button-sidebar" class="btn btn-success btn-block" href="/downloads/" role="button">Download</a>
   </div>