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

Sergey Shelukhin commented on HIVE-11527:
-----------------------------------------

No problem. It looks good except for webhdfs url generation; it's probably 
better to use URI class to parse the URI, and if it parses, replace the URI and 
authority. For HA namenode authority doesn't need to be replaced either. 
[~jingzhao] can you comment on how to detect if hdfs URL is HA? We are 
basically trying to make webhdfs URL out of an existing hdfs url. We don't need 
to do anything if it's not HDFS.

> bypass HiveServer2 thrift interface for query results
> -----------------------------------------------------
>
>                 Key: HIVE-11527
>                 URL: https://issues.apache.org/jira/browse/HIVE-11527
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Sergey Shelukhin
>            Assignee: Takanobu Asanuma
>         Attachments: HIVE-11527.WIP.patch
>
>
> Right now, HS2 reads query results and returns them to the caller via its 
> thrift API.
> There should be an option for HS2 to return some pointer to results (an HDFS 
> link?) and for the user to read the results directly off HDFS inside the 
> cluster, or via something like WebHDFS outside the cluster
> Review board link: https://reviews.apache.org/r/40867



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to