You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by rg...@apache.org on 2023/03/17 18:28:37 UTC

[flume-site] branch asf-staging updated: Update developers guide on updating protocol buffers

This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/flume-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new 1a479e91 Update developers guide on updating protocol buffers
1a479e91 is described below

commit 1a479e91d43b762eed53bf9b3ea18082208021b4
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Fri Mar 17 11:28:26 2023 -0700

    Update developers guide on updating protocol buffers
---
 content/.doctrees/FlumeDeveloperGuide.doctree | Bin 221950 -> 217687 bytes
 content/.doctrees/environment.pickle          | Bin 202057 -> 202162 bytes
 content/FlumeDeveloperGuide.html              |   5 -----
 content/_sources/FlumeDeveloperGuide.txt      |   6 ------
 content/searchindex.js                        |   2 +-
 source/sphinx/FlumeDeveloperGuide.rst         |   6 ------
 6 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/content/.doctrees/FlumeDeveloperGuide.doctree b/content/.doctrees/FlumeDeveloperGuide.doctree
index 4e3934f7..88ffe856 100644
Binary files a/content/.doctrees/FlumeDeveloperGuide.doctree and b/content/.doctrees/FlumeDeveloperGuide.doctree differ
diff --git a/content/.doctrees/environment.pickle b/content/.doctrees/environment.pickle
index 362b7b85..f2a72523 100644
Binary files a/content/.doctrees/environment.pickle and b/content/.doctrees/environment.pickle differ
diff --git a/content/FlumeDeveloperGuide.html b/content/FlumeDeveloperGuide.html
index c5674600..e6ad27f0 100644
--- a/content/FlumeDeveloperGuide.html
+++ b/content/FlumeDeveloperGuide.html
@@ -145,9 +145,6 @@ commands:</p>
 <li>Create tarball package: <tt class="docutils literal"><span class="pre">mvn</span> <span class="pre">clean</span> <span class="pre">install</span></tt></li>
 <li>Create tarball package (skip unit tests): <tt class="docutils literal"><span class="pre">mvn</span> <span class="pre">clean</span> <span class="pre">install</span> <span class="pre">-DskipTests</span></tt></li>
 </ol>
-<p>Please note that Flume builds requires that the Google Protocol Buffers compiler
-be in the path. You can download and install it by following the instructions
-<a class="reference external" href="https://developers.google.com/protocol-buffers/">here</a>.</p>
 </div>
 <div class="section" id="updating-protocol-buffer-version">
 <h4>Updating Protocol Buffer Version<a class="headerlink" href="#updating-protocol-buffer-version" title="Permalink to this headline">ΒΆ</a></h4>
@@ -155,9 +152,7 @@ be in the path. You can download and install it by following the instructions
 used by Flume, it is necessary to regenerate the data access classes using the protoc compiler
 that is part of Protocol Buffer as follows.</p>
 <ol class="arabic simple">
-<li>Install the desired version of Protocol Buffer on your local machine</li>
 <li>Update version of Protocol Buffer in pom.xml</li>
-<li>Generate new Protocol Buffer data access classes in Flume: <tt class="docutils literal"><span class="pre">cd</span> <span class="pre">flume-ng-channels/flume-file-channel;</span> <span class="pre">mvn</span> <span class="pre">-P</span> <span class="pre">compile-proto</span> <span class="pre">clean</span> <span class="pre">package</span> <span class="pre">-DskipTests</span></tt></li>
 <li>Add Apache license header to any of the generated files that are missing it</li>
 <li>Rebuild and test Flume:  <tt class="docutils literal"><span class="pre">cd</span> <span class="pre">../..;</span> <span class="pre">mvn</span> <span class="pre">clean</span> <span class="pre">install</span></tt></li>
 </ol>
diff --git a/content/_sources/FlumeDeveloperGuide.txt b/content/_sources/FlumeDeveloperGuide.txt
index 9e6b5610..f7dad0a2 100644
--- a/content/_sources/FlumeDeveloperGuide.txt
+++ b/content/_sources/FlumeDeveloperGuide.txt
@@ -116,19 +116,13 @@ commands:
 #. Create tarball package: ``mvn clean install``
 #. Create tarball package (skip unit tests): ``mvn clean install -DskipTests``
 
