You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by ryan-williams <gi...@git.apache.org> on 2014/12/18 21:47:36 UTC

[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

GitHub user ryan-williams opened a pull request:

    https://github.com/apache/spark/pull/3736

    [SPARK-4889] update history server example cmds

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ryan-williams/spark hist

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/3736.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 #3736
    
----
commit 9ca76290bbb6434c77bab4f2cd1ccd2383de22d7
Author: Ryan Williams <ry...@gmail.com>
Date:   2014-12-18T20:46:15Z

    [SPARK-4889] update history server example cmds

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67580613
  
      [Test build #24604 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24604/consoleFull) for   PR 3736 at commit [`a2d0f82`](https://github.com/apache/spark/commit/a2d0f8211c13b21cb492d358ca8e42fe64366e53).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67581043
  
      [Test build #24605 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24605/consoleFull) for   PR 3736 at commit [`76d6a4c`](https://github.com/apache/spark/commit/76d6a4cd3fa36582caecc2e60e36ceaa1df0f315).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67582385
  
      [Test build #24607 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24607/consoleFull) for   PR 3736 at commit [`421d8ff`](https://github.com/apache/spark/commit/421d8ff86d300cff0471aca5017690d7dc9fa96c).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67572643
  
      [Test build #24604 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24604/consoleFull) for   PR 3736 at commit [`a2d0f82`](https://github.com/apache/spark/commit/a2d0f8211c13b21cb492d358ca8e42fe64366e53).
     * This patch merges cleanly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67582390
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24607/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3736#discussion_r22078172
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala ---
    @@ -158,11 +158,15 @@ class HistoryServer(
     
     /**
      * The recommended way of starting and stopping a HistoryServer is through the scripts
    - * start-history-server.sh and stop-history-server.sh. The path to a base log directory
    - * is must be specified, while the requested UI port is optional. For example:
    + * start-history-server.sh and stop-history-server.sh. The path to a base log directory,
    + * as well as any other relevant history-server configuration, should be specified via
    + * the $SPARK_HISTORY_OPTS environment variable. For example:
      *
    - *   ./sbin/spark-history-server.sh /tmp/spark-events
    - *   ./sbin/spark-history-server.sh hdfs://1.2.3.4:9000/spark-events
    + *   export SPARK_HiSTORY_OPTS="-Dspark.history.fs.logDirectory=/tmp/spark-events"
    + *   ./sbin/start-history-server.sh
    --- End diff --
    
    can you make this more terse
    ```
    SPARK_HISTORY_OPTS=" -Dspark.history.fs.logDirectory=/tmp/spark-events" ./sbin/start-history-server.sh
    SPARK_HISTORY_OPTS=" -Dspark.history.fs.logDirectory=hdfs:/tmp/spark-events" ./sbin/start-history-server.sh
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67574897
  
      [Test build #24607 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24607/consoleFull) for   PR 3736 at commit [`421d8ff`](https://github.com/apache/spark/commit/421d8ff86d300cff0471aca5017690d7dc9fa96c).
     * This patch merges cleanly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3736#discussion_r22078202
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala ---
    @@ -158,11 +158,15 @@ class HistoryServer(
     
     /**
      * The recommended way of starting and stopping a HistoryServer is through the scripts
    - * start-history-server.sh and stop-history-server.sh. The path to a base log directory
    - * is must be specified, while the requested UI port is optional. For example:
    + * start-history-server.sh and stop-history-server.sh. The path to a base log directory,
    + * as well as any other relevant history-server configuration, should be specified via
    --- End diff --
    
    just history server is fine, no need to hyphenate


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67580621
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24604/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67566215
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24600/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by ryan-williams <gi...@git.apache.org>.
Github user ryan-williams commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3736#discussion_r22078372
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala ---
    @@ -158,11 +158,15 @@ class HistoryServer(
     
     /**
      * The recommended way of starting and stopping a HistoryServer is through the scripts
    - * start-history-server.sh and stop-history-server.sh. The path to a base log directory
    - * is must be specified, while the requested UI port is optional. For example:
    + * start-history-server.sh and stop-history-server.sh. The path to a base log directory,
    + * as well as any other relevant history-server configuration, should be specified via
    + * the $SPARK_HISTORY_OPTS environment variable. For example:
      *
    - *   ./sbin/spark-history-server.sh /tmp/spark-events
    - *   ./sbin/spark-history-server.sh hdfs://1.2.3.4:9000/spark-events
    + *   export SPARK_HiSTORY_OPTS="-Dspark.history.fs.logDirectory=/tmp/spark-events"
    + *   ./sbin/start-history-server.sh
    + *
    + *   export SPARK_HiSTORY_OPTS="-Dspark.history.fs.logDirectory=hdfs://1.2.3.4:9000/spark-events"
    + *   ./sbin/start-history-server.sh
    --- End diff --
    
    sure, but
    ```
     *   SPARK_HISTORY_OPTS="-Dspark.history.fs.logDirectory=/tmp/spark-events" ./sbin/start-history-server.sh
    ```
    is 107 chars long; preferences on wrapping?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67573232
  
      [Test build #24605 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24605/consoleFull) for   PR 3736 at commit [`76d6a4c`](https://github.com/apache/spark/commit/76d6a4cd3fa36582caecc2e60e36ceaa1df0f315).
     * This patch merges cleanly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67554776
  
      [Test build #24600 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24600/consoleFull) for   PR 3736 at commit [`9ca7629`](https://github.com/apache/spark/commit/9ca76290bbb6434c77bab4f2cd1ccd2383de22d7).
     * This patch merges cleanly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67571827
  
    Hey thanks for catching this. The changes LGTM pending a few minor comments.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67566199
  
      [Test build #24600 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/24600/consoleFull) for   PR 3736 at commit [`9ca7629`](https://github.com/apache/spark/commit/9ca76290bbb6434c77bab4f2cd1ccd2383de22d7).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67581049
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/24605/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3736#discussion_r22078222
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala ---
    @@ -158,11 +158,15 @@ class HistoryServer(
     
     /**
      * The recommended way of starting and stopping a HistoryServer is through the scripts
    - * start-history-server.sh and stop-history-server.sh. The path to a base log directory
    - * is must be specified, while the requested UI port is optional. For example:
    + * start-history-server.sh and stop-history-server.sh. The path to a base log directory,
    + * as well as any other relevant history-server configuration, should be specified via
    + * the $SPARK_HISTORY_OPTS environment variable. For example:
      *
    - *   ./sbin/spark-history-server.sh /tmp/spark-events
    - *   ./sbin/spark-history-server.sh hdfs://1.2.3.4:9000/spark-events
    + *   export SPARK_HiSTORY_OPTS="-Dspark.history.fs.logDirectory=/tmp/spark-events"
    + *   ./sbin/start-history-server.sh
    + *
    + *   export SPARK_HiSTORY_OPTS="-Dspark.history.fs.logDirectory=hdfs://1.2.3.4:9000/spark-events"
    + *   ./sbin/start-history-server.sh
    --- End diff --
    
    can you make this more terse
    ```
    SPARK_HISTORY_OPTS=" -Dspark.history.fs.logDirectory=/tmp/spark-events" ./sbin/start-history-server.sh
    ```
    I think it's OK to not show the hdfs path as well, since we document that elsewhere


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/3736


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by ryan-williams <gi...@git.apache.org>.
Github user ryan-williams commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67572295
  
    fixed one and fixed some other typos; need clarification on your second comment


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/3736#issuecomment-67703279
  
    Ok LGTM I merg into master and 1.2 thanks


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-4889] update history server example cmd...

Posted by ryan-williams <gi...@git.apache.org>.
Github user ryan-williams commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3736#discussion_r22078340
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/history/HistoryServer.scala ---
    @@ -158,11 +158,15 @@ class HistoryServer(
     
     /**
      * The recommended way of starting and stopping a HistoryServer is through the scripts
    - * start-history-server.sh and stop-history-server.sh. The path to a base log directory
    - * is must be specified, while the requested UI port is optional. For example:
    + * start-history-server.sh and stop-history-server.sh. The path to a base log directory,
    + * as well as any other relevant history-server configuration, should be specified via
    --- End diff --
    
    done


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org