You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by maropu <gi...@git.apache.org> on 2016/09/27 11:10:57 UTC

[GitHub] spark pull request #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with...

GitHub user maropu opened a pull request:

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

    [MINOR][DOCS] Fix th doc. of spark-streaming with kinesis

    ## What changes were proposed in this pull request?
    This pr is just to fix the document of `spark-kinesis-integration`.
    Since `SPARK-17418` prevented all the kinesis stuffs (including kinesis example code)
    from publishing,  `bin/run-example streaming.KinesisWordCountASL` and `bin/run-example streaming.JavaKinesisWordCountASL` does not work.
    Instead, it fetches the kinesis jar from the Spark Package.


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

    $ git pull https://github.com/maropu/spark DocFixKinesis

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

    https://github.com/apache/spark/pull/15260.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 #15260
    
----
commit ce4640e019be85df080439ddbcb8990ae2b7a11d
Author: Takeshi YAMAMURO <li...@gmail.com>
Date:   2016-09-27T10:59:52Z

    Fix th doc. of spark-streaming with kinesis

----


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by maropu <gi...@git.apache.org>.
Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    yea, okay.


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

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

    https://github.com/apache/spark/pull/15260
  
    **[Test build #65962 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65962/consoleFull)** for PR 15260 at commit [`ce4640e`](https://github.com/apache/spark/commit/ce4640e019be85df080439ddbcb8990ae2b7a11d).


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by maropu <gi...@git.apache.org>.
Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    yea, thx,
    Also, should we add `external/kinesis-asl-assembly/target` in classpath so that we can run `$  mvn -Pkinesis-asl -DskipTests package; ./bin/run-example streaming.KinesisWordCountASL`?


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by maropu <gi...@git.apache.org>.
Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    In master, I tried;
    ```
    $  mvn -Pkinesis-asl -DskipTests package; ./bin/run-example streaming.KinesisWordCountASL
    java.lang.ClassNotFoundException: org.apache.spark.examples.streaming.KinesisWordCountASL
            at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
            at java.security.AccessController.doPrivileged(Native Method
    ```
    Also, in the spark-2.0 branch, I hit the same issue.


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    Although it should still work (?) to build with `-Pkinesis-asl` I think, because the assembly still exists it's just not published, I do think we should make this doc change, because it reflects how users would really use this with a Spark distribution.


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    Merged to master/2.0


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

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

    https://github.com/apache/spark/pull/15260
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65962/
    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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    Oh, add it to `run-example`? I see why you say that although it won't be necessary for people using it the 'right way' and the docs will now show that way.


---
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 #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with...

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

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


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

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

    https://github.com/apache/spark/pull/15260
  
    **[Test build #65962 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/65962/consoleFull)** for PR 15260 at commit [`ce4640e`](https://github.com/apache/spark/commit/ce4640e019be85df080439ddbcb8990ae2b7a11d).
     * 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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by maropu <gi...@git.apache.org>.
Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    Aha, I see. However, some users possibly think they'd just like to download compiled Spark jars and run the kinesis example for quick tests because compiling the whole spark package takes much time. 
    In other examples (e.g., `SparkPi`), since spark compiled binaries in the download site bundle them, we can download them and just run the examples. But, we currently cannot run the kinesis example because they donot bundle it now.
    
    So, how about staying this current doc as it is and appending a new direction like this pr?
    Also, in a follow-up pr, it is okay to me that I'll fix the `run-example` script so that it can add `external/kinesis-asl-assembly/target` in classpath.


---
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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

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

    https://github.com/apache/spark/pull/15260
  
    Merged build finished. 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 issue #15260: [MINOR][DOCS] Fix th doc. of spark-streaming with kinesi...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/15260
  
    I think your current change sounds fine. It shows how people should use this now.


---
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