<?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 Is the query result redaction  broken in CDH 5.15? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Is-the-query-result-redaction-broken-in-CDH-5-15/m-p/303967#M221811</link>
    <description>&lt;DIV&gt;&lt;P&gt;From this document it seems the query results can be redacted however I don't see the same. Is there a known bug?&lt;BR /&gt;&lt;A href="https://www.hadoopandcloud.com/hadoop/enableconfigure-log-and-query-redaction/" target="_blank" rel="noopener"&gt;https://www.hadoopandcloud.com/hadoop/enableconfigure-log-and-query-redaction/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0: jdbc:hive2://calingita.pheonix.co&amp;gt; select * from pheonix_global.redaction;&lt;BR /&gt;INFO : Compiling command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103): select * from pheonix_global.redaction;&lt;BR /&gt;INFO : Semantic Analysis Completed&lt;BR /&gt;INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:redaction.id, type:int, comment:null), FieldSchema(name:redaction.email, type:string, comment:null)], properties:null)&lt;BR /&gt;INFO : Completed compiling command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103); Time taken: 0.322 seconds&lt;BR /&gt;INFO : Executing command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103): select * from pheonix_global.redaction&lt;BR /&gt;INFO : Completed executing command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103); Time taken: 0.006 seconds&lt;BR /&gt;INFO : OK&lt;BR /&gt;+--------------------+-----------------------+--+&lt;BR /&gt;| redaction.id | redaction.email |&lt;BR /&gt;+--------------------+-----------------------+--+&lt;BR /&gt;| 2 | xyz@liv.in |&lt;BR /&gt;| 1 | xyz@liv.in |&lt;BR /&gt;+--------------------+-----------------------+--+&lt;BR /&gt;2 rows selected (1.075 seconds)&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Oct 2020 14:27:13 GMT</pubDate>
    <dc:creator>saurabh707</dc:creator>
    <dc:date>2020-10-06T14:27:13Z</dc:date>
    <item>
      <title>Is the query result redaction  broken in CDH 5.15?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-the-query-result-redaction-broken-in-CDH-5-15/m-p/303967#M221811</link>
      <description>&lt;DIV&gt;&lt;P&gt;From this document it seems the query results can be redacted however I don't see the same. Is there a known bug?&lt;BR /&gt;&lt;A href="https://www.hadoopandcloud.com/hadoop/enableconfigure-log-and-query-redaction/" target="_blank" rel="noopener"&gt;https://www.hadoopandcloud.com/hadoop/enableconfigure-log-and-query-redaction/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0: jdbc:hive2://calingita.pheonix.co&amp;gt; select * from pheonix_global.redaction;&lt;BR /&gt;INFO : Compiling command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103): select * from pheonix_global.redaction;&lt;BR /&gt;INFO : Semantic Analysis Completed&lt;BR /&gt;INFO : Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:redaction.id, type:int, comment:null), FieldSchema(name:redaction.email, type:string, comment:null)], properties:null)&lt;BR /&gt;INFO : Completed compiling command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103); Time taken: 0.322 seconds&lt;BR /&gt;INFO : Executing command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103): select * from pheonix_global.redaction&lt;BR /&gt;INFO : Completed executing command(queryId=hive_20201005072828_53b14d1f-5f0a-4ce6-894d-debfeade3103); Time taken: 0.006 seconds&lt;BR /&gt;INFO : OK&lt;BR /&gt;+--------------------+-----------------------+--+&lt;BR /&gt;| redaction.id | redaction.email |&lt;BR /&gt;+--------------------+-----------------------+--+&lt;BR /&gt;| 2 | xyz@liv.in |&lt;BR /&gt;| 1 | xyz@liv.in |&lt;BR /&gt;+--------------------+-----------------------+--+&lt;BR /&gt;2 rows selected (1.075 seconds)&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Oct 2020 14:27:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-the-query-result-redaction-broken-in-CDH-5-15/m-p/303967#M221811</guid>
      <dc:creator>saurabh707</dc:creator>
      <dc:date>2020-10-06T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is the query result redaction  broken in CDH 5.15?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-the-query-result-redaction-broken-in-CDH-5-15/m-p/304054#M221856</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82100"&gt;@saurabh707&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are expecting the query results to be redacted which will not happen in CDH. Let me explain you with a simple example.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;0: jdbc:hive2://host-10-17-102-168.coe.cloude&amp;gt; select * from redaction_test where email='tushark@gmail.com';&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;INFO&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;: Completed compiling command(queryId=hive_20201007212727_0b73be29-c01b-4d47-a9f3-fef9cf470e53); Time taken: 0.214 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;INFO&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;: Executing command(queryId=hive_20201007212727_0b73be29-c01b-4d47-a9f3-fef9cf470e53): select * from redaction_test where email='email@redacted.host' ----&amp;gt;Look here, the data is redacted&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;+--------------------+-----------------------+--+&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| redaction_test.id&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;| redaction_test.email&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;+--------------------+-----------------------+--+&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| 1&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;| tushark@gmail.com &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;|---&amp;gt; The results will not be redacted&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;+--------------------+-----------------------+--&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-If you are expecting the results to be redacted, this will not happen in CDH but if you look at the logs, the sensitive data is redacted as pointed above. You can read the below the blog to check the same.&lt;BR /&gt;&lt;A href="https://blog.cloudera.com/new-in-cdh-5-4-sensitive-data-redaction/" target="_blank"&gt;https://blog.cloudera.com/new-in-cdh-5-4-sensitive-data-redaction/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, if you want the results to be redacted, we have CDP coming into picture where you can redact the query results with the help of Ranger. Checkout more on the same:&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/security-how-to-guides/topics/cm-security-redaction.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/security-how-to-guides/topics/cm-security-redaction.html&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 04:34:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-the-query-result-redaction-broken-in-CDH-5-15/m-p/304054#M221856</guid>
      <dc:creator>tusharkathpal</dc:creator>
      <dc:date>2020-10-08T04:34:17Z</dc:date>
    </item>
  </channel>
</rss>