-Please note that Flume builds requires that the Google Protocol Buffers compiler
-be in the path. You can download and install it by following the instructions
-`here <https://developers.google.com/protocol-buffers/>`_.
-
 Updating Protocol Buffer Version
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 File channel has a dependency on Protocol Buffer. When updating the version of Protocol Buffer
 used by Flume, it is necessary to regenerate the data access classes using the protoc compiler
 that is part of Protocol Buffer as follows.
 
-#. Install the desired version of Protocol Buffer on your local machine
 #. Update version of Protocol Buffer in pom.xml
-#. Generate new Protocol Buffer data access classes in Flume: ``cd flume-ng-channels/flume-file-channel; mvn -P compile-proto clean package -DskipTests``
 #. Add Apache license header to any of the generated files that are missing it
 #. Rebuild and test Flume:  ``cd ../..; mvn clean install``
 
diff --git a/content/searchindex.js b/content/searchindex.js
index 502d2d30..fdd35462 100644
--- a/content/searchindex.js
+++ b/content/searchindex.js
@@ -1 +1 @@
-Search.setIndex({objtypes:{},objects:{},titles:["Version 1.0.0 - Incubating","Version 1.10.0","Version 1.1.0 - Incubating","Version 1.10.1","Version 1.11.0","Version 1.3.1","Version 1.4.0","Version 1.5.0","Version 1.2.0","Version 1.3.0","Flume 1.11.0 Developer Guide","Version 1.8.0","Version 1.5.0.1","Version 1.9.0","Version 1.6.0","Version 1.7.0","Version 1.5.2","Source Repository","Download","Apache Flume Security Vulnerabilities","Mailing lists","Flume 1.11.0 User Guide","Testing","Do [...]
\ No newline at end of file
+Search.setIndex({objtypes:{},objects:{},titles:["Version 1.0.0 - Incubating","Version 1.1.0 - Incubating","Version 1.10.0","Version 1.11.0","Version 1.10.1","Version 1.4.0","Version 1.3.1","Version 1.5.0","Version 1.2.0","Version 1.3.0","Flume 1.11.0 Developer Guide","Version 1.8.0","Version 1.9.0","Version 1.5.0.1","Version 1.6.0","Source Repository","Version 1.5.2","Version 1.7.0","Mailing lists","Apache Flume Security Vulnerabilities","Download","Flume 1.11.0 User Guide","Testing","Do [...]
\ No newline at end of file
diff --git a/source/sphinx/FlumeDeveloperGuide.rst b/source/sphinx/FlumeDeveloperGuide.rst
index 9e6b5610..f7dad0a2 100644
--- a/source/sphinx/FlumeDeveloperGuide.rst
+++ b/source/sphinx/FlumeDeveloperGuide.rst
@@ -116,19 +116,13 @@ commands:
 #. Create tarball package: ``mvn clean install``
 #. Create tarball package (skip unit tests): ``mvn clean install -DskipTests``
 
-Please note that Flume builds requires that the Google Protocol Buffers compiler
-be in the path. You can download and install it by following the instructions
-`here <https://developers.google.com/protocol-buffers/>`_.
-
 Updating Protocol Buffer Version
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 File channel has a dependency on Protocol Buffer. When updating the version of Protocol Buffer
 used by Flume, it is necessary to regenerate the data access classes using the protoc compiler
 that is part of Protocol Buffer as follows.
 
-#. Install the desired version of Protocol Buffer on your local machine
 #. Update version of Protocol Buffer in pom.xml
-#. Generate new Protocol Buffer data access classes in Flume: ``cd flume-ng-channels/flume-file-channel; mvn -P compile-proto clean package -DskipTests``
 #. Add Apache license header to any of the generated files that are missing it
 #. Rebuild and test Flume:  ``cd ../..; mvn clean install``