<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question versioning question in hbase in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234871#M196691</link>
    <description>&lt;P&gt;I can select a particular version from a table , but how can I select a range of versions ?  e.g say I want to select all the rows from timestamp  1551108073557  to  1551108018724 ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;hbase(main):005:0&amp;gt; scan 'PERSON',{NAME =&amp;gt; 'student',VERSIONS =&amp;gt; 5}&lt;BR /&gt;ROW                                                  COLUMN+CELL&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108086986, value=John&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108073557, value=Mary&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108037609, value=Nancy&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108018724, value=Ram&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108002231, value=Sam&lt;BR /&gt;1 row(s) in 0.0190 seconds&lt;/P&gt;&lt;P&gt;hbase(main):006:0&amp;gt;&lt;BR /&gt;hbase(main):007:0*&lt;BR /&gt;hbase(main):008:0* get 'PERSON','r1',{COLUMN =&amp;gt; 'student', TIMESTAMP =&amp;gt; 1551108018724}&lt;BR /&gt;COLUMN                                               CELL&lt;BR /&gt; student:student_name                                timestamp=1551108018724, value=Ram&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 00:05:40 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2019-02-26T00:05:40Z</dc:date>
    <item>
      <title>versioning question in hbase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234871#M196691</link>
      <description>&lt;P&gt;I can select a particular version from a table , but how can I select a range of versions ?  e.g say I want to select all the rows from timestamp  1551108073557  to  1551108018724 ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;hbase(main):005:0&amp;gt; scan 'PERSON',{NAME =&amp;gt; 'student',VERSIONS =&amp;gt; 5}&lt;BR /&gt;ROW                                                  COLUMN+CELL&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108086986, value=John&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108073557, value=Mary&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108037609, value=Nancy&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108018724, value=Ram&lt;BR /&gt; r1                                                  column=student:student_name, timestamp=1551108002231, value=Sam&lt;BR /&gt;1 row(s) in 0.0190 seconds&lt;/P&gt;&lt;P&gt;hbase(main):006:0&amp;gt;&lt;BR /&gt;hbase(main):007:0*&lt;BR /&gt;hbase(main):008:0* get 'PERSON','r1',{COLUMN =&amp;gt; 'student', TIMESTAMP =&amp;gt; 1551108018724}&lt;BR /&gt;COLUMN                                               CELL&lt;BR /&gt; student:student_name                                timestamp=1551108018724, value=Ram&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 00:05:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234871#M196691</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-02-26T00:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: versioning question in hbase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234872#M196692</link>
      <description>&lt;PRE&gt;hbase(main):001:0&amp;gt; help 'scan'
Scan a table; pass table name and optionally a dictionary of scanner
specifications. &amp;nbsp;Scanner specifications may include one or more of:
TIMERANGE, FILTER, LIMIT, STARTROW, STOPROW, ROWPREFIXFILTER, TIMESTAMP,
MAXLENGTH or COLUMNS, CACHE or RAW, VERSIONS, ALL_METRICS or METRICS

...

Some examples:

  ...
&amp;nbsp; hbase&amp;gt; scan 't1', {COLUMNS =&amp;gt; 'c1', TIMERANGE =&amp;gt; [1303668804000, 1303668904000]}&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Feb 2019 00:47:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234872#M196692</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2019-02-26T00:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: versioning question in hbase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234873#M196693</link>
      <description>&lt;P&gt;hi Josh how can I do it via 'get' command ? since we will be using java to get these rows &lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 00:52:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234873#M196693</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-02-26T00:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: versioning question in hbase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234874#M196694</link>
      <description>Use a Scanner. You can't use Gets, as a Get requires you to know a rowKey.</description>
      <pubDate>Tue, 26 Feb 2019 01:01:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234874#M196694</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2019-02-26T01:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: versioning question in hbase</title>
      <link>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234875#M196695</link>
      <description>&lt;P&gt;and can "scan" command be called from a java code ?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 01:05:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/versioning-question-in-hbase/m-p/234875#M196695</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-02-26T01:05:30Z</dc:date>
    </item>
  </channel>
</rss>

