[jira] [Assigned] (ACCUMULO-4732) No APIs to configure iterators and locality groups for new table

2017-11-02 Thread Mark Owens (JIRA)

 [ 
https://issues.apache.org/jira/browse/ACCUMULO-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Owens reassigned ACCUMULO-4732:


Assignee: Mark Owens

> No APIs to configure iterators and locality groups for new table
> 
>
> Key: ACCUMULO-4732
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4732
> Project: Accumulo
>  Issue Type: Improvement
>Reporter: Keith Turner
>Assignee: Mark Owens
>Priority: Major
>  Labels: newbie
> Fix For: 2.0.0
>
>
> In Accumulo 1.7 the ability to set table properties at table creation time 
> was added.  For existing tables there are APIs in table operations that allow 
> setting locality groups and iterators for existing tables.  When setting 
> table properties at table creation time there is not good API for iterators 
> and locality groups. There should be some way in the API to do this.  There 
> may be other things besides iterators and locality groups that should also be 
> supported at table creation time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] milleruntime opened a new pull request #33: Update README.md

2017-11-02 Thread GitBox
milleruntime opened a new pull request #33: Update README.md
URL: https://github.com/apache/accumulo-website/pull/33
 
 
   This has tripped me up before so put a line to help with first time install.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Assigned] (ACCUMULO-4734) Create Accumulo Tour

