accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlmar...@comcast.net
Subject Re: Typo in Accumulo v1.7 documentation
Date Mon, 30 Nov 2015 21:02:16 GMT
It's not closed either. 


----- Original Message -----

From: "Kent McHenry" <kentmchenry@gmail.com> 
To: dev@accumulo.apache.org 
Sent: Monday, November 30, 2015 3:52:08 PM 
Subject: Typo in Accumulo v1.7 documentation 

Hi, 

I'm not sure how to report a typo in the documentation, but here goes: 

On this page: 
https://accumulo.apache.org/1.7/accumulo_user_manual.html#_batchscanner 

In the following code sample "bscan" is created in the first line, but in 
the ending for loop it is incorrectly referenced by "scan" (without the b): 

ArrayList<Range> ranges = new ArrayList<Range>(); // populate list of 
ranges ... BatchScanner bscan = conn.createBatchScanner("table", auths, 10); 
bscan.setRanges(ranges); bscan.fetchColumnFamily("attributes"); 
for(Entry<Key,Value> 
entry : scan) { System.out.println(entry.getValue()); } 

Cheers, 
Kent 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message