This is an automated email from the ASF dual-hosted git repository. mwalch pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/asf-site by this push: new 257f0ab Jekyll build from master:301aac7 257f0ab is described below commit 257f0ab38360ab82931c77d9a4ea5b70b5c85df3 Author: Mike Walch <mwa...@apache.org> AuthorDate: Mon Dec 23 11:42:15 2019 -0500 Jekyll build from master:301aac7 Updated min ruby version 2.5.4 --- index.html => blog/2019/12/16/accumulo-proxy.html | 160 +++++++--------------- feed.xml | 103 ++++++++------ index.html | 14 +- news/index.html | 7 + redirects.json | 2 +- search_data.json | 8 ++ 6 files changed, 135 insertions(+), 159 deletions(-) diff --git a/index.html b/blog/2019/12/16/accumulo-proxy.html similarity index 56% copy from index.html copy to blog/2019/12/16/accumulo-proxy.html index d2d6818..76cc90b 100644 --- a/index.html +++ b/blog/2019/12/16/accumulo-proxy.html @@ -25,7 +25,7 @@ <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs/jq-2.2.3/dt-1.10.12/datatables.min.css"> <link href="/css/accumulo.css" rel="stylesheet" type="text/css"> -<title>Apache Accumulo</title> +<title>Accumulo Clients in Other Programming Languages</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> @@ -138,116 +138,62 @@ </div> <div id="content"> - <div class="row"> - <div class="col-md-8"> - <div class="jumbotron" style="text-align: center"> - <h3>Apache Accumulo® is a sorted, distributed key/value store that provides robust, scalable data storage and retrieval.</h3> - <a style="margin-right: 20px" class="btn btn-success" href="downloads/" role="button"><i class="fa fa-download fa-lg"></i> Download</a> - <a class="btn btn-primary" href="https://github.com/apache/accumulo" role="button"><i class="fa fa-github fa-lg"></i> GitHub</a> - </div> - <p id="home-description">With Apache Accumulo, users can store and manage large data sets across a cluster. Accumulo uses <a href="https://hadoop.apache.org">Apache Hadoop</a>'s HDFS to store its data and <a href="https://zookeeper.apache.org">Apache ZooKeeper</a> for consensus. While many users interact directly with Accumulo, several <a href="/related-projects">open source projects</a> use Accumulo as their underlying store.</p> - <p id="home-description">To learn more about Accumulo, take the <a href="/tour">Accumulo tour</a>, read the <a href="/docs/2.x">user manual</a> and run the Accumulo <a href="https://github.com/apache/accumulo-examples">example code</a>. Feel free to <a href="/contact-us">contact us</a> if you have any questions. + <h1 class="title">Accumulo Clients in Other Programming Languages</h1> + + <p> - <h3>Major Features</h3> +<b>Date: </b> 16 Dec 2019<br> - <div class="row"> - <div class="col-md-6"> - <h4>Server-side programming</h4> - <p>Accumulo has a programming mechanism (called <a href="/docs/2.x/development/iterators">Iterators</a>) that can modify key/value pairs at various points in the data management process.</p> - </div> - <div class="col-md-6"> - <h4>Cell-based access control</h4> - <p>Every Accumulo key/value pair has its own <a href="/docs/2.x/security/authorizations#security-labels">security label</a> which limits query results based off user authorizations.</p> - </div> - </div> - <div class="row"> - <div class="col-md-6"> - <h4>Designed to scale</h4> - <p>Accumulo runs on a cluster using <a href="/docs/2.x/administration/multivolume">one or more HDFS instances</a>. Nodes can be added or removed as the amount of data stored in Accumulo changes.</p> - </div> - <div class="col-md-6"> - <h4>Stable</h4> - <p>Accumulo has a stable <a href="/latest/apidocs">client API</a> that follows <a href="https://semver.org">semantic versioning</a>. Each Accumulo release goes through <a href="/docs/2.x/getting-started/features#testing">extensive testing</a>.</p> - </div> - </div> - </div> - <div class="col-md-4" id="sidebar"> - <div class="row"> - <div class="col-sm-12 panel panel-default"> - <p style="font-size: 24px; margin-bottom: 0px;">Latest News</p> - - - <div class="row latest-news-item"> - <div class="col-sm-12" style="margin-bottom: 5px"> - <span style="font-size: 12px; margin-right: 5px;">Nov 2019</span> - <a href="/blog/2019/11/04/checkstyle-import-control.html">Checking API use</a> - </div> - </div> - - <div class="row latest-news-item"> - <div class="col-sm-12" style="margin-bottom: 5px"> - <span style="font-size: 12px; margin-right: 5px;">Oct 2019</span> - <a href="/blog/2019/10/15/accumulo-adlsgen2-notes.html">Using Azure Data Lake Gen2 storage as a data store for Accumulo</a> - </div> - </div> - - <div class="row latest-news-item"> - <div class="col-sm-12" style="margin-bottom: 5px"> - <span style="font-size: 12px; margin-right: 5px;">Sep 2019</span> - <a href="/blog/2019/09/17/erasure-coding.html">Using HDFS Erasure Coding with Accumulo</a> - </div> - </div> - - <div class="row latest-news-item"> - <div class="col-sm-12" style="margin-bottom: 5px"> - <span style="font-size: 12px; margin-right: 5px;">Sep 2019</span> - <a href="/blog/2019/09/10/accumulo-S3-notes.html">Using S3 as a data store for Accumulo</a> - </div> - </div> - - <div class="row latest-news-item"> - <div class="col-sm-12" style="margin-bottom: 5px"> - <span style="font-size: 12px; margin-right: 5px;">Aug 2019</span> - <a href="/blog/2019/08/12/why-upgrade.html">Top 10 Reasons to Upgrade</a> - </div> - </div> - - <div id="news-archive-link"> - <p>View all posts in the <a href="/news">news archive</a></p> - </div> - </div> - </div> - <div class="row"> - <div class="col-sm-12 panel panel-default"> - -<table class="table" id="sociallinks"> - <tbody> - <tr> - <td><img src="/images/Twitter_logo_blue.png" alt="Twitter" style="height: 1em" /></td> - <td><a href="https://twitter.com/apacheaccumulo">@ApacheAccumulo</a></td> - </tr> - <tr> - <td><img src="/images/InBug-16px_0.png" alt="Linked in" /></td> - <td><a href="https://www.linkedin.com/groups/4554913/">Apache Accumulo Professionals</a></td> - </tr> - <tr> - <td><img src="/images/GitHub-Mark-32px.png" alt="GitHub" style="height: 1em" /></td> - <td><a href="https://github.com/apache/accumulo">Apache Accumulo on GitHub</a></td> - </tr> - </tbody> -</table> +</p> +<p>Apache Accumulo has an <a href="https://github.com/apache/accumulo-proxy">Accumulo Proxy</a> that allows communication with Accumulo using clients written +in languages other than Java. This blog post shows how to run the Accumulo Proxy process using <a href="https://github.com/apache/fluo-uno">Uno</a> +and communicate with Accumulo using a Python client.</p> - </div> - </div> - <div class="row"> - <div class="col-sm-12"> - <a id="asf-current-event-logo" href="https://www.apache.org/events/current-event.html"><img alt="ASF Current Events" class="img-responsive center-block" src="https://www.apache.org/events/current-event-234x60.png"/></a><br/> - <a id="accumulo-summit-logo" href="http://accumulosummit.com/"><img alt="Accumulo Summit" class="img-responsive center-block" src="/images/accumulo-summit-logo.png"/></a> - </div> - </div> - </div> -</div> +<p>First, clone the <a href="https://github.com/apache/accumulo-proxy">Accumulo Proxy</a> repository.</p> + +<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git clone https://github.com/apache/accumulo-proxy +</code></pre></div></div> + +<p>Assuming you have <a href="https://github.com/apache/fluo-uno">Uno</a> set up on your machine, configure <code class="highlighter-rouge">uno.conf</code> to start the <a href="https://github.com/apache/accumulo-proxy">Accumulo Proxy</a> +by setting the configuration below:</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>export POST_RUN_PLUGINS="accumulo-proxy" +export PROXY_REPO=/path/to/accumulo-proxy +</code></pre></div></div> + +<p>Run the following command to set up Accumulo again. The Proxy will be started after Accumulo runs.</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>uno setup accumulo +</code></pre></div></div> + +<p>After Accumulo is set up, you should see the following output from uno:</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Executing post run plugin: accumulo-proxy +Installing Accumulo Proxy at /path/to/fluo-uno/install/accumulo-proxy-2.0.0-SNAPSHOT +Accumulo Proxy 2.0.0-SNAPSHOT is running + * view logs at /path/to/fluo-uno/install/logs/accumulo-proxy/ +</code></pre></div></div> + +<p>Next, follow the instructions below to create a Python 2.7 client that creates an Accumulo table +named <code class="highlighter-rouge">pythontest</code> and writes data to it:</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mkdir accumulo-client/ +cd accumulo-client/ +pipenv --python 2.7 +pipenv install thrift +pipenv install -e /path/to/accumulo-proxy/src/main/python +cp /path/to/accumulo-proxy/src/main/python/example.py . +# Edit credentials if needed +vim example.py +pipenv run python2 example.py +</code></pre></div></div> + +<p>Verify that the table was created or data was written using <code class="highlighter-rouge">uno ashell</code> or the Accumulo monitor.</p> + + + +<p><strong>View all posts in the <a href="/news">news archive</a></strong></p> </div> diff --git a/feed.xml b/feed.xml index 6fe3371..20c8ce4 100644 --- a/feed.xml +++ b/feed.xml @@ -6,12 +6,69 @@ </description> <link>https://accumulo.apache.org/</link> <atom:link href="https://accumulo.apache.org/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Tue, 26 Nov 2019 20:55:51 -0500</pubDate> - <lastBuildDate>Tue, 26 Nov 2019 20:55:51 -0500</lastBuildDate> + <pubDate>Mon, 23 Dec 2019 11:42:13 -0500</pubDate> + <lastBuildDate>Mon, 23 Dec 2019 11:42:13 -0500</lastBuildDate> <generator>Jekyll v4.0.0</generator> <item> + <title>Accumulo Clients in Other Programming Languages</title> + <description><p>Apache Accumulo has an <a href="https://github.com/apache/accumulo-proxy">Accumulo Proxy</a> that allows communication with Accumulo using clients written +in languages other than Java. This blog post shows how to run the Accumulo Proxy process using <a href="https://github.com/apache/fluo-uno">Uno</a> +and communicate with Accumulo using a Python client.</p> + +<p>First, clone the <a href="https://github.com/apache/accumulo-proxy">Accumulo Proxy</a> repository.</p> + +<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git clone https://github.com/apache/accumulo-proxy +</code></pre></div></div> + +<p>Assuming you have <a href="https://github.com/apache/fluo-uno">Uno</a> set up on your machine, configure <code class="highlighter-rouge">uno.conf</code> to start the <a href="https://github.com/apache/accumulo-proxy">Accumulo Proxy</a> +by setting the configuration below:</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>export POST_RUN_PLUGINS="accumulo-proxy" +export PROXY_REPO=/path/to/accumulo-proxy +</code></pre></div></div> + +<p>Run the following command to set up Accumulo again. The Proxy will be started after Accumulo runs.</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>uno setup accumulo +</code></pre></div></div> + +<p>After Accumulo is set up, you should see the following output from uno:</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Executing post run plugin: accumulo-proxy +Installing Accumulo Proxy at /path/to/fluo-uno/install/accumulo-proxy-2.0.0-SNAPSHOT +Accumulo Proxy 2.0.0-SNAPSHOT is running + * view logs at /path/to/fluo-uno/install/logs/accumulo-proxy/ +</code></pre></div></div> + +<p>Next, follow the instructions below to create a Python 2.7 client that creates an Accumulo table +named <code class="highlighter-rouge">pythontest</code> and writes data to it:</p> + +<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mkdir accumulo-client/ +cd accumulo-client/ +pipenv --python 2.7 +pipenv install thrift +pipenv install -e /path/to/accumulo-proxy/src/main/python +cp /path/to/accumulo-proxy/src/main/python/example.py . +# Edit credentials if needed +vim example.py +pipenv run python2 example.py +</code></pre></div></div> + +<p>Verify that the table was created or data was written using <code class="highlighter-rouge">uno ashell</code> or the Accumulo monitor.</p> + +</description> + <pubDate>Mon, 16 Dec 2019 00:00:00 -0500</pubDate> + <link>https://accumulo.apache.org/blog/2019/12/16/accumulo-proxy.html</link> + <guid isPermaLink="true">https://accumulo.apache.org/blog/2019/12/16/accumulo-proxy.html</guid> + + + <category>blog</category> + + </item> + + <item> <title>Checking API use</title> <description><p>Accumulo follows <a href="https://semver.org/">SemVer</a> across versions with the declaration of a public API. Code not in the public API should be considered unstable, at risk of changing between versions. The public API packages are <a href="/api/">listed on the website</a> @@ -1290,47 +1347,5 @@ to attendees. If you are interested in a corporate sponsorship, please feel free </item> - <item> - <title>Apache Accumulo 2.0.0-alpha-2</title> - <description><p>Apache Accumulo 2.0.0-alpha-2 contains numerous changes since the alpha-2. This -alpha release is a preview of features coming in 2.0.0. It is being made -available for preview, testing, and evaluation of those upcoming features, but -is <em>not yet suitable for production use</em>. API, packaging, and other changes may -still occur before a final 2.0.0 release.</p> - -<ul> - <li><a href="/docs/2.x/">User Manual</a> - In-depth developer and administrator documentation</li> - <li><a href="/docs/2.x/apidocs/">Javadocs</a> - Accumulo 2.0 API (subject to change)</li> -</ul> - -<h2 id="notable-changes">Notable Changes</h2> - -<ul> - <li>Please see the <a href="/release/accumulo-2.0.0">draft release notes for 2.0.0</a> for a list of the -changes coming in 2.0.0, many of which are either complete, or nearly -complete in this alpha release.</li> -</ul> - -<h3 id="since-200-alpha-1">Since 2.0.0-alpha-1</h3> - -<ul> - <li>New Map Reduce API <a href="https://github.com/apache/accumulo/issues/743">#743 </a> <a href="https://github.com/apache/accumulo/issues/751">#751 </a> <a href="https://github.com/apache/accumulo/issues/753">#753 </a> <a href="https://github.com/apache/accumulo/issues/803">#803 </a></li> - <li>Deprecated existing map reduce API <a href="https://github.com/apache/accumulo/commit/2465562cd088b126bfb17523c33c8acd0a48309f">2465562</a> <a href="https://github.com/apache/accumulo/issues/804">#804 </a> <a href="https://github.com/apache/accumulo/issues/892">#892 </a></li> - <li>Added ability to create scanners with default auths <a href="https://github.com/apache/accumulo/issues/744">#744 </a></li> - <li>Updated AccumuloClient builder API <a href="https://github.com/apache/accumulo/issues/792">#792 </a></li> - <li>AccumuloClient was made Closeable <a href="https://github.com/apache/accumulo/issues/718">#718 </a></li> - <li>Scanners close server side sessions on close <a href="https://github.com/apache/accumulo/issues/813">#813 </a> <a href="https://github.com/apache/accumulo/issues/905">#905 </a></li> -</ul> - -</description> - <pubDate>Thu, 31 Jan 2019 00:00:00 -0500</pubDate> - <link>https://accumulo.apache.org/release/accumulo-2.0.0-alpha-2/</link> - <guid isPermaLink="true">https://accumulo.apache.org/release/accumulo-2.0.0-alpha-2/</guid> - - - <category>release</category> - - </item> - </channel> </rss> diff --git a/index.html b/index.html index d2d6818..6b73fd8 100644 --- a/index.html +++ b/index.html @@ -179,6 +179,13 @@ <div class="row latest-news-item"> <div class="col-sm-12" style="margin-bottom: 5px"> + <span style="font-size: 12px; margin-right: 5px;">Dec 2019</span> + <a href="/blog/2019/12/16/accumulo-proxy.html">Accumulo Clients in Other Programming Languages</a> + </div> + </div> + + <div class="row latest-news-item"> + <div class="col-sm-12" style="margin-bottom: 5px"> <span style="font-size: 12px; margin-right: 5px;">Nov 2019</span> <a href="/blog/2019/11/04/checkstyle-import-control.html">Checking API use</a> </div> @@ -205,13 +212,6 @@ </div> </div> - <div class="row latest-news-item"> - <div class="col-sm-12" style="margin-bottom: 5px"> - <span style="font-size: 12px; margin-right: 5px;">Aug 2019</span> - <a href="/blog/2019/08/12/why-upgrade.html">Top 10 Reasons to Upgrade</a> - </div> - </div> - <div id="news-archive-link"> <p>View all posts in the <a href="/news">news archive</a></p> </div> diff --git a/news/index.html b/news/index.html index a548889..557a66d 100644 --- a/news/index.html +++ b/news/index.html @@ -148,6 +148,13 @@ <div class="row" style="margin-top: 15px"> + <div class="col-md-1">Dec 16</div> + <div class="col-md-10"><a href="/blog/2019/12/16/accumulo-proxy.html">Accumulo Clients in Other Programming Languages</a></div> + </div> + + + + <div class="row" style="margin-top: 15px"> <div class="col-md-1">Nov 04</div> <div class="col-md-10"><a href="/blog/2019/11/04/checkstyle-import-control.html">Checking API use</a></div> </div> diff --git a/redirects.json b/redirects.json index 9c19363..c9a2be2 100644 --- a/redirects.json +++ b/redirects.json @@ -1 +1 @@ -{"/release_notes/1.5.1.html":"https://accumulo.apache.org/release/accumulo-1.5.1/","/release_notes/1.6.0.html":"https://accumulo.apache.org/release/accumulo-1.6.0/","/release_notes/1.6.1.html":"https://accumulo.apache.org/release/accumulo-1.6.1/","/release_notes/1.6.2.html":"https://accumulo.apache.org/release/accumulo-1.6.2/","/release_notes/1.7.0.html":"https://accumulo.apache.org/release/accumulo-1.7.0/","/release_notes/1.5.3.html":"https://accumulo.apache.org/release/accumulo-1.5.3/" [...] \ No newline at end of file +{"/release_notes/1.5.1.html":"https://accumulo.apache.org/release/accumulo-1.5.1/","/release_notes/1.6.0.html":"https://accumulo.apache.org/release/accumulo-1.6.0/","/release_notes/1.6.1.html":"https://accumulo.apache.org/release/accumulo-1.6.1/","/release_notes/1.6.2.html":"https://accumulo.apache.org/release/accumulo-1.6.2/","/release_notes/1.7.0.html":"https://accumulo.apache.org/release/accumulo-1.7.0/","/release_notes/1.5.3.html":"https://accumulo.apache.org/release/accumulo-1.5.3/" [...] \ No newline at end of file diff --git a/search_data.json b/search_data.json index d5e9b0e..da4162b 100644 --- a/search_data.json +++ b/search_data.json @@ -302,6 +302,14 @@ }, + "blog-2019-12-16-accumulo-proxy-html": { + "title": "Accumulo Clients in Other Programming Languages", + "content" : "Apache Accumulo has an Accumulo Proxy that allows communication with Accumulo using clients writtenin languages other than Java. This blog post shows how to run the Accumulo Proxy process using Unoand communicate with Accumulo using a Python client.First, clone the Accumulo Proxy repository.git clone https://github.com/apache/accumulo-proxyAssuming you have Uno set up on your machine, configure uno.conf to start the Accumulo Proxyby setting the configuration below:exp [...] + "url": " /blog/2019/12/16/accumulo-proxy.html", + "categories": "blog" + } + , + "blog-2019-11-04-checkstyle-import-control-html": { "title": "Checking API use", "content" : "Accumulo follows SemVer across versions with the declaration of a public API. Code not in the public API should beconsidered unstable, at risk of changing between versions. The public API packages are listed on the websitebut may not be considered when an Accumulo user writes code. This blog post explains how to make Mavenautomatically detect usage of Accumulo code outside the public API.The techniques described in this blog post only work for Accumulo 2.0 and late [...]