[ 
https://issues.apache.org/jira/browse/YARN-6566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004175#comment-16004175
 ] 

Wilfred Spiegelenburg commented on YARN-6566:
---------------------------------------------

Looking at the feature I think we have two possible problems:
- From a security point I do not think that this is a good idea. The Hive SQL 
query could have sensitive information contained in it. There could be names or 
details in multiple parts of the query that you do not want to expose. This 
feature could thus lead to information disclosure that you can not control.
- Second problem I see here is that the query info could be large which has a 
performance impact. Not just for the UI but also for the state store. Queries 
can be hundreds of kilobytes and that detail would need to be persisted in the 
state store. There have been a number of jiras to implemented and currently 
being worked on to decrease the size of the object that is stored in the state 
store and this would negate a lot of that work.

> add a property for a hadoop job to identified the full hive HQL script text 
> in hadoop web view in multi-users environment
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6566
>                 URL: https://issues.apache.org/jira/browse/YARN-6566
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: client, resourcemanager, webapp, yarn
>    Affects Versions: 2.6.0
>         Environment: centos 6.4 64bit
>            Reporter: liuzhenhua
>              Labels: patch
>             Fix For: 2.6.0
>
>         Attachments: application-page.bmp, applications-page.bmp, 
> YARN-6566.1.patch, YARN-6566.2.patch, YARN-6566.3.patch, YARN-6566.4.patch, 
> YARN-6566.5.patch, YARN-6566.6.patch, YARN-6566.7.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> When I tuning the hive HQL in multi-users environment,I can not get the full 
> SQL text in hadoop web view,so it is difficult to tuning the  SQL.When I try 
> to set the SQL text in hadoop job's jobname property,I realize it is going to 
> damage the structure of hadoop applications web view,so I add a property to 
> hadoop job,which named "jobdescription",When a hive HQL be submitted,the full 
> HQL text was assigned to the property,so i can identified the HQL coveniently 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to