2017-11-02 Thread Michael Miller (JIRA)

 [ 
https://issues.apache.org/jira/browse/ACCUMULO-4734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Miller reassigned ACCUMULO-4734:


Assignee: Michael Miller

> Create Accumulo Tour 
> -
>
> Key: ACCUMULO-4734
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4734
> Project: Accumulo
>  Issue Type: Improvement
>  Components: website
>Reporter: Michael Miller
>Assignee: Michael Miller
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> It would be great for developers looking to learn Accumulo to have an easy 
> way to start writing code.  A quick tour on the website like the fluo tour 
> would be very helpful:
> https://fluo.apache.org/tour/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] mikewalch closed pull request #32: ACCUMULO-4734 Created basic tour structure on website

2017-11-02 Thread GitBox
mikewalch closed pull request #32: ACCUMULO-4734 Created basic tour structure 
on website
URL: https://github.com/apache/accumulo-website/pull/32
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/_config.yml b/_config.yml
index bcad220..3ad02d8 100644
--- a/_config.yml
+++ b/_config.yml
@@ -51,6 +51,13 @@ defaults:
   permalink: "/:categories/:title/"
   -
 scope:
+  path: "tour"
+  type: "pages"
+values:
+  layout: "tour"
+  permalink: "/tour/:basename/"
+  -
+scope:
   path: ""
   type: "docs-2-0"
 values:
diff --git a/_data/tour.yml b/_data/tour.yml
new file mode 100644
index 000..d84b5bb
--- /dev/null
+++ b/_data/tour.yml
@@ -0,0 +1,6 @@
+docs:
+ - getting-started
+ - basic-read-write
+ - batch-scanner
+ - conditional-writer
+ - using-iterators
diff --git a/_includes/nav.html b/_includes/nav.html
index 295d2e6..7413858 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -13,6 +13,7 @@
 
   
 Download
+Tour
 
   Releases
   
diff --git a/_layouts/tour.html b/_layouts/tour.html
new file mode 100644
index 000..eee83cb
--- /dev/null
+++ b/_layouts/tour.html
@@ -0,0 +1,55 @@
+---
+layout: default
+---
+{% assign tour_pages = site.data.tour.docs %}
+{% for p in tour_pages %}
+  {% assign doc_url = p | prepend: '/tour/' | append: '/' %}
+  {% if doc_url == page.url %}
+{% assign tour_num = forloop.index %}
+{% if forloop.first %}
+  {% assign previous = -1 %}
+{% else %}
+  {% assign previous = forloop.index0 | minus: 1 %}
+  {% assign previous_page = tour_pages[previous] | prepend:"/tour/" | 
append:"/" %}
+{% endif %}
+{% if forloop.last %}
+  {% assign next = 0 %}
+{% else %}
+  {% assign next = forloop.index0 | plus: 1 %}
+  {% assign next_page = tour_pages[next] | prepend:"/tour/" | append:"/" %}
+{% endif %}
+  {% endif %}
+{% endfor %}
+
+
+  Accumulo Tour: {{ page.title }}
+  Tour page {{ tour_num }} of {{ tour_pages.size }}
+
+
+  {{ content }}
+
+
+
+document.body.onkeyup = function(e){
+{% if previous >= 0 %}
+if (e.keyCode == '37') { window.location = '{{previous_page}}'; }
+{% endif %}
+
+{% if next > 0 %}
+if (e.keyCode == '39') { window.location = '{{next_page}}'; }
+{% endif %}
+};
+
+
+
+  
+{% if previous >= 0 %}
+
+{% endif %}
+
+{{ tour_num }} / {{ tour_pages.size }}
+{% if next > 0 %}
+
+{% endif %}
+  
+
diff --git a/index.html b/index.html
index 2777df1..6713e2e 100644
--- a/index.html
+++ b/index.html
@@ -10,6 +10,7 @@
Download
 
 Apache Accumulo is a key/value store based on the 
design of Google's https://research.google.com/archive/bigtable.html;>BigTable. Accumulo 
stores its data in https://hadoop.apache.org;>Apache Hadoop's HDFS 
and uses https://zookeeper.apache.org;>Apache Zookeeper for 
consensus. While many users interact directly with Accumulo, several open source projects use Accumulo as their 
underlying store.
+To learn more about Accumulo, take the Accumulo tour, read the user manual and run the Accumulo https://github.com/apache/accumulo-examples;>example code. Also, join 
our mailing list and see how you can get involved.
 
 Major Features
 
@@ -33,11 +34,6 @@
 Accumulo has a stable client API that 
follows https://semver.org;>semantic versioning. Each Accumulo 
release goes through extensive testing.
   
 
-
-
-To learn more about Accumulo, read the user 
manual and run the Accumulo https://github.com/apache/accumulo-examples;>example code. Also, join 
our mailing list and see how you can get involved.
-  
-
   
   
 
diff --git a/tour/basic-read-write.md b/tour/basic-read-write.md
new file mode 100644
index 000..6eb1c5c
--- /dev/null
+++ b/tour/basic-read-write.md
@@ -0,0 +1,5 @@
+---
+title: Basic Reading & Writing
+---
+
+Talk about reading and writing.
diff --git a/tour/batch-scanner.md b/tour/batch-scanner.md
new file mode 100644
index 000..2eb8eb1
--- /dev/null
+++ b/tour/batch-scanner.md
@@ -0,0 +1,3 @@
+---
+title: Batch Scanner
+---
diff --git a/tour/conditional-writer.md b/tour/conditional-writer.md
new file mode 100644
index 000..83d468c
--- /dev/null
+++ b/tour/conditional-writer.md
@@ -0,0 +1,3 @@
+---
+title: Conditional Writer
+---
diff --git a/tour/getting-started.md b/tour/getting-started.md
new file mode 100644
index 000..0b076c1
--- /dev/null
+++ b/tour/getting-started.md
@@ -0,0 +1,5 @@
+---
+title: Getting Started
+---
+
+Talk about how to get started.
diff --git a/tour/index.md b/tour/index.md
new file mode 100644
index 000..9217637
--- /dev/null
+++ b/tour/index.md
@@ -0,0 +1,29 @@
+---
+title: Accumulo Tour
+layout: page
+permalink: 

[jira] [Updated] (ACCUMULO-4734) Create Accumulo Tour

2017-11-02 Thread ASF GitHub Bot (JIRA)

 [ 
https://issues.apache.org/jira/browse/ACCUMULO-4734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ACCUMULO-4734:
-
Labels: pull-request-available  (was: )

> Create Accumulo Tour 
> -
>
> Key: ACCUMULO-4734
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4734
> Project: Accumulo
>  Issue Type: Improvement
>  Components: website
>Reporter: Michael Miller
>Priority: Major
>  Labels: pull-request-available
>
> It would be great for developers looking to learn Accumulo to have an easy 
> way to start writing code.  A quick tour on the website like the fluo tour 
> would be very helpful:
> https://fluo.apache.org/tour/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] mikewalch opened a new pull request #32: ACCUMULO-4734 Created basic tour structure on website

2017-11-02 Thread GitBox
mikewalch opened a new pull request #32: ACCUMULO-4734 Created basic tour 
structure on website
URL: https://github.com/apache/accumulo-website/pull/32
 
 
   * Content still needs to be created


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Assigned] (ACCUMULO-4734) Create Accumulo Tour

2017-11-02 Thread Christopher Tubbs (JIRA)

 [ 
https://issues.apache.org/jira/browse/ACCUMULO-4734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher Tubbs reassigned ACCUMULO-4734:
---

Assignee: (was: Christopher Tubbs)

> Create Accumulo Tour 
> -
>
> Key: ACCUMULO-4734
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4734
> Project: Accumulo
>  Issue Type: Improvement
>  Components: website
>Reporter: Michael Miller
>Priority: Major
>
> It would be great for developers looking to learn Accumulo to have an easy 
> way to start writing code.  A quick tour on the website like the fluo tour 
> would be very helpful:
> https://fluo.apache.org/tour/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] ctubbsii commented on a change in pull request #318: ACCUMULO-4733 Implement configurable security provider for crypto

2017-11-02 Thread GitBox
ctubbsii commented on a change in pull request #318: ACCUMULO-4733 Implement 
configurable security provider for crypto
URL: https://github.com/apache/accumulo/pull/318#discussion_r148596928
 
 

 ##
 File path: 
core/src/main/java/org/apache/accumulo/core/security/crypto/DefaultCryptoModuleUtils.java
 ##
 @@ -50,20 +50,23 @@ public static SecureRandom getSecureRandom(String 
secureRNG, String secureRNGPro
 return secureRandom;
   }
 
-  public static Cipher getCipher(String cipherSuite) {
+  public static Cipher getCipher(String cipherSuite, String securityProvider) {
 Cipher cipher = null;
 
 if (cipherSuite.equals("NullCipher")) {
   cipher = new NullCipher();
 } else {
   try {
-cipher = Cipher.getInstance(cipherSuite);
+cipher = Cipher.getInstance(cipherSuite, securityProvider);
 
 Review comment:
   This will override the system-wide prioritized crypto providers for Java set 
by the system administrator. This may be okay in some cases, but I don't think 
this should be the default.
   
   I think that we should set the default value to be null, instead of SunJCE, 
and if it is null, then we call the one-parameter version of this method, which 
respects the system-wide security settings. The specific provider should only 
be used if it's not null.
   
   Doing it the way I'm suggesting will be much friendlier on system 
administrators trying to ensure their systems are compliant with their 
organizational requirements. It also makes more sense if a single crypto 
doesn't support all of the algorithms the user has specified, because the 
default behavior is to search the providers set by the system administrator to 
find one that will work for a given algorithm.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Created] (ACCUMULO-4734) Create Accumulo Tour

2017-11-02 Thread Michael Miller (JIRA)
Michael Miller created ACCUMULO-4734:


 Summary: Create Accumulo Tour 
 Key: ACCUMULO-4734
 URL: https://issues.apache.org/jira/browse/ACCUMULO-4734
 Project: Accumulo
  Issue Type: Improvement
  Components: website
Reporter: Michael Miller
Assignee: Christopher Tubbs
Priority: Major


It would be great for developers looking to learn Accumulo to have an easy way 
to start writing code.  A quick tour on the website like the fluo tour would be 
very helpful:
https://fluo.apache.org/tour/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ACCUMULO-4733) Implement configurable security provider for crypto

2017-11-02 Thread ASF GitHub Bot (JIRA)

 [ 
https://issues.apache.org/jira/browse/ACCUMULO-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ACCUMULO-4733:
-
Labels: pull-request-available  (was: )

> Implement configurable security provider for crypto
> ---
>
> Key: ACCUMULO-4733
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4733
> Project: Accumulo
>  Issue Type: New Feature
>Reporter: Nick Felts
>Assignee: Nick Felts
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 2.0.0
>
>
> Adding the ability to configure which Java security provider to use for 
> crypto.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] PircDef opened a new pull request #318: ACCUMULO-4733 Implement configurable security provider for crypto

2017-11-02 Thread GitBox
PircDef opened a new pull request #318: ACCUMULO-4733 Implement configurable 
security provider for crypto
URL: https://github.com/apache/accumulo/pull/318
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services