<?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 Re: Combine few hbase shell commands in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149235#M32533</link>
    <description>&lt;P&gt;You can use SingleColumnValueFilter on 'column1'&lt;/P&gt;&lt;P&gt;Meanwhile, specify all the columns you want to retrieve using COLUMNS.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2016 20:22:44 GMT</pubDate>
    <dc:creator>tyu</dc:creator>
    <dc:date>2016-06-21T20:22:44Z</dc:date>
    <item>
      <title>Combine few hbase shell commands</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149234#M32532</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have a hbase table with 4 columns. I want to search for a string in column1 and get the value of column2 from every row, where I get a match. I works with these two codelines&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;scan
'table', { COLUMNS =&amp;gt; 'column1', FILTER =&amp;gt;
"ValueFilter(=, 'substring:value')"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then foreach row:
&lt;STRONG&gt;get 'table', $row, {COLUMNS =&amp;gt; 'column2'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I get the result (e.g. 'value1, value2, value3') by executing only one command?&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;J.H.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 19:03:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149234#M32532</guid>
      <dc:creator>n3_apple</dc:creator>
      <dc:date>2016-06-21T19:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Combine few hbase shell commands</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149235#M32533</link>
      <description>&lt;P&gt;You can use SingleColumnValueFilter on 'column1'&lt;/P&gt;&lt;P&gt;Meanwhile, specify all the columns you want to retrieve using COLUMNS.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 20:22:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149235#M32533</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-21T20:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Combine few hbase shell commands</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149236#M32534</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/532/tyu.html" nodeid="532"&gt;@Ted Yu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help. Maybe you can give me an example how to use it, because I get only errors and the examples which I found are not for the shell.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 20:42:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149236#M32534</guid>
      <dc:creator>n3_apple</dc:creator>
      <dc:date>2016-06-21T20:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Combine few hbase shell commands</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149237#M32535</link>
      <description>&lt;P&gt;Please take a look at hbase-shell//src/test/ruby/hbase/table_test.rb for sample syntax where x is column family: &lt;/P&gt;&lt;P&gt;@test_table._scan_internal(FILTER =&amp;gt; "SingleColumnValueFilter('x', 'a', &amp;gt;=, 'binary:\x82', true, true)", COLUMNS =&amp;gt; 'x:a, x:b'&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:05:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Combine-few-hbase-shell-commands/m-p/149237#M32535</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-21T21:05:21Z</dc:date>
    </item>
  </channel>
</rss>

