Author: moon
Date: Tue Feb 7 05:02:20 2017
New Revision: 1781974
URL: http://svn.apache.org/viewvc?rev=1781974&view=rev
Log:
ZEPPELIN-2042
Modified:
zeppelin/site/docs/0.8.0-SNAPSHOT/atom.xml
zeppelin/site/docs/0.8.0-SNAPSHOT/development/howtocontribute.html
zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml
zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/atom.xml
URL:
http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/atom.xml?rev=1781974&r1=1781973&r2=1781974&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/atom.xml (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/atom.xml Tue Feb 7 05:02:20 2017
@@ -4,7 +4,7 @@
<title>Apache Zeppelin</title>
<link href="http://zeppelin.apache.org/" rel="self"/>
<link href="http://zeppelin.apache.org"/>
- <updated>2017-02-06T15:27:36+09:00</updated>
+ <updated>2017-02-07T14:01:50+09:00</updated>
<id>http://zeppelin.apache.org</id>
<author>
<name>The Apache Software Foundation</name>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/development/howtocontribute.html
URL:
http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/development/howtocontribute.html?rev=1781974&r1=1781973&r2=1781974&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/development/howtocontribute.html
(original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/development/howtocontribute.html Tue Feb
7 05:02:20 2017
@@ -284,6 +284,16 @@ HADOOP_HOME=YOUR_HADOOP_HOME JAVA_HOME=Y
<div class="highlight"><pre><code class="text language-text"
data-lang="text">cd <zeppelin_home>/zeppelin-interpreter/src/main/thrift
./genthrift.sh
</code></pre></div>
+<h3>Run Selenium test</h3>
+
+<p>Zeppelin has <a
href="https://github.com/apache/zeppelin/tree/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration">set
of integration tests</a> using Selenium. To run these test, first build and
run Zeppelin and make sure Zeppelin is running on port 8080. Then you can run
test using following command</p>
+<div class="highlight"><pre><code class="text language-text"
data-lang="text">TEST_SELENIUM=true mvn test -Dtest=[TEST_NAME]
-DfailIfNoTests=false -pl
'zeppelin-interpreter,zeppelin-zengine,zeppelin-server'
+</code></pre></div>
+<p>For example, to run <a
href="https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ParagraphActionsIT.java">ParagraphActionIT</a>,</p>
+<div class="highlight"><pre><code class="text language-text"
data-lang="text">TEST_SELENIUM=true mvn test -Dtest=ParagraphActionsIT
-DfailIfNoTests=false -pl
'zeppelin-interpreter,zeppelin-zengine,zeppelin-server'
+</code></pre></div>
+<p>You'll need Firefox web browser installed in your development
environment. While CI server uses <a
href="https://ftp.mozilla.org/pub/firefox/releases/31.0/">Firefox 31.0</a> to
run selenium test, it is good idea to install the same version (disable auto
update to keep the version).</p>
+
<h2>Where to Start</h2>
<p>You can find issues for <a
href="https://issues.apache.org/jira/browse/ZEPPELIN-981?jql=project%20%3D%20ZEPPELIN%20AND%20labels%20in%20(beginner%2C%20newbie)">beginner
& newbie</a></p>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml
URL:
http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml?rev=1781974&r1=1781973&r2=1781974&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/rss.xml Tue Feb 7 05:02:20 2017
@@ -5,8 +5,8 @@
<description>Apache Zeppelin - The Apache Software
Foundation</description>
<link>http://zeppelin.apache.org</link>
<link>http://zeppelin.apache.org</link>
- <lastBuildDate>2017-02-06T15:27:36+09:00</lastBuildDate>
- <pubDate>2017-02-06T15:27:36+09:00</pubDate>
+ <lastBuildDate>2017-02-07T14:01:50+09:00</lastBuildDate>
+ <pubDate>2017-02-07T14:01:50+09:00</pubDate>
<ttl>1800</ttl>
Modified: zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json
URL:
http://svn.apache.org/viewvc/zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json?rev=1781974&r1=1781973&r2=1781974&view=diff
==============================================================================
--- zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json (original)
+++ zeppelin/site/docs/0.8.0-SNAPSHOT/search_data.json Tue Feb 7 05:02:20 2017
@@ -5,7 +5,7 @@
"/development/howtocontribute.html": {
"title": "Contributing to Apache Zeppelin (Code)",
- "content" : "<!--Licensed 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
athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law
or agreed to in writing, softwaredistributed 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 andlimitations under the License.-->Contributing to Apache
Zeppelin ( Code )NOTE : Apache Zeppelin is an Apache2 License Software.Any
contributions to Zeppelin (Source code, Documents, Image, Website) means you
agree with license all your contributions as Apache2 License.Setting upHere are
some tools you will need to build and test Zeppelin.Software Configuration
Management ( SCM )Since Zeppelin uses Git for it&#39;s SCM system, you need
git client installed in y
our development machine.Integrated Development Environment ( IDE )You are free
to use whatever IDE you prefer, or your favorite command line editor.Build
ToolsTo build the code, installOracle Java 7Apache MavenGetting the source
codeFirst of all, you need Zeppelin source code. The official location of
Zeppelin is http://git.apache.org/zeppelin.git.git accessGet the source code on
your development machine using git.git clone git://git.apache.org/zeppelin.git
zeppelinYou may also want to develop against a specific branch. For example,
for branch-0.5.6git clone -b branch-0.5.6 git://git.apache.org/zeppelin.git
zeppelinApache Zeppelin follows Fork &amp; Pull as a source control
workflow.If you want to not only build Zeppelin but also make any changes, then
you need to fork Zeppelin github mirror repository and make a pull
request.Buildmvn installTo skip testmvn install -DskipTestsTo build with
specific spark / hadoop versionmvn install -Dspark.version=x.x.x
-Dhadoop.version=x.x.xFor
the further Run Zeppelin server in development modecd
zeppelin-serverHADOOP_HOME=YOUR_HADOOP_HOME JAVA_HOME=YOUR_JAVA_HOME mvn
exec:java
-Dexec.mainClass=&quot;org.apache.zeppelin.server.ZeppelinServer&quot;
-Dexec.args=&quot;&quot;Note: Make sure you first run mvn clean install
-DskipTests on your zeppelin root directory, otherwise your server build will
fail to find the required dependencies in the local repro.or use daemon
scriptbin/zeppelin-daemon startServer will be run on
http://localhost:8080.Generating Thrift CodeSome portions of the Zeppelin code
are generated by Thrift. For most Zeppelin changes, you don&#39;t need to
worry about this. But if you modify any of the Thrift IDL files (e.g.
zeppelin-interpreter/src/main/thrift/*.thrift), then you also need to
regenerate these files and submit their updated version as part of your
patch.To regenerate the code, install thrift-0.9.2 and then run the following
command to generate thrift code.cd &lt;zeppeli
n_home&gt;/zeppelin-interpreter/src/main/thrift./genthrift.shWhere to
StartYou can find issues for beginner &amp; newbieStay involvedContributors
should join the Zeppelin mailing [email protected] is for people
who want to contribute code to Zeppelin. subscribe, unsubscribe, archivesIf you
have any issues, create a ticket in JIRA.",
+ "content" : "<!--Licensed 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
athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law
or agreed to in writing, softwaredistributed 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 andlimitations under the License.-->Contributing to Apache
Zeppelin ( Code )NOTE : Apache Zeppelin is an Apache2 License Software.Any
contributions to Zeppelin (Source code, Documents, Image, Website) means you
agree with license all your contributions as Apache2 License.Setting upHere are
some tools you will need to build and test Zeppelin.Software Configuration
Management ( SCM )Since Zeppelin uses Git for it&#39;s SCM system, you need
git client installed in y
our development machine.Integrated Development Environment ( IDE )You are free
to use whatever IDE you prefer, or your favorite command line editor.Build
ToolsTo build the code, installOracle Java 7Apache MavenGetting the source
codeFirst of all, you need Zeppelin source code. The official location of
Zeppelin is http://git.apache.org/zeppelin.git.git accessGet the source code on
your development machine using git.git clone git://git.apache.org/zeppelin.git
zeppelinYou may also want to develop against a specific branch. For example,
for branch-0.5.6git clone -b branch-0.5.6 git://git.apache.org/zeppelin.git
zeppelinApache Zeppelin follows Fork &amp; Pull as a source control
workflow.If you want to not only build Zeppelin but also make any changes, then
you need to fork Zeppelin github mirror repository and make a pull
request.Buildmvn installTo skip testmvn install -DskipTestsTo build with
specific spark / hadoop versionmvn install -Dspark.version=x.x.x
-Dhadoop.version=x.x.xFor
the further Run Zeppelin server in development modecd
zeppelin-serverHADOOP_HOME=YOUR_HADOOP_HOME JAVA_HOME=YOUR_JAVA_HOME mvn
exec:java
-Dexec.mainClass=&quot;org.apache.zeppelin.server.ZeppelinServer&quot;
-Dexec.args=&quot;&quot;Note: Make sure you first run mvn clean install
-DskipTests on your zeppelin root directory, otherwise your server build will
fail to find the required dependencies in the local repro.or use daemon
scriptbin/zeppelin-daemon startServer will be run on
http://localhost:8080.Generating Thrift CodeSome portions of the Zeppelin code
are generated by Thrift. For most Zeppelin changes, you don&#39;t need to
worry about this. But if you modify any of the Thrift IDL files (e.g.
zeppelin-interpreter/src/main/thrift/*.thrift), then you also need to
regenerate these files and submit their updated version as part of your
patch.To regenerate the code, install thrift-0.9.2 and then run the following
command to generate thrift code.cd &lt;zeppeli
n_home&gt;/zeppelin-interpreter/src/main/thrift./genthrift.shRun Selenium
testZeppelin has set of integration tests using Selenium. To run these test,
first build and run Zeppelin and make sure Zeppelin is running on port 8080.
Then you can run test using following commandTEST_SELENIUM=true mvn test
-Dtest=[TEST_NAME] -DfailIfNoTests=false -pl
&#39;zeppelin-interpreter,zeppelin-zengine,zeppelin-server&#39;For
example, to run ParagraphActionIT,TEST_SELENIUM=true mvn test
-Dtest=ParagraphActionsIT -DfailIfNoTests=false -pl
&#39;zeppelin-interpreter,zeppelin-zengine,zeppelin-server&#39;You&#39;ll
need Firefox web browser installed in your development environment. While CI
server uses Firefox 31.0 to run selenium test, it is good idea to install the
same version (disable auto update to keep the version).Where to StartYou can
find issues for beginner &amp; newbieStay involvedContributors should join
the Zeppelin mailing [email protected] is for peo
ple who want to contribute code to Zeppelin. subscribe, unsubscribe,
archivesIf you have any issues, create a ticket in JIRA.",
"url": " /development/howtocontribute.html",
"group": "development",
"excerpt": "How can you contribute to Apache Zeppelin project? This
document covers from setting up your develop environment to making a pull
request on Github